computeNegBinEV: Simulate quantities of interest for negative binomial models

Description Usage Arguments

View source: R/computeNegBinEV.R

Description

This sltools function follows Zelig's simulation method and computes expected and predicted values for negative binomial models fitted to multiply imputed datasets.

Usage

1
2
computeNegBinEV(data = NULL, x = NULL, coef = NULL, vcov = NULL,
  num = NULL, theta = NULL)

Arguments

data

imputed datasets in amelia object

x

a vector of values for predictors

coef

a matrix of coefficients

vcov

a list of variance covariance matrices

num

number of simulations

theta

a vector of theta parameters from each fitted negative binomial model results


stevenliaotw/sltools documentation built on May 20, 2019, 12:31 p.m.