Giter Site home page Giter Site logo

alexpiehler / gamlss_vs_mgcv_simulation Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 1.23 MB

This is the repository for a simulation study in which the performance of the R packages gamlss and mgcv are compared for location-scale modeling with zero-inflated Poisson data

TeX 100.00%

gamlss_vs_mgcv_simulation's Introduction

Code for the simulation study: gamlss vs. mgcv with zero-inflated Poisson data

This is the repository for a simulation study in which the performance of the R packages gamlss (Rigby et al. 2005) and mgcv (Wood et al. 2016) are compared for location-scale modeling with zero-inflated Poisson data. In particular the algorithms, which estimate the smoothing parameters of the spline-functions, are compared. This simulation study extends the work of Wood et al. (2016) by not only modeling the rate of the zero-inflated Poisson distribution through non-linear functions of covariates but by also explicitly modeling the probability of zero-inflation through non-linear functions of covariates.

It is found that the algorithm for estimating smoothing parameters in the packaged mgcv outperforms the algorithm gamlss in speed and convergence rate. While the algorithm in the gamlss package is less stable, especially for low mean and highly dispersed count data, it on average yields comparable results to the algorithm in the mgcv package.

All results are reproducible and the R-code can be found in simulation_study.Rmd.


Rigby, R. A. & Stasinopoulos, D. M. (2005), Generalized additive models for location, scale and shape, Journal of the Royal Statistical Society 54(3), 507-554.

Wood, S. N., Pya, N. & Säfken, B. (2016), Smoothing parameter and model selection for general smooth models, Journal of the American Statistical Association 111(516), 1548{1563.

gamlss_vs_mgcv_simulation's People

Contributors

alexpiehler avatar

Stargazers

Julian Rodemann avatar

Watchers

 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.