Use the data given in Table 7.9 on Fertilizers and Pesticides for this
problem. Enter the data in Excel and create a csv file. Use the insheet
command and create a new file in STATA. Use the gen command and
create an interaction term called x which equals Fertilizer*pesticide. Use
STATA and conduct an ANOVA using all the three factors: Fertilizer,
Pesticide, and x. Are you able to reject H0 in any of the cases? Use the
pwmean command and generate the Tukey’s test results.
The Table below provides the overall caloric index of 36 children from their
daily consumption habits. The children are selected from families that have different
levels of income and maternal education. The information is provided as
a 2 × 2 classification. A Random sample of four children is selected for each of
the three income levels (High, Middle, Low), and for three levels of maternal
education (High, Middle, and Low). Each entry corresponds to the caloric index
of the child based on the child’s nutritional intake during a specific time-period.
Use the information in the above Table and with the help of STATA’s command,
generate an ANOVA table and conduct F-tests for the presence of nonzero
income effects, education effects, and interaction effects.