Negative log-likelihood for beta coefficients (negative binomial regression)

nll_max_beta(beta, alpha, y, x, lambda)

Arguments

beta

a p-vector of coefficients

alpha

parameter of negative binomial

y

a n-vector of response

x

a n x p matrix of design

lambda

mean of Poisson censoring process