Retrieve norm value for raw score at a specific age
Retrieve norm value for raw score at a specific age
This functions numerically determines the norm score for raw scores depending on the level of the explanatory variable A, e. g. norm scores for raw scores at given ages.
predictNorm( raw, A, model, minNorm =NULL, maxNorm =NULL, force =FALSE, silent =FALSE)
Arguments
raw: The raw value, either single numeric or numeric vector
A: the explanatory variable (e. g. age), either single numeric or numeric vector
model: The regression model or a cnorm object
minNorm: The lower bound of the norm score range
maxNorm: The upper bound of the norm score range
force: Try to resolve missing norm scores in case of inconsistent models
silent: set to TRUE to suppress messages
Returns
The predicted norm score for a raw score, either single value or vector
Examples
# Generate cnorm object from example datacnorm.elfe <- cnorm(raw = elfe$raw, group = elfe$group)# return norm value for raw value 21 for grade 2, month 9specificNormValue <- predictNorm(raw =21, A =2.75, cnorm.elfe)# predicted norm scores for the elfe dataset# predictNorm(elfe$raw, elfe$group, cnorm.elfe)
See Also
Other predict: derivationTable(), getNormCurve(), normTable(), predict.cnormBetaBinomial(), predict.cnormBetaBinomial2(), predictRaw(), rawTable()