nb.loglik.regression.gradient | R Documentation |
This function computes the gradient of the log-likelihood of a NB regression model given a vector of counts.
nb.loglik.regression.gradient(
alpha,
Y,
A.mu = matrix(nrow = length(Y), ncol = 0),
C.theta = matrix(0, nrow = length(Y), ncol = 1)
)
alpha |
the vectors of parameters a.mu concatenated |
Y |
the vector of counts |
A.mu |
matrix of the model (see Details, default=empty) |
C.theta |
matrix of the model (see Details, default=zero) |
The regression model is described in
nb.loglik.regression
.
The gradient of the log-likelihood.
nb.loglik.regression
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.