notes Relational Logit Models

notes Relational Logit Models - Eco 572: Research methods...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Eco 572: Research methods in Demography Relational Logit Models We illustrate fitting Brass's relational logit model using data from the Seychelles. Seychelles, Males, 1971-75 Here's a small dataset with the observed survival function for Seychelles males in 1971-75. We also include Brass's standard for convenience. (Alternatively, the Brass standard is available in five and single-year forms in the datasets section, so you can merge on age, see Brassrlm1 and Brassrlm5 .) . input age lx ls age lx ls 1. 1 .9641 .8499 2. 5 .9409 .7691 3. 10 .9366 .7502 4. 15 .9343 .7362 5. 20 .9227 .7130 6. 25 .9108 .6826 7. 30 .8981 .6525 8. 35 .8843 .6223 9. 40 .8655 .5898 10. 45 .8424 .5534 11. 50 .8045 .5106 12. 55 .7584 .4590 13. 60 .6967 .3965 14. 65 .6028 .3221 15. 70 .4770 .2380 16. 75 .3451 .1521 17. end We generate the Brass logits and plot observed versus standard to see if the relationship is linear . gen yx = 0.5*log( (1-lx)/lx) . gen ys = 0.5*log( (1-ls)/ls) . twoway (scatter yx ys) (lfit yx ys), name(a) ///
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 3

notes Relational Logit Models - Eco 572: Research methods...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online