Description Usage Arguments Value Examples
View source: R/Other.Regression.R
Compute a p+1 by n matrix containing the components of the score function in a Gamma regression of y on the n x p covariate matrix x. The ith column of the output corresponds to the ith data point.
1 | score.gamma.regression(y, x, thetahat, link = "log")
|
y |
the univariate response |
x |
the design matrix |
theta.hat |
MLEs of parameters |
Row 1 of the output is the shape component of the score. Rows 2 to p+1 are the components of the score corresponding to the regression coefficients.
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.