Learn R Programming

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

mpcmp (version 0.3.5)

Mean-Parametrized Conway-Maxwell Poisson (COM-Poisson) Regression

Description

A collection of functions for estimation, testing and diagnostic checking for the mean-parametrized Conway-Maxwell-Poisson (COM-Poisson) regression model of Huang (2017) .

Copy Link

Version

Install

install.packages('mpcmp')

Monthly Downloads

8

Version

0.3.5

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Thomas Fung

Last Published

October 19th, 2020

Functions in mpcmp (0.3.5)

PIT_Plot

PIT Plots for a CMP Object
attendance

Attendance data set
CBIND

Combine R Objects by Columns
augment.cmp

Augment data with information from a(n) CMP model object
Z

Calculate the Normalizing Constant for COM-Poisson distribution
AIC.cmp

Akaike's Information Criterion
COM_Poisson_Distribution

The Conway-Maxwell-Poisson (COM-Poisson) Distribution.
PIT_ggPlot

ggplot version of PIT Plots for a CMP Object
cmplrtest

Likelihood Ratio Test for nested COM-Poisson models
coef.cmp

Extract Model Coefficients from a COM-Poisson Model Fit
confint.cmp

Confidence Intervals for CMP Model Parameters
comp_lambdas

Solve for Lambda for a Particular Mean Parametrized COM-Poisson Distribution
comp_mu_loglik

Calculate the Log-Likelihood of the COM-Poisson model
LRTnu

Likelihood Ratio Test for nu = 1 of a COM-Poisson model
gg_plot

Plot Diagnostic for a glm.cmp Object in ggplot
getnu

Parameter Generator for nu
comp_expected_values

Functions to Compute Various Expected Values for the COM-Poisson Distribution
residuals.cmp

Extract COM-Poisson Model Residuals
regression.diagnostic.cmp

CMP Regression Diagnostic
predict.cmp

Model Predictions for a glm.cmp Object
is.wholenumber

Test for a whole number
logLik.cmp

Extract the (Maximized) Log-Likelihood from a COM-Poisson Model Fit
cottonbolls

Cotton Bolls data set
print.cmp

Print Values of COM-Poisson Model
glm.cmp

Fit a Mean Parametrized Conway-Maxwell Poisson Generalized Linear Model
glance.cmp

Glance at a(n) CMP model object
nrPIT

Non-randomized Probability Integral Transform
fitted.cmp

Extract Fitted Values from a COM-Poisson Model Fit
model.matrix.cmp

Extract the Design Matrix from a COM-Poisson Model Fit
reexports

Objects exported from other packages
rPIT

Random Normal Probability Integral Transform
plot.cmp

Plot Diagnostic for a glm.cmp Object
fit_glm_cmp_vary_nu

Fit a Mean Parametrized Conway-Maxwell Poisson Generalized Linear Model with varying dispersion.
model.frame.cmp

Extract the Model Frame from a COM-Poisson Model Fit
sitophilus

Sitophilus data set
mpcmp-package

Mean-parametrized Conway-Maxwell Poisson Regression
takeoverbids

Takeover Bids data set
tidy.cmp

Tidy a(n) CMP model object
summary.cmp

Summarizing COM-Poisson Model Fit
logZ_c

Calculate the Normalizing Constant in log scale for COM-Poisson distribution The calculation of the function logZ will be performed here. This function is used to approximate the normalizing constant for COM-Poisson distributions via truncation. The standard COM-Poisson parametrization is being used here.
fit_glm_cmp_const_nu

Fit a Mean Parametrized Conway-Maxwell Poisson Generalized Linear Model with constant dispersion.
fish

Fish data set
logZ

Calculate the Normalizing Constant in log scale for COM-Poisson distribution
nobs.cmp

Extract the Number of Observation from a COM-Poisson Model Fit
update.cmp

Update and Re-fit a COM-Poisson Model
vcov.cmp

Extracting the Variance-Covariance Matrix from a COM-Poisson Model Fit