01.06.2013 Views

Statistical Methods in Medical Research 4ed

Statistical Methods in Medical Research 4ed

Statistical Methods in Medical Research 4ed

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

12.5 Multilevel models 423<br />

s2 F ‡ s2 s2 F s2 F s2 F s2 F<br />

s2 F s2 F ‡ s2 s2 F s2 F s2 F<br />

s2 F s2 F s2 F ‡ s2 s2 F s2 F<br />

s2 F s2 F s2 F s2 F ‡ s2 s2 F<br />

s2 F s2 F s2 F s2 F s2 0<br />

1<br />

B<br />

C<br />

B<br />

C<br />

B<br />

C<br />

B<br />

C<br />

@<br />

A<br />

F ‡ s2<br />

:<br />

If the values of s2 , s2 F were known, then the estimator of the b parameters <strong>in</strong><br />

(12.39) hav<strong>in</strong>g m<strong>in</strong>imum variance would be the usual generalized least squares<br />

estimator (see (11.54)):<br />

^b ˆ…X T V 1 X† 1 X T V 1 y: …12:41†<br />

As s2 , s2 F are unknown, the estimation proceeds iteratively. The first estimates of<br />

b are usually obta<strong>in</strong>ed us<strong>in</strong>g ord<strong>in</strong>ary least squares, that is assum<strong>in</strong>g V is the<br />

identity matrix. An estimate of d can then be obta<strong>in</strong>ed as ^ d ˆ y X ^ b. The<br />

90 90 matrix ^ d^ d T has expectation V and the elements of both these matrices<br />

can be written out as vectors, simply by stack<strong>in</strong>g the columns of the matrices on<br />

top of one another. Suppose the vectors obta<strong>in</strong>ed <strong>in</strong> this way are W and Z,<br />

respectively, then Z can <strong>in</strong> turn be written P s2 kzk, where the zi are vectors of<br />

known constants. In the case of Example 9.6, s2 1 ˆ s2F , s2 2 ˆ s2 and the z vectors<br />

comprise 0s and 1s. A second l<strong>in</strong>ear model can now be fitted us<strong>in</strong>g generalized<br />

least squares with W as the response, the design matrix compris<strong>in</strong>g the z vectors<br />

and the parameter estimates be<strong>in</strong>g the estimates of the variance components<br />

def<strong>in</strong><strong>in</strong>g the random effects <strong>in</strong> the model; further details can be found <strong>in</strong> Appendix<br />

2.1 of Goldste<strong>in</strong> (1995). New estimates of the bs can be obta<strong>in</strong>ed from<br />

(12.41), with V now determ<strong>in</strong>ed by the new estimates of the variance components.<br />

The whole process can then be repeated until there is little change <strong>in</strong><br />

successive parameter estimates. This is essentially the process used by the program<br />

MLwiN (Goldste<strong>in</strong> et al., 1998) and is referred to as iterative generalized<br />

least squares (IGLS).<br />

If the approach outl<strong>in</strong>ed above is followed exactly, then the result<strong>in</strong>g estimates<br />

of the variance components will be biased downwards. This is because <strong>in</strong><br />

the part of the algorithm that estimates the random effects the method uses<br />

estimates of fixed effects as if they were the correct values and takes no account<br />

of their associated uncerta<strong>in</strong>ty. This is essentially the same problem that arises<br />

because a standard deviation must be estimated by comput<strong>in</strong>g deviations about<br />

the sample mean rather than the population mean. In that case, the solution is to<br />

use n 1 <strong>in</strong> the denom<strong>in</strong>ator rather than n. A similar solution, often referred to<br />

as restricted maximum likelihood (see Patterson & Thompson, 1971), can be<br />

applied <strong>in</strong> more general circumstances, such as those encountered <strong>in</strong> multilevel<br />

models, and is then called restricted iterative generalized least squares (RIGLS).<br />

A complementary problem arises from neglect<strong>in</strong>g uncerta<strong>in</strong>ty <strong>in</strong> estimates of<br />

the random effects. Standard theory allows values for the standard errors of the

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

Saved successfully!

Ooh no, something went wrong!