Check.Assum {NormData} | R Documentation |
Check assumptions for a fitted Stage 1 model
Description
Helper function to check the validity of the homoscedasticity and normality assumptions for a fitted Stage 1 model
Usage
Check.Assum(Stage.1.Model)
Arguments
Stage.1.Model |
The fitted |
Details
For details, see Van der Elst (2023).
Value
An object of class Check.Assum
with component,
Assume.Homo.S2 |
Is the homoscedasticity assumption valid? |
Assume.Normality.S2 |
Is the normality assumption valid? |
Author(s)
Wim Van der Elst
References
Van der Elst, W. (2024). Regression-based normative data for psychological assessment: A hands-on approach using R. Springer Nature.
See Also
Examples
data("Substitution")
# Fit a model with a linear mean prediction function
Fit <- Stage.1(Dataset = Substitution, Model = LDST~Age)
Check.Assum(Fit)
# Output shows that the homoscedasticity and normality
# assumptions are both violated
[Package NormData version 1.1 Index]