Learn R Programming

cNORM (version 3.3.1)

summary.cnormBetaBinomial2: Summarize a Beta-Binomial Continuous Norming Model

Description

This function provides a summary of a fitted beta-binomial continuous norming model, including model fit statistics, convergence information, and parameter estimates.

Usage

# S3 method for cnormBetaBinomial2
summary(object, ...)

Value

Invisibly returns a list containing detailed diagnostic information about the model. The function primarily produces printed output summarizing the model.

Arguments

object

An object of class "cnormBetaBinomial" or "cnormBetaBinomial2", typically the result of a call to cnorm.betabinomial.

...

Additional arguments passed to the summary method:

  • age An optional numeric vector of age values corresponding to the raw scores. If provided along with raw, additional fit statistics (R-squared, RMSE, bias) will be calculated.

  • score An optional numeric vector of raw scores. Must be provided if age is given.

  • weights An optional numeric vector of weights for each observation.

Details

The summary includes:

  • Basic model information (type, number of observations, number of parameters)

  • Model fit statistics (log-likelihood, AIC, BIC)

  • R-squared, RMSE, and bias (if age and raw scores are provided) in comparison to manifest norm scores

  • Convergence information

  • Parameter estimates with standard errors, z-values, and p-values

See Also

cnorm.betabinomial, diagnostics.betabinomial

Examples

Run this code
if (FALSE) {
model <- cnorm.betabinomial(ppvt$age, ppvt$raw, n = 228)
summary(model)

# Including R-squared, RMSE, and bias in the summary:
summary(model, age = ppvt$age, raw = ppvt$raw)
}

Run the code above in your browser using DataLab