Learn R Programming

hurdlr (version 0.1)

PT: Typical Count Probability Likelihood

Description

PT is used to calculate the likelihood of a user-defined 'typical' value count observation in a double-hurdle regression model.

Usage

PT(p, q, log = T)

Arguments

p

vector of zero-count probabilities.

q

vector of 'typical' 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