Learn R Programming

hurdlr (version 0.1)

PZ: 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.

See Also

hurdle