pleLMA0.2.2 package

Pseudo-Likelihood Estimation of Log-Multiplicative Association Models

convergence.stats

Computes statistics to assess convergence of the nominal model

convergenceGPCM

Computes statistics to assess convergence for generalized partial cred...

error.check

Checks for basic errors in input to the 'ple.lma' function

fit.gpcm

Fits LMA model where category scale values equal a_im * x_j

fit.independence

Fits the log-linear model of independence

fit.nominal

Fits the nominal model

fit.rasch

Fits an LMA using fixed category scores

FitStack

Up-dates association parameters of the nominal model

fitStackGPCM

Up-dates association parameters of the GPCM by fitting model to stacke...

item.gpcm

Estimates item parameters of LMA with linear restrictions on category ...

ItemData

Prepares data for up-dating scale value parameters of nominal model

ItemGPCM.data

Creates data frame up-dating phi parameters of the gpcm.

ItemLoop

loops through items and up-dates estimates of scale values for each it...

iterationPlot

Plots estimated parameters by iteration for the gpcm and nominal model...

lma.summary

Produces a summary of results

ple.lma

Main function for estimating parameters of LMA models

reScaleItem

Re-scales the category scale values and Phi after convergence of the n...

Scale

Imposes scaling constraint to identify parameters of the LMA (nominal)...

ScaleGPCM

Imposes scaling constraint to identify parameters of LMA (GPCM)

scalingPlot

Graphs estimated scale values by integers of the LMA (nominal) model

set.up

Sets up the data based on input data and model specifications

StackData

Prepares data for up-dating association parameters of a multidimension...

StackDataGPCM

Prepares data for up-dating association parameters of LMA (GPCM) model

theta.estimates

Computes estimates of theta (values on latent trait(s)) for all LMA mo...

Log-multiplicative association models (LMA) are models for cross-classifications of categorical variables where interactions are represented by products of category scale values and an association parameter. Maximum likelihood estimation (MLE) fails for moderate to large numbers of categorical variables. The 'pleLMA' package overcomes this limitation of MLE by using pseudo-likelihood estimation to fit the models to small or large cross-classifications dichotomous or multi-category variables. Originally proposed by Besag (1974, <doi:10.1111/j.2517-6161.1974.tb00999.x>), pseudo-likelihood estimation takes large complex models and breaks it down into smaller ones. Rather than maximizing the likelihood of the joint distribution of all the variables, a pseudo-likelihood function, which is the product likelihoods from conditional distributions, is maximized. LMA models can be derived from a number of different frameworks including (but not limited to) graphical models and uni-dimensional and multi-dimensional item response theory models. More details about the models and estimation can be found in the vignette.

  • Maintainer: Carolyn J. Anderson
  • License: GPL (>= 3)
  • Last published: 2025-07-24