- model
a GAMLSS fitted model, for example the result of fb_select().
- data
data.frame. The sample on which the model has been fitted, or new data;
must contain the score variable (with name given in score_name) and age variable
(with name given in age_name).
- age_name
string. Name of the age variable.
- score_name
string. Name of the score variable.
- datarel
data.frame or numeric. If a data.frame, must contain columns age and rel,
with estimated test reliability per age. If numeric, a constant reliability is assumed
for all ages (optional, only needed for confidence intervals).
- normtype
string. Norm score type: "Z" (N(0,1); default), "T" (N(50,10)), or "IQ" (N(100,15)).
- min_age
numeric. Lowest age value in the norm table; default is the first integer
below the minimum observed age.
- max_age
numeric. Highest age value in the norm table; default is the first integer
above the maximum observed age.
- min_score
numeric. Lowest score value in the norm table; default is the minimum
observed score.
- max_score
numeric. Highest score value in the norm table; default is the maximum
observed score.
- step_size_score
numeric. Increment of the scores in the norm table; default is 1.
- step_size_age
numeric. Increment of the ages in the norm table; defaults to
approximately 100 ages in total.
- cont_cor
logical. If TRUE, apply continuity correction for discrete test scores.
Default is FALSE.
- ci_level
numeric. Confidence interval level (if datarel is provided).
Default is 0.95.
- trim
numeric. Trim norm scores at ± trim standard deviations.
Default is 3.
- excel
logical. If TRUE, attempt to write results to an Excel file. Default is FALSE.
- excel_name
character. Path to the Excel file. Defaults to a temporary file.
Ignored if excel = FALSE.
- new_data
logical. If FALSE (default), create a full norm table and norm scores.
If TRUE, only return norm scores for the given data.