Learn R Programming

⚠️There's a newer version (1.1.3) of this package.Take me there.

ptmixed (version 1.1.2)

Poisson-Tweedie Generalized Linear Mixed Model

Description

Fits the Poisson-Tweedie generalized linear mixed model described in Signorelli et al. (2021, ). Likelihood approximation based on adaptive Gauss Hermite quadrature rule.

Copy Link

Version

Install

install.packages('ptmixed')

Monthly Downloads

176

Version

1.1.2

License

GPL-3

Maintainer

Mirko Signorelli

Last Published

April 1st, 2022

Functions in ptmixed (1.1.2)

ptglm

Poisson-Tweedie generalized linear model
pmf

Probability mass function plot for a discrete variable
ptmixed

Poisson-Tweedie generalized linear mixed model
wald.test

Wald test for regression coefficients
summary.ptglmm

Summarizing Poisson-Tweedie and negative binomial mixed model estimation results
ranef

Compute random effects for Poisson-Tweedie and negative binomial mixed model
simulate_ptglmm

Simulate data from the Poisson-Tweedie generalized linear mixed model
summary.ptglm

Summarizing Poisson-Tweedie and negative binomial GLM estimation results
df1

Example dataset with longitudinal counts
make.spaghetti

Generate a spaghetti plot to visualize longitudinal data
nbglm

Negative binomial generalized linear model
loglik.pt.1re

Loglikelihood of Poisson-Tweedie generalized linear mixed model with random intercept
nbmixed

Negative binomial generalized linear mixed model