powered by
This utility computes pseudo-residuals. (Zucchini, 6.2)
ldhmm.pseudo_residuals(object, x, xc.length = 1000)
a vector of normal quantiles
an ldhmm object
numeric, the observations.
a positive integer specifying the length of xc when calculating conditional probabilities, default is 1000.
xc
Stephen H. Lihn
if (FALSE) { sr <- ldhmm.pseudo_residuals(object, x) hist(sr) acf(sr) qqnorm(sr, cex=0.5) L <- seq(-3,3,length.out=100) lines(L,L,col="red",lwd=2, lty=2) }
Run the code above in your browser using DataLab