predictRaw: Predict raw values

View source: R/predict.R

predictRawR Documentation

Predict raw values

Description

Most elementary function to predict raw score based on Location (L, T score), Age (grouping variable) and the coefficients from a regression model.

Usage

predictRaw(norm, age, coefficients, minRaw = -Inf, maxRaw = Inf)

Arguments

norm

The norm score, e. g. a specific T score or a vector of scores

age

The age value or a vector of scores

coefficients

The a cnorm object or the coefficients from the regression model

minRaw

Minimum score for the results; can be used for clipping unrealistic outcomes, usually set to the lower bound of the range of values of the test (default: 0)

maxRaw

Maximum score for the results; can be used for clipping unrealistic outcomes usually set to the upper bound of the range of values of the test

Value

the predicted raw score or a data.frame of scores in case, lists of norm scores or age is used

See Also

Other predict: derivationTable(), getNormCurve(), normTable(), predict.cnormBetaBinomial(), predict.cnormBetaBinomial2(), predictNorm(), rawTable()

Examples

# Prediction of single scores
model <- cnorm(raw = elfe$raw, group = elfe$group)
predictRaw(35, 3.5, model)



cNORM documentation built on Sept. 11, 2024, 8:16 p.m.