plotNorm {cNORM} | R Documentation |
The function plots the manifest norm score against the fitted norm score from the inverse regression model per group. This helps to inspect the precision of the modeling process. The scores should not deviate too far from regression line. The computation of the standard error is based on Oosterhuis, van der Ark and Sijtsma (2016).
plotNorm(data, model, group = "", minNorm = NULL, maxNorm = NULL, type = 0)
data |
The raw data within a data.frame |
model |
The regression model |
group |
The grouping variable, use empty string for no group |
minNorm |
lower bound of fitted norm scores |
maxNorm |
upper bound of fitted norm scores |
type |
Type of display: 0 = plot manifest against fitted values, 1 = plot manifest against difference values |
Oosterhuis, H. E. M., van der Ark, L. A., & Sijtsma, K. (2016). Sample Size Requirements for Traditional and Regression-Based Norms. Assessment, 23(2), 191–202. https://doi.org/10.1177/1073191115580638
# Load example data set, compute model and plot results ## Not run: normData <- prepareData() m <- bestModel(data = normData) plotNorm(normData, m, group="group", minNorm=25, maxNorm=75) ## End(Not run)