ks.rnorte | R Documentation |
Performed a normality test of the model residuals agains a randon normal sample with as many data as the length of the residuals, mean zero and standar deviation equals to that of the residuals
ks.rnorte(M, quantiles=TRUE)
M |
M, a linear or glm model. |
quantiles |
quantiles, logical weather the test is based on quentiles rathern that raw data, defualt is TRUE. |
Returs the ks.test. No significant effect means that residuals behave as a normal variable
Guevara, R., roger.guevara@inecol.mx
Rohlf, F. (1981). Biometry the principles and practice of statistics in biological research. Zar, J. H. (1999). Biostatistical analysis. Pearson Education India.
x <- c(1,3,5,7,9, 11)
y<- c(3.3, 5.8, 10, 12, 16, 17.8)
M <- lm(y~x)
ks.rnorte(M)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.