apply.local.ml: Fit LLLMs

Description Usage Arguments Details Value Author(s)

View source: R/local_ml.R

Description

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

Usage

1
2
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

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).

Value

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

Author(s)

Zach Kurtz


lllcrc documentation built on May 2, 2019, 3:34 p.m.