<html><head><meta http-equiv="content-type" content="text/html; charset=us-ascii"><style>body { line-height: 1.5; }body { font-size: 10.5pt; font-family: 'Segoe UI'; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>
<div><span></span>Dear all,</div><div><br></div><div>I am fairly new in using R. I want to use the highfrequency package to calculate the spot volatility and its periodic component.</div><div>But the spotvol function seems doesn't work. Can anyone help?</div><div><br></div><div><span style="font-family: "" segoe="" ui'";="" font-size:="" 14px;="" color:="" rgb(0,="" 0,="" 0);="" background-color:="" rgba(0,="" font-weight:="" normal;="" font-style:="" normal;text-decoration:="" none;'="">library("highfrequency")</span></div><div>load("1mindata.RData")</div><div><br></div><div><span style="font-family: "" segoe="" ui'";="" font-size:="" 14px;="" color:="" rgb(0,="" 0,="" 0);="" background-color:="" rgba(0,="" font-weight:="" normal;="" font-style:="" normal;text-decoration:="" none;'="">vol1 <- spotvol(aaa1min, on="minutes",k=1, marketclose = "15:00:00")</span></div>
<div><br></div>Thank you very much in advanced.
<div>Sincerely.</div><div>Chaowen</div></body></html>