predictNorm {cNORM}R Documentation

Retrieve norm value for raw score at a specific age

Description

This functions numericaly 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.

Usage

predictNorm(
  raw,
  A,
  model,
  minNorm = NULL,
  maxNorm = NULL,
  force = FALSE,
  covariate = NULL
)

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

covariate

In case, a covariate has been used, please specify the degree of the covariate / the specific value here.

Value

The predicted norm score for a raw score, either single value or vector

See Also

Other predict: derivationTable(), getNormCurve(), normTable(), predictRaw(), rawTable()

Examples

# Generate cnorm object from example data
cnorm.elfe <- cnorm(raw = elfe$raw, group = elfe$group)

# return norm value for raw value 21 for grade 2, month 9
specificNormValue <- predictNorm(raw = 21, A = 2.75, cnorm.elfe)

# predicted norm scores for the elfe dataset
# predictNorm(elfe$raw, elfe$group, cnorm.elfe)


[Package cNORM version 2.1.0 Index]