derivationTable {cNORM} | R Documentation |
In order to check model assumptions, a table of the first order derivative of the model coefficients is created.
derivationTable(A, model, minNorm = NULL, maxNorm = NULL, step = 0.1)
A |
the age |
model |
The regression model |
minNorm |
The lower bound of the norm value range |
maxNorm |
The upper bound of the norm value range |
step |
Stepping parameter with lower values indicating higher precision |
data.frame with norm scores and the predicted scores based on the derived regression function
plotDerivative, derive
normData <- prepareData() m <- bestModel(data = normData) d <- derivationTable(6, m, step = 0.5)