Is the number of calories in a beer related to the number of carbohydrates and/or the percentage of alcohol in the beer? The accompanying table has data for 35 beers. The values for three variables are included: the number of calories per 12 ounces, the alcohol percentage, and the number of carbohydrates (in grams) per 12 ounces. Complete parts a through d. Click the icon to view the data table of calories, alcohol percentage, and carbohydrates. a.Perform a multiple linear regression analysis, using calories as the dependent variable and percentage alcohol and number of carbohydrates as the independent variables. Let X, represent alcohol percentage and let X₂ represent the number of carbohydrates. Ỹ = H(Dx+(DX (Round to four decimal places as needed.) b.Add quadratic terms for alcohol percentage and the number of carbohydrates. =+x₁ + x₂ + x² + x²
Is the number of calories in a beer related to the number of carbohydrates and/or the percentage of alcohol in the beer? The accompanying table has data for 35 beers. The values for three variables are included: the number of calories per 12 ounces, the alcohol percentage, and the number of carbohydrates (in grams) per 12 ounces. Complete parts a through d. Click the icon to view the data table of calories, alcohol percentage, and carbohydrates. a.Perform a multiple linear regression analysis, using calories as the dependent variable and percentage alcohol and number of carbohydrates as the independent variables. Let X, represent alcohol percentage and let X₂ represent the number of carbohydrates. Ỹ = H(Dx+(DX (Round to four decimal places as needed.) b.Add quadratic terms for alcohol percentage and the number of carbohydrates. =+x₁ + x₂ + x² + x²
MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
Related questions
Question
100%
Calories Alcohol% Carbohydrates
218 6.5 19.7
70 0.4 13.3
192 6.0 13.1
55 2.4 1.9
215 7.5 19.8
64 2.8 2.4
220 8.0 14.6
114 3.8 8.3
222 8.1 16.0
110 3.9 8.3
94 4.1 2.6
95 4.1 2.6
95 4.1 3.2
103 4.1 5.0
103 4.1 5.5
110 4.1 7
124 4.1 9.7
222 8.1 16.0
110 4.1 7.4
269 8.7 18.6
105 4.2 5.7
330 9.6 32.1
95 4.2 3.2
292 10.5 15.0
96 4.2 3.2
314 10.5 18.9
174 6.1 11.1
179 6.4 10.6
181 6.5 10.6
188 6.5 12.7
200 6.6 17
215 6.7 19.3
214 6.8 19.4
231 6.9 20
200 7.0 18

Transcribed Image Text:Is the number of calories in a beer related to the number of carbohydrates and/or the percentage of alcohol in the beer?
The accompanying table has data for 35 beers. The values for three variables are included: the number of calories per
12 ounces, the alcohol percentage, and the number of carbohydrates (in grams) per 12 ounces. Complete parts a
through d.
Click the icon to view the data table of calories, alcohol percentage, and carbohydrates.
a.Perform a multiple linear regression analysis, using calories as the dependent variable and percentage alcohol and
number of carbohydrates as the independent variables.
Let X, represent alcohol percentage and let X₂ represent the number of carbohydrates.
Ỹ =
H(Dx+(DX
(Round to four decimal places as needed.)
b.Add quadratic terms for alcohol percentage and the number of carbohydrates.
ŷ=+*₁ + x₂ + x² + x²

Transcribed Image Text:Calculate the test statistics.
=
The test statistic for the alcohol quadratic term, P3, is tSTAT
The test statistic for the carbohydrate quadratic term, B4, is tSTAT
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 4 steps with 10 images

Recommended textbooks for you

MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc

Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning

Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning

MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc

Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning

Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning

Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON

The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman

Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman