Use the data in FERTIL2.RAW to answer this question.
(i) Find the smallest and largest values of children in the sample. What is the average of children? Does any woman have exactly the average number of children?
(ii) What percentage of women have electricity in the home?
(iii) Compute the average of children for those without electricity and do the same for those with electricity. Comment on what you find. Test whether the population means are the same using a simple regression.
(iv) From part (iii), can you infer that having electricity "causes" women to have fewer children? Explain.
(v) Estimate a multiple regression model of the kind reported in equation (7.37), but add age2, urban, and the three religious affiliation dummies. How does the esti- mated effect of having electricity compare with that in part (iii)? Is it still statisti- cally significant?
(vi) To the equation in part (v), add an interaction between electric and educ. Is its co- efficient statistically significant? What happens to the coefficient on electric?
(vii) The median and mode value for educ is 7. In the equation from part (vi), use the centered interaction term electric • (educ -
7) in place of electric • educ. What happens to the coefficient on electric compared with part (vi)? Why? How does the coefficient on electric compare with that in part (v)?