revzinb_fit {evinf}R Documentation

Random draws from a fitted evzinb model

Description

Random draws from a fitted evzinb model

Usage

revzinb_fit(object, newdata = NULL, n_draws = 1)

Arguments

object

A fitted EVZINB object

newdata

Optional newdata

n_draws

Number of random draws to make

Value

A vector of randomly drawn values from the fitted evzinb if n_draws == 1, or a list of length n_draws with random drawn values if n_draws > 1

Examples

data(genevzinb2)
model <- evzinb(y~x1+x2+x3, data=genevzinb2, n_bootstraps = 10, multicore = TRUE, ncores = 2)
revzinb_fit(model)


[Package evinf version 0.8.8 Index]