fit.final.func: Function for the final model

Description Usage Arguments Value

View source: R/Gooogle.R

Description

Obtain the final model according to a given criterion (AIC or BIC).

Usage

1
fit.final.func(fit, crit)

Arguments

fit

The fitted models from grpreg.

crit

The criteria for model selection.

Value

A list of the following objects

coefficients

A list containing coefficients of the count part and zero inflation part.

aic

The AIC for the final model.

bic

The BIC for the final model.

loglik

The loglikelihood for the final model.


himelmallick/Gooogle documentation built on July 24, 2019, 1:52 a.m.