scoretest_oi: Score test for one-inflation

Description Usage Arguments Value

Description

Function to calculate the score test statistics for the one-inflation based on zero-truncated one-inflated model and one-inflated zero-truncated model.

Usage

1
scoretest_oi(object, model = c("ztoi", "oizt"))

Arguments

object

an abun_oi object produced by abun_oi with model option being "zt".

model

character specification of zero-truncated one-inflated model ("ztoi", default) or one-inflated zero-truncated model ("oizt").

Value

A number, the score test log-likelihood.


ecnuliuyang/AbunOI documentation built on Feb. 13, 2022, 4:32 p.m.