VP.CP.ZP.un: Fit Variable, Complete, or Zero Persistence Models

VP.CP.ZP.unR Documentation

Fit Variable, Complete, or Zero Persistence Models

Description

Internal R-side student-effects engine called by GPvam. Future-year multipliers are estimated for variable persistence, fixed at one for complete persistence, or fixed at zero for zero persistence. Use GPvam for model fitting.

Usage

VP.CP.ZP.un(Z_mat, fixed_effects, control)

Arguments

Z_mat

Validated data frame with consecutive numeric year indices and year-specific teacher identifiers.

fixed_effects

One-sided formula for the fixed effects.

control

List of fitting controls assembled by GPvam, including iteration limit, tolerance, Hessian method, persistence model, verbosity, estimation method, and the original-to-internal year key.

Value

A list of parameter estimates, predictions, residuals, covariance matrices, and fitting information used to construct a GPvam object.


GPvam documentation built on Oct. 23, 2026, 1:06 a.m.