PZ: Zero Count Probability Likelihood

Description Usage Arguments Value Author(s) See Also

View source: R/PZ.R

Description

PZ is used to calculate the likelihood of a zero-value count observation in a single or double-hurdle regression model.

Usage

1
PZ(p, log = T)

Arguments

p

vector of zero-count probabilities.

log

logical operator. If TRUE, probabilities p and q are given as log(p), log(q).

Value

A vector of probabilities.

Author(s)

Taylor Trippe <ttrippe@luc.edu>
Earvin Balderama <ebalderama@luc.edu>

See Also

hurdle


ebalderama/hurdlr documentation built on June 5, 2020, 12:32 a.m.