Inverse Gaussian regression with a log-link | R Documentation |
Inverse Gaussian regression with a log-link.
invgauss.reg(y, x, tol = 1e-07, maxiters = 100)
y |
The dependent variable, a numerical variable with non negative numbers. |
x |
A matrix or data.frame with the indendent variables. |
tol |
The tolerance value to terminate the Newton-Raphson algorithm. |
maxiters |
The maximum number of iterations that can take place in the regression. |
An inverse Gaussian regression with a log-link is fitted.
A list including:
i |
The number of iterations required by the Newton-Raphson |
loglik |
The log-likelihood value. |
deviance |
The deviance value. |
phi |
The dispersion parameter ( |
be |
The regression coefficients |
Michail Tsagris
R implementation and documentation: Stefanos Fafalios <mtsagris@uoc.gr>
McCullagh, Peter, and John A. Nelder. Generalized linear models. CRC press, USA, 2nd edition, 1989.
Zakariya Yahya Algamal and Intisar Ibrahim Allyas (2017). Prediction of blood lead level in maternal and fetal using generalized linear model. International Journal of Advanced Statistics and Probability, 5(2): 65-69.
invgauss.regs, normlog.reg, score.glms
y <- abs( rnorm(100) )
x <- matrix( rnorm(100 * 2), ncol = 2)
a <- invgauss.reg(y, x)
a
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.