calc.marg.prob {randomLCA}R Documentation

Calculates Marginal Outcome Probabilities

Description

Calculates the marginal outcome probabilities for a random effects latent class model, by integrating the outcome probability over the random effect. This is performed using Gauss-Hermite quadrature with the number of quadrature points specified for the model fitting.

Usage

calc.marg.prob(object)

Arguments

object randomLCA object

Value

Returns a data frame containing class, block, outcome, outcomep (outcome probability).

Author(s)

Ken Beath


[Package randomLCA version 0.6-2 Index]