STA 6127 – Homework #2/3 – Due 2/17/10
1Way ANOVA – Hot Dog Calorie and Sodium Contents
The hot dog data set (
hotdog.txt
)
contains data on n=54 brands of hot dogs, classified by
type
: beef, meat, and poultry. The
calorie
and
sodium
contents are reported for each
brand. The variable
typenum
is a numeric variable representing
type
(1=beef,
2=meat, 3=poultry). You will need to generate dummy variables for types:
beef
, and
meat
.
1)
Fit the oneway ANOVA model, comparing
calorie
contents among the three
types
.
Test for differences among the population means of the three
types
(
α
=0.05).
2)
Obtain multiple comparisons among all three pairs of
types
based on Bonferroni’s
and Tukey’s methods. Which pairs of types are significantly different? Draw a
diagram representing this.
3)
Fit the linear regression model relating
calorie
content to the dummy variables:
beef
and
meat
. Confirm that the Ftest is equivalent to that based on the oneway
ANOVA.
4)
This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
This is the end of the preview.
Sign up
to
access the rest of the document.
 Spring '08
 Mukherjee
 Regression Analysis, linear regression model, Oneway ANOVA model

Click to edit the document details