Implementation of the MLE for negative binomial regression with interfered responses: one observes \(\max(y_i,z_i)\), where \(y_i\) is the negative binomial response and \(z_i\) is a Poisson random variable with mean \(\lambda\).

glm_negbin(y, x, lambda, maxit = 50L, epsilon = 1e-07, trace = FALSE)

Arguments

y

response vector

x

design matrix

lambda

mean parameter for Poisson censoring process

maxit

maximum number of iteration

epsilon

tolerance parameter

trace

boolean for printing information