normTable {cNORM} | R Documentation |
This function generates a norm table for a specific age based on the regression model by assigning raw scores to norm scores. Please specify the range of norm scores, you want to cover. A T value of 25 corresponds to a percentile of .6. As a consequence, specifying a rang of T = 25 to T = 75 would cover 98.4 the population. Please be careful when extrapolating vertically (at the lower and upper end of the age specific distribution). Depending on the size of your standardization sample, extreme values with T < 20 or T > 80 might lead to inconsistent results.
normTable(A, model, minNorm = NULL, maxNorm = NULL, minRaw = NULL, maxRaw = NULL, step = NULL, covariate = NULL)
A |
the age as single value or a vector of age values |
model |
The regression model |
minNorm |
The lower bound of the norm score range |
maxNorm |
The upper bound of the norm score range |
minRaw |
clipping parameter for the lower bound of raw scores |
maxRaw |
clipping parameter for the upper bound of raw scores |
step |
Stepping parameter with lower values indicating higher precision |
covariate |
In case, a covariate has been used, please specify the degree of the covariate / the specific value here. |
either data.frame with norm scores, predicted raw scores and percentiles in case of simple A value or a list #' of norm tables if vector of A values was provided
rawTable
normData <- prepareData() m <- bestModel(data = normData) # create single norm table norms <- normTable(3.5, m, minNorm = 25, maxNorm = 75, step = 0.5) # create list of norm tables norms <- normTable(c(2.5, 3.5, 4.5), m, minNorm = 25, maxNorm = 75, step = 1, minRaw = 0, maxRaw = 26 )