generate_one_each_a_b_k: Generates one sample for each triplet of (a, b) with a fixed...

Description Usage Arguments Details Value Examples

View source: R/zero_gen.R

Description

Generates one sample for each pair of (a,b) with a fixed k under the abk parametrization.

Usage

1

Arguments

A

A vector of parameter as.

B

A vector of parameter bs, of equal length as A.

k

A positive number, the k parameter.

Details

Draws one example from the 1-d Hurdle with parameters A[i], B[i], k for each i.

Value

A vector of the same size as log_odds.

Examples

1
generate_one_each_a_b_k(-3:3, 0:6/10, 1)

sqyu/ZiDAG documentation built on Jan. 19, 2021, 4:11 p.m.