Nothing
Auto.VR <-
function(y)
{
coe <- AR1(y)$ALPHA
T <- length(y)
lq <- ABEL1Q(T,coe)
vrsum <- 1
for (i in 1:(T-1))
{
sum1 <- sum(y[1:(T-i)] * y[(1+i):T])
sum1 <- sum1/(sum(y^2))
vrsum <- vrsum + 2*kfunc(i/lq)*sum1
}
vr <- sqrt(T/lq)*(vrsum - 1)/sqrt(2)
return(list(stat=vr,sum=vrsum))
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.