hurdle: Loglikelihood adjustments for pscl::hurdle fits

Description Details Supported families Examples

Description

NOTE: Hurdle models are currently not supported.

Details

Adjust the loglikelihood and the standard errors of a fitted pscl::hurdle() model.

Note that the pscl::hurdle() model has to be run with the option x = TRUE in order for the adjustment to execute properly. The functions residuals.chantrics() and fitted.chantrics() are currently disabled for hurdle models. Additionally, sequential anova.chantrics() are not available.

Supported families

Within each family, any link function should work.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# hurdle model from AER, pg. 139-140
library(pscl)
data("RecreationDemand", package = "AER")
rd_hurdle <- hurdle(trips ~ . | quality + income,
  data = RecreationDemand,
  dist = "negbin", x = TRUE
)
summary(rd_hurdle)

# adjust model
# adj_loglik(rd_hurdle)

chantrics documentation built on Sept. 29, 2021, 9:08 a.m.