PZ {hurdlr}R Documentation

Zero Count Probability Likelihood

Description

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

Usage

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


[Package hurdlr version 0.1 Index]