Code Monkey home page Code Monkey logo

nem's Introduction

nEM

This repository refers to the paper Durante, D., Canale, A. and Rigon, T. (2017). A nested expectation-maximization algorithm for latent class models with covariates [arXiv:1705.03864], where we propose a novel nested EM for improved maximum likelihood estimation of latent class models with covariates. The proposed nested EM relies on a sequence of conditional expectation-maximizations which leverage the recently developed Pòlya-gamma data augmentation for logistic regression to obtain simple and exact M-steps via generalized least squares. As we discuss in the paper, differently from current algorithms for latent class models with covariates, the proposed nested EM provides a monotone log-likelihood sequence, and allows improvements in maximization performance, according to empirical studies.

Source code

The file LCA-Covariates-Algorithms.R contains the source functions for the implementation of the proposed nested EM (and an hybrid version of the nested EM), along with additional algorithms routinely considered in the estimation of latent class models with covariates. The source functions in LCA-Covariates-Algorithms.R require the R libraries poLCA, dummies and nnet.

Empirical performance assessments

As we show in Section 3.1 of the paper Durante, D., Canale, A. and Rigon, T. (2017). A nested expectation-maximization algorithm for latent class models with covariates [arXiv:1705.03864], the nested EM provides substantial improvements in maximization performance, compared to current algorithms. The analyses in Section 3.1 can be reproduced using the tutorial file Election-Data-Tutorial.md which considers the analysis of the election dataset from the R library poLCA, discussed in Section 3.1.

nem's People

Contributors

danieledurante avatar

Watchers

Tommaso Rigon avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.