local.ml: Maximum likelihood estimation for fixed LLLMs

Description Usage Arguments Details Author(s) References

View source: R/local_ml.R

Description

A workhorse function for apply.local.ml. For a fixed log-linear model, get best fit using maximum local likelihood estimation.

Usage

1
local.ml(pdat, ml.meth = NULL, predictors = NULL, k)

Arguments

pdat

A design matrix with cell counts (possibly fractional) included in the column named "c".

ml.meth

A model specification such as "indep" or "indep.mono".

predictors

A character vector of predictors of the form "c1", "c2" for main effects, or "c12" for an interaction.

k

Number of lists.

Details

Specify exactly one of the two arguments predictors, ml.meth

Author(s)

Zach Kurtz

References

Fienberg SE (1972). "The Multiple Recapture Census for Closed Populations and Incomplete $2^k$ Contingency Tables." Biometrika, 59(3), pp. 591.

Cormack RM (1989). "Log-linear models for capture-recapture." Biometrics, pp. 395-413.


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