Learn R Programming

lllcrc (version 1.2)

apply.local.ml: Fit LLLMs

Description

Fit a previously selected log-linear model at each covariate vector.

Usage

apply.local.ml(dens, ml.meth = NULL, predictors = NULL, design.style = "standard")

Arguments

dens
Same as ydens in apply.ic.fit.
ml.meth
A model specification, in case predictors is NOT specified. Options include "indep" and "indep.mono".
predictors
A character vector of predictors of the form "c1", "c2" for main effects, or "c12" for an interaction.
design.style
The kind of model design; Rasch or not Rasch

Value

A vector of estimated rates of missingness corresponding to each point.

Details

This function is closely related to apply.ic.fit, with the difference being that the user supplies the log-linear model to be applied locally (instead of using an information criterion to select a potentially different model at each point).