Question: PLEASE WRITE A CODE AND PASTE IT HERE. THANK YOU!!! Module 2, Week 2, gretl problem set 4 Use gretl and the dataset Maternal and
PLEASE WRITE A CODE AND PASTE IT HERE. THANK YOU!!!
Module 2, Week 2, gretl problem set 4
Use gretl and the dataset "Maternal and Infant Health Survey 2002" to answer the following questions.
1. Test the hypothesis that mean birthweight is different from 7 lbs.
2. Test the hypothesis that mean birthweight is less than 6.5 lbs.
3. Test the hypothesis that the proportion of female babies is different from 0.50.
4. Create a new variable named "smoke" that equals 0 if the mother did not smoke any cigarettes during pregnancy and equals 1 if the mother smoked at least one cigarette during pregnancy.Test the hypothesis that mean birthweight differs between smokers and non-smokers.
5. Test the hypothesis that the variables "gender" and "induced" are related (i.e. not independent).
6. Test the hypothesis that mean birthweight differs across mother's race.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
