INTRODUCTION TO STATISTICAL MODELLING IN R
INTRODUCTION TO STATISTICAL MODELLING IN R
INTRODUCTION TO STATISTICAL MODELLING IN R
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
P.M.E.Altham, University of Cambridge 4745-64.Key to data framey= Frequency of observationclass71= social class in 1971; this is a factor with levels ‘I’, professionals, ‘II’ semiprofessionals,‘II<strong>IN</strong>’ skilled non-manual, ‘IIIM’ skilled manual, ‘IV’ semi-skilled, ‘V’unskilledclass81= social class in 1981; also a factor, same levels as for 1971.The source for these data was D. Blane and S. Harding and M. Rosato (1999) “Doessocial mobility affect the size of the socioeconomic mortality differential?: Evidencefrom the Office for National Statistics Longitudinal Study” JRSS-A, 162 59-70.Here is the dataframe ‘cmob’.y class71 class811 1759 I I2 553 I II3 141 I II<strong>IN</strong>4 130 I IIIM5 22 I IV6 2 I V7 541 II I8 6901 II II9 861 II II<strong>IN</strong>10 824 II IIIM11 367 II IV12 60 II V13 248 II<strong>IN</strong> I14 1238 II<strong>IN</strong> II15 2562 II<strong>IN</strong> II<strong>IN</strong>16 346 II<strong>IN</strong> IIIM17 308 II<strong>IN</strong> IV18 56 II<strong>IN</strong> V19 293 IIIM I20 1409 IIIM II21 527 IIIM II<strong>IN</strong>22 12054 IIIM IIIM23 1678 IIIM IV24 586 IIIM V25 132 IV I26 419 IV II27 461 IV II<strong>IN</strong>28 1779 IV IIIM29 3565 IV IV30 461 IV V31 37 V I32 53 V II33 88 V II<strong>IN</strong>34 582 V IIIM