ks.rnorte: Kolmogrov-Smirnov model's Residuals Normality Test

ks.rnorteR Documentation

Kolmogrov-Smirnov model's Residuals Normality Test

Description

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

Usage

ks.rnorte(M, quantiles=TRUE)

Arguments

M

M, a linear or glm model.

quantiles

quantiles, logical weather the test is based on quentiles rathern that raw data, defualt is TRUE.

Value

Returs the ks.test. No significant effect means that residuals behave as a normal variable

Author(s)

Guevara, R., roger.guevara@inecol.mx

References

Rohlf, F. (1981). Biometry the principles and practice of statistics in biological research. Zar, J. H. (1999). Biostatistical analysis. Pearson Education India.

Examples


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)

inecolr documentation built on June 8, 2025, 11:26 a.m.

Related to ks.rnorte in inecolr...