View source: R/ldhmm-pseudo_residuals.R
ldhmm.pseudo_residuals | R Documentation |
This utility computes pseudo-residuals. (Zucchini, 6.2)
ldhmm.pseudo_residuals(object, x, xc.length = 1000)
object |
an ldhmm object |
x |
numeric, the observations. |
xc.length |
a positive integer specifying the length of |
a vector of normal quantiles
Stephen H. Lihn
## Not run:
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)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.