Download A User`s Guide to MLwiN
Transcript
48 CHAPTER 4. The plot shows, as might be expected, a positive correlation where pupils with higher intake scores tend to have higher outcome scores. We can fit a simple linear regression to this relationship: • Select the Equations menu item from the Model menu • Click the Notation button • In the Notation window, clear the box beside general • Click Done Now set up the model: • Click on y in the Equations window • In the Y variable window, select y: normexam • Select N levels: 1-i • Select level 1(i): student • Click Done • In the Equations window, click on the Add term button • From the Specify term window’s variable drop-down list, select standlrt • Click Done • Click the Estimates button The Equations window now looks like this: