ANOVA Test

Objective:

The correlation between food environment and health outcomes is tested in three different parts. The second test allow us to identify any statistical difference between the three types of fast food density county. The problem of the t-test is that it cannot effectively test more than two treatment conditions. The ANOVA test can minimize the Type I Error (without inflating the Type I Error) when more than two treatment condtions are needed to be tested.

  • High Ratio Counties: Population per Fast Food Restaurant Ratio less than 500
  • Mid Ratio Counties: Population per Fast Food Restaurant Ratio less than 1500 and greater than 500
  • Low Ratio Counties: Population per Fast Food Restaurant Ratio less than 2000 and greater than 1500
High, Mid, and Low Ratio County Pie Chart

Test for Obesity Rate:

Null Hypothesis: Obesity rate mean in the three treatment conditions are the same.

Alternative Hypothesis: At least one of the three treatment conditions has a different obesity rate mean.

Alpha = 5%

Test for Diabetes Rate:

Null Hypothesis: Diabetes rate mean in the three treatment conditions are the same.

Alternative Hypothesis: At least one of the three treatment conditions has a different diabetes rate mean.

Alpha = 5%

Results:
Test On F-statistic p-value
Obesity Rate 2.1654 0.1149
Diabetes Rate 3.6826 0.0253**

Conclusion:

We do not find any statistical evidence that suggests higher obesity rate is found to be different in the three treatment conditions at 5% signficant level. However, we do reject the null hypothesis in the diabetes rate test, which suggest that at least one of the treatment conditions is found to has a different diabetes rate mean at 5% signficant level. Unfortunately, in the ANOVA test setting, we can only found a very weak evident suggest the food enviroment is correlate to the health outcomes.