Alternative Approaches to Mixed Linear Models

Alternative Approaches to Mixed Linear Models

Alternative Approaches to Mixed Linear Models George W. Pasdirtz, Hazleton Laboratories The inclusion of fixed effects and random effects arrive at the computer laboratory, the variance associated (independent variables not under sampling control) in the with each operator is an uncontrolled component of the linear model require special SAS· procedures (pROC study's overall variance. There may then be a general V ARCOMP or PROC MIXED) to estimate the variances component of variance associated with these particular of the random components. When these procedures are males and females and a specific component of variation inconvenient or inappropriate for a particular application, associated with their use of a particular computer. alternative techniques are available. This paper presents a small-scale simulation study investigating the properties There are a number of diff'lCult problems associated with of two alternative approaches. the estimation of variance components: Introduction • Hand calculation is required when using PROC GLM 10 compute method-of-moments variance estimates. • The more elegant maximum likelihood (ML) techniques The treatment of random components in ordinary least can produce estimates which are outside the parameter squares (OLS) is one of the "messy· problems (Milliken space (e.g., negative variances), are biased downwards in and Johnson, 1984) in data analysis. A first step in small samples, and can take excessive computing confronting mixed-model issues is an understanding of the times. sampling plan: • None of the techniques have good properties in unbalanced designs. • If the values of a classification factor are under experimental control or include all possible levels of Milliken and Johnson (1984, Chapters 18-23) and the population, the factor is afued effect. Schwarz (1993) document the standard tactical difficulties • If the values of a classification factor result from a of using mixed-model computer algorithms. There may be random process which is not under experimental a number of additional strategic problems. control, the factor is a random effect. In an applied research setting it is never clear whether The messiness is a result of added sources of variation equal variances exist, even within fixed factors. For introduced by the random components. The added variance example, it may be that one of the computing machines can obscure the fixed effects unless it is removed from the is more sophisticated and thus produces greater operator error term of the model. variability. Levene (1960) developed a test statistic for homogeneity of variance that was generalized by Draper A standard example is an industrial experiment in which and Hunter (1969). 11Ie Levene statistic estimates the different classes of computing machines are being tested variance of each independent variable using the absolute with different operators. The determination of whether values of the residuals from the initial model fit. machines and/or operators are random or fixed effects Although the Levene test is not asymptotically depends on the sampling plan and on the inference space distribution free (Miller, 1968), a Monte Carlo study 10 which the results are being projected (McLean, Sanders, conducted by Brown and Forsythe (1974) indicated that and Stroup, 1991). If comparisons are restricted to the with at least ten observations per cell. asymptotic computing machines of only two manufacturers and if normality is not a problem. Furthermore, increasing differences in manufacturing process are ignored, then the percentages of trimming (from ten to firty percent, which machines chosen are a fixed factor. If the results are to be is the median) convert the Levene estimate into a very generalized 10 all computing machines that have similar robust test. characteristics and the particular machines were only chosen for convenience, the variance introduced by the After the results of a robust Levene test are available, how specific machines needs to be controlled in order 10 make do we make use of the information? The mixed-model the wider inference. literature assumes that a variance component estimation should take place even without a prior test of A similar analysis of the sampling plan for operators homogeneity. However, Freedman and Peters (1984) argue yields a more complicated picture. Assume that each that complicated estimators of variance may be of little operator can be classified by observable physical value in small samples and may be worse than no characteristics. If a random sample is drawn from the estimate at all. For example, a number of textbook data population of all operators with those characteristics (say sets used to illustrate variance component· estimation male and female), operators are a fixed effect. If operators contain under twenty observations with as few as two are not sampled but rather assigned to machines as they observations per cell. Proceedings of MWSUG '94 Statistics and Data Visualization 273 is conventionally assumed to be zero, but is not This paper investigates two simple estimators that can be guaranteed to be zero by the OLS estimation itself. applied to mixed-model problems: The SAS code to generate data for a 2 x 3 design with 'k • The Levene estimate of variance followed by Weighted replications per cell is: Least Squares (WLS). • The simple average of OLS coefficients across do rep = 1 to 'k; replications. do op = 1 to 3; do machine = 1 to 2; Both estimators assume that the variance of each y = 'mu + (machine-I) * 'b * 'sigma independent variable is open to question, possibly for + op * &9 * 'sigma * rannor(O) different reasons. If no statistical differences in variances + &sigma * rannor(O) were detected using the Levene test, then an unweighted output; OLS estimate could be used regardless of the sampling end; end; end; plan. Notice that there are two random number streams and that, A small-scale Monte Carlo study was conducted to in this case, there is no interaction between operators and investigate: machines. Notice also that each effect is scaled by &b and &s relative to &sigma. The scaling assumption will • Asymptotic bias (the convergence of parameter prove useful later in describing the WLS model. With estimates as a function of increasing sample size). minor modifications. this code was used in the Monte • Misspecification (the effect of erroneously applying a Carlo study presented below. WLS estimate to an equal-variance problem). The full design matrix for one replication with main The SAS code necessary to apply each estimator in effects and interactions is: ,. practice is included. " F, " F, " The Mixed Model ',. 110100100000 If, " 110010010000 R, In the standard two-way linear model: " 'h. 1 1 0 0 0 1 0 0 I 0 0 0 If, + " Yiji =p+aj +Pj + rjj+ejjl 101100000100 FR" " 2 0 0 0 0 0 1 0 = PHlj + Pj + rij + NID(O,cr ) I 0 I I 0 FR. " I 0 I 0 0 I 0 0 0 0 0 1 FR,. " P is the grand mean. a j and Pj are fixed effects. rjj is FIf. '. the interaction term, and eijk is the error term such that FR. ". the Yjji are distributed independently and identically FIf. ". normal with zero mean and common variance, 2 N1D(O, cr ). The fixed machine effect (F) has two levels, the random operator effect (R) has three levels and the interaction In the two-way mixed model: (FR) has six levels. Yiji = p+ a i + Pj + rij + eijl 2 Variance Estimation = Il + aj + NID(O,cr;)+ rij + NID(O,cr ) 2 =Il + aj + Pj + NID(O.cr~)+ N1D(O.cr ) In matrix terms, the linear model is: y=Xb+e Il is the grand mean, aj is the fixed effect. Pj is the random effect, rij is the interaction term, and eijk is the where X is the n Xm design matrix. The usual OLS 2 error term distributed NID(O, cr ). The distributions of assumptions are: the random components are also NID with variances 1 2 depending on whether variance is introduced by the E(e) = 0, V(e)=lcr , and e-NID(O,lcr ) random factor, the random factor in combination with the fixed factor (e.g., different operator variances for each To test the homogeneity-of-variance assumption, Levene's machine), or both. The mean of each random component test reestimates the model: 274 Statistics and Data Visualization Proceedings of MWSUG '94 A disadvantage of the full WLS estimator is the n x n dimension of V and P. Laird and Ware (1982) have suggested an estimated weighted least squates (EWLS) using the absolute values of the residuals. The estimated procedure in which V is formed by iterative estimation of: coefficients, c, are a robust estimate of the relative standard deviation associated with each column of the design matrix. The advantage of using lei is that the b = (tXiV-IX;)-I(tXiV-Iy;) ,-I .=1 distribution of e2 can be matkedly skewed (Carroll and Ruppert, 1988). l ' V=k- I I:(YI- X/b)(YI- X,";) The estimated standard deviation of each observation is: 1=1 where the dimension of V is now k x k and there ate k lei = Xc replications of the basic design matrix. Lindstrom and where lei is an n x I vector of estimated standatd Bates (1988) have compared EWLS to the standard ML deviations with the estimation error in u removed. estimators and found that convergence is slow. A natural extension of EWLS would be to apply the Levene weights to the estimate of V. Carroll and Ruppert (1988) Weighted Least Squares suggest that as few as two iterations would then be needed for convergence. Weighted Least Squates (Draper and Smith, 1981: 108- 116) drops the homogeneity of variance assumption for a Gumpertz and Pantula (1989) have studied a further simplification: full n Xn variance-covariance matrix, V, where: l E(e)=O, V(e)=Vc:r, and e-NlD(O,Vc:r) b=k-lI,bj 1=1 If the covariances are V becomes: 0, the mean of the individual regression coefficients across replications (BBAR).

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    6 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us