Reconsider the wine quality data in Table E3.4. The "Region" predictor refers to three distinct geographical regions where the wine was produced. Note that this is a categorical variable.
a. Fit the model using the "Region" variable as it is given in Table E3.4. What potential difficulties could be introduced by including this variable in the regression model using the three levels shown in Table E3.4?
b. An alternative way to include the categorical variable "Region" would be to introduce two indicator variables x1and x2as follows:
Region
X1
X2
1
0
2
3
Why is this approach better than just using the codes 1, 2, and 3?
c. Rework Exercise 3.7 using the indicator variables defined in part b for "Region."
TABLE E3.4 Wine Quality Datau (Found in Minitab)
Clarity,
Aroma,
Body,
Flavor,
Oakiness.
Quality.
X3
x4
X5
y
3.3
2.8
3.1
4.1
9.8
4.4
4.9
3.5
3.9
12.6
5.3
4.8
4.7
11.9
2.6
3.6
11.1
5.6
5.1
5.5
13.3
4.6
5
12.8
4.5
4.3
5.2
12
2.9
13.6
13.9
14.4
0.5
5.4
12.3
0.8
5.9
5.7
7
16.1
0.7
7.7
6.6
6.7
3.7
7.1
5.8
15.5
0.9
6.3
13.8
11.3
3.4
7.9
6.4
15.1
3.8
13.5
10.8
4
9.5
6
12.7
11.6
11.7
8.5
10.7
4.2
9.1
12.1
6.8
14.9
12.2
10.3
13.2
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here