14.03.2014 Views

Modeling and Multivariate Methods - SAS

Modeling and Multivariate Methods - SAS

Modeling and Multivariate Methods - SAS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 12 Fitting Dispersion Effects with the Loglinear Variance Model 305<br />

Overview of the Loglinear Variance Model<br />

Overview of the Loglinear Variance Model<br />

The loglinear-variance model (Harvey 1976, Cook <strong>and</strong> Weisberg 1983, Aitken 1987, Carroll <strong>and</strong> Ruppert<br />

1988) provides a way to model the variance simply through a linear model. In addition to having regressor<br />

terms to model the mean response, there are regressor terms in a linear model to model the log of the<br />

variance:<br />

mean model: E(y) = Xβ<br />

variance model: log(Variance(y)) = Z λ,<br />

or equivalently<br />

Variance(y) = exp(Z λ)<br />

where the columns of X are the regressors for the mean of the response, <strong>and</strong> the columns of Z are the<br />

regressors for the variance of the response. The regular linear model parameters are represented by β, <strong>and</strong> λ<br />

represents the parameters of the variance model.<br />

Log-linear variance models are estimated using REML.<br />

A dispersion or log-variance effect can model changes in the variance of the response. This is implemented in<br />

the Fit Model platform by a fitting personality called the Loglinear Variance personality.<br />

Model Specification<br />

Notes<br />

Log-linear variance effects are specified in the Fit Model dialog by highlighting them <strong>and</strong> selecting<br />

LogVariance Effect from the Attributes drop-down menu. &LogVariance appears at the end of the effect.<br />

When you use this attribute, it also changes the fitting Personality at the top to LogLinear Variance. If you<br />

want an effect to be used for both the mean <strong>and</strong> variance of the response, then you must specify it twice,<br />

once with the LogVariance option.<br />

The effects you specify with the log-variance attribute become the effects that generate the Z’s in the model,<br />

<strong>and</strong> the other effects become the X’s in the model.<br />

Every time another parameter is estimated for the mean model, at least one more observation is needed, <strong>and</strong><br />

preferably more. But with variance parameters, several more observations for each variance parameter are<br />

needed to obtain reasonable estimates. It takes more data to estimate variances than it does means.<br />

The log-linear variance model is a very flexible way to fit dispersion effects, <strong>and</strong> the method deserves much<br />

more attention than it has received so far in the literature.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!