Nothing
durbinH <- function (model,Ly.label="ar1") {
d <- car::durbinWatsonTest(as.vector(resid(model)))
n <- length(fitted(model)) -length(coef(model))+ 1
v <- diag(vcov(model))[Ly.label]
durbinH <- as.numeric((1 - d/2) * sqrt(n/(1 - n * v)))
return(list(Durbin.h=durbinH,pvalue=(1-pnorm(abs(durbinH)))*2))
}
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.