Question
This is the data sheet(copy it to your browser): https://docs.google.com/spreadsheets/d/1YioQFV8jk_fzF4_jNndOsvtpgmd1kH3tCoMmG14aTlU/edit?usp=sharing Answer only question 2 Please Many of us may have a sweet tooth. Suppose you
This is the data sheet(copy it to your browser): https://docs.google.com/spreadsheets/d/1YioQFV8jk_fzF4_jNndOsvtpgmd1kH3tCoMmG14aTlU/edit?usp=sharing
Answer only question 2 Please
- Many of us may have a sweet tooth. Suppose you enjoy candy every now and then, but you want to be careful to not overdue it on the calories. You go into a store and pick out a candy bar. You notice that the calories are not listed on the package. But, there are other variables listed for the candy bar like fat, carbs, sugar etc. Posted with this homework is a data set called CandyBars.jmp. The data set contains 75 different candies along with many variables on each type. Your goal is to find the variable that is most strongly related to calories.
(a) We will begin by looking at scatterplots of Calories versus a few variables. Use the data set and JMP to produce a scatterplot of Calories versus Total fat, Carbohydrate, Sugars, and Protein. Copy and paste your graphic to turn in with this homework. See the JMP guide for this section if you need any help with the commands. Note: Put Calories in first, then the other variables of interest. This way you only have to look at the top row.
(b) Find the scatterplot for Calories and Sugars. Interpret the scatterplot.
(c) Find the scatterplot for Calories and Total fat. Interpret the scatterplot.
(d) Based on all the scatterplots, which variable appears to have the strongest relationship with Calories? Why?
(e) Using the correlation values, what variable has the strongest correlation with Calories? What variable has the weakest correlation with Calories? What are the values of each correlation? Strongest variable: Correlation value: Weakest variable: Correlation value: 1 Linear Regression
2. Now that we have found a variable with a strong linear relationship with Calories, we want to build a regression model that can ultimately allow us to predict the unknown calories of the candy bar in the beginning of this homework.
(a) Use JMP to get output for a regression using Total fat to predict the response variable Calories. Be sure to include a residual plot. Copy and paste and turn in the output with this homework. See the JMP guide for this section if you need any help with the commands.
(b) Report the regression equation.
(c) Interpret the slope value in the context of the problem. Note: The units for Total fat are grams.
(d) Interpret the intercept value in the context of the problem. Does the intercept interpretation make sense in context?
(e) A favorite of mine, Peanut Butter Twix has 16 grams of Total fat and 260 Calories. What is the residual value for this candy bar?
(f) Report and interpret the R2 value in context
(g) Suppose the original candy bar with calories missing in the beginning of the homework has a Total fat of 13 grams. Predict the amount of calories.
(h) Using the residual plot, is a linear model appropriate for investigating the relationship between Total fat and Calories in candy? Explain.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started