/ Home |
S-Archive | Download Script |
remlscore | REML scoring for heteroscedastic regression |
y | numeric vector of responses. | |
X | design matrix for predicting the mean. | |
Z | design matrix for predicting the variance. |
trace | Logical variable. If true then output diagnostic information at each iteration. | |
tol | Convergence tolerance. | |
maxit | Maximum number of iterations allowed. |
beta | Vector of regression coefficients for predicting the mean. | |
se.beta | Standard errors for beta. | |
gamma | Vector of regression coefficients for predicting the variance. | |
se.gam | Standard errors for gamma. | |
mu | Estimated means. | |
phi | Estimated variances. | |
dev | Minus twice the REML log-likelihood. | |
h | Leverages. |
mi = xiTbeta, log(si) = ziTgam,
where xi and zi are vectors of covariates, and beta and gam are vectors of regression coefficients affecting the mean and variance respectively.
Parameters are estimated by maximizing the REML likelihood using REML scoring as described in Smyth (2000).
S-Archive | Download Script |
Gordon Smyth. Copyright © 1996-2016. Last modified: 10 February 2004