ZeroTest: Zero-Inflation test for GLMM

View source: R/gof_functions.R

ZeroTestR Documentation

Zero-Inflation test for GLMM

Description

Zero-Inflation test for GLMM

Usage

ZeroTest(x)

Arguments

x

An object of class GOF generated by GOF_check function.

Details

The function prints the count of zeros in the sample and the simulated P-value.

Value

A vector with the zero count and the P-value.

See Also

GOF_check()

Examples


# Poisson model. Repeatability setting.
iccpois<-icc_counts(EPP,y="Social",id="id")
iccpois.gof<-GOF_check(iccpois)
ZeroTest(iccpois.gof)
# Zero-inflated Poisson model. Repeatability setting
icczip<-icc_counts(EPP,y="Social",id="id",fam="zip")
icczip.gof<-GOF_check(icczip)
ZeroTest(icczip.gof)


iccCounts documentation built on June 9, 2022, 5:06 p.m.