About this Resource

Allowing the gradient of the line to be different in each country (Model 4) (page 4/5)

  1. Click on the cent_age variable in the equations window.
  2. Tick the box that is marked j(ctry_id) we are now allowing each estimated line to have its own country-specific slope and intercept.

    MLwiN screenshot 1

    Our estimated model is:

    MLwiN screenshot 2

    MLwiN screenshot 3

    We notice that both the variance of the slopes and the covariance of the slopes are estimated to be zero. There is no evidence that the gradient of the slope varies from country to country with respect to age in this sub sample of the ESS.

    Hence we go back to the random intercepts only model (Model 3) by clicking on cent_age and choosing these options:

    MLwiN screenshot 4

The University of Manchester; Mimas; ESRC; RDI

Countries and Citizens: Unit 5 Multilevel modelling using macro and micro data by Mark Tranmer, Cathie Marsh Centre for Census and Survey Research is licensed under a Creative Commons Attribution-Non-Commercial-Share Alike 2.0 UK: England & Wales Licence.