Package: catregs 0.2.1

catregs: Post-Estimation Functions for Generalized Linear Mixed Models

Several functions for working with mixed effects regression models for limited dependent variables. The functions facilitate post-estimation of model predictions or margins, and comparisons between model predictions for assessing or probing moderation. Additional helper functions facilitate model comparisons and implements simulation-based inference for model predictions of alternative-specific outcome models. See also, Melamed and Doan (2024, ISBN: 978-1032509518).

Authors:David Melamed [aut, cre]

catregs_0.2.1.tar.gz
catregs_0.2.1.zip(r-4.5)catregs_0.2.1.zip(r-4.4)catregs_0.2.1.zip(r-4.3)
catregs_0.2.1.tgz(r-4.4-any)catregs_0.2.1.tgz(r-4.3-any)
catregs_0.2.1.tar.gz(r-4.5-noble)catregs_0.2.1.tar.gz(r-4.4-noble)
catregs_0.2.1.tgz(r-4.4-emscripten)catregs_0.2.1.tgz(r-4.3-emscripten)
catregs.pdf |catregs.html
catregs/json (API)

# Install 'catregs' in R:
install.packages('catregs', repos = c('https://dmmelamed.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/dmmelamed/catregs/issues

Datasets:
  • LF06art - Data to replicate Long and Freese's
  • LF06travel - Travel time example data for alternative-specific outcomes.
  • Mize19AH - Add-Health Data analzed in Mize
  • Mize19GSS - General Social Survey Data analzed in Mize
  • ess - A subset of data from the European Social Survey
  • essUK - A subset of data from the European Social Survey
  • gss2016 - Data from the 2016 General Social Survey.
  • logan - Replication data for Logan's (1983) application of conditional logistic regression to mobility processes.
  • wagepan - Data to illustrate mixed effects regression models with serial correlation.

On CRAN:

3.40 score 28 scripts 187 downloads 10 exports 0 dependencies

Last updated 5 months agofrom:9a904007d2. Checks:ERROR: 1 WARNING: 6. Indexed: yes.

TargetResultDate
Doc / VignettesFAILNov 06 2024
R-4.5-winWARNINGNov 06 2024
R-4.5-linuxWARNINGNov 06 2024
R-4.4-winWARNINGNov 06 2024
R-4.4-macWARNINGNov 06 2024
R-4.3-winWARNINGNov 06 2024
R-4.3-macWARNINGNov 06 2024

Exports:compare.marginscount.fitdiagnfirst.diff.fittedlist.coefmargins.datmargins.dat.clogitmargins.desrubins.rulesecond.diff.fitted

Dependencies:

Readme and manuals

Help Manual

Help pageTopics
Compares two marginal effects (MEMs or AMEs). Estimate of uncertainty is from a simulated draw from a normal distribution.compare.margins
Fits four different count models and compares them.count.fit
Computes diagnostics for generalized linear models.diagn
A subset of data from the European Social Surveyess
A subset of data from the European Social SurveyessUK
Computes the first difference in fitted values, or a series of first differences. Inference in supported via the delta method or bootstrapping.first.diff.fitted
Data from the 2016 General Social Survey.gss2016
Data to replicate Long and Freese's (2006) count models (pp354-414)LF06art
Travel time example data for alternative-specific outcomes.LF06travel
Transform glm and mixed model objects into model summaries that include coefficients, standard errors, exponentiated coefficients, confidence intervals and percent change.list.coef
Replication data for Logan's (1983) application of conditional logistic regression to mobility processes.logan
Add model predictions, standard errors and confidence intervals to a design matrix for a model object.margins.dat
Computes predicted probabilities for conditional and rank-order/exploded logistic regression models. Inference is based upon simulation techniques (requires the MASS package). Alternatively, bootstrapping is an option for conditional logistic regression models.margins.dat.clogit
Creates a design matrix of idealized data for illustrating model predictions.margins.des
Add-Health Data analzed in Mize (2019)Mize19AH
General Social Survey Data analzed in Mize (2019)Mize19GSS
Aggregate Standard Errors using Rubin's Rule.rubins.rule
Computes the second difference in fitted values. Inference in supported via the delta method or bootstrapping.second.diff.fitted
Data to illustrate mixed effects regression models with serial correlation.wagepan