nltv <-
function(gam = 0.5)
{
# Gets asy var for lts(h) and lta(h) at standard normal
# where h/n -> gam.
k <- qnorm(0.5 + gam/2)
den <- gam - 2 * k * dnorm(k)
ltsv <- 1/den
tem <- (1 - exp( - (k^2)/2))^2
ltav <- (2 * pi * gam)/(4 * tem)
return(ltsv, ltav)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.