Learn R Programming

countfitteR (version 1.4)

summary_fitlist: Summary of estimates

Description

Counts are fitted to model(s) using the count name as the explanatory variable. Estimates are presented in the table below along with the BIC values of their models. Estimated coefficients of models (lambda for all distributions, theta for NB and ZINB, r for ZIP and ZINB).

Usage

summary_fitlist(fitlist)

Arguments

fitlist

a list of fits, as created by fit_counts.

Value

Data frame with summarised results of all distribution models.

  • Count: the name of the original count.

  • lambda: \(\lambda\) - Poisson mean, lower and upper confidence intervals.

  • BIC: Bayesian information criterion

  • theta: \(\theta\) - dispersion parameter

  • r: probability of excess zeros.

See Also

fit_counts

Examples

Run this code
# NOT RUN {
df <- data.frame(poisson = rpois(25, 0.3), binomial = rbinom(25, 1, 0.8))
fc <- fit_counts(df, model = "all") 
summary_fitlist(fc) 
# }

Run the code above in your browser using DataLab