Question

In: Statistics and Probability

McDonald's Nutrition Data We have information on nutritional content of sandwiches and similar items at McDonald’s:...

McDonald's Nutrition Data

We have information on nutritional content of sandwiches and similar items at McDonald’s: Calories, grams of carbohydrates, milligrams of salt, and meat or non-meat item.

a. Create a dummy variable, Meat, for meat items.

b. Run a regression of Calories on Carbs, Salt and Meat. Write down the estimated regression.

c. Carry out a t-test for the coefficient on Meat. Interpret the results in the context of the problem.

d. Interpret the coefficient on Meat in the context of the problem.

Calories Carbs Salt Item
110 12 0.5123 Non-Meat
140 33 0 Non-Meat
170 10 6.7742 Meat
230 22 10.2597 Non-Meat
230 56 0 Non-Meat
240 23 6 Non-Meat
290 25 7.6136 Non-Meat
300 35 9.6512 Meat
320 30 4.3089 Meat
320 40 5.0549 Non-Meat
340 52 4.1593 Non-Meat
360 46 5.8974 Non-Meat
370 31 5.5147 Non-Meat
390 46 3.9286 Non-Meat
440 51 6.5741 Non-Meat
440 79 0.8564 Non-Meat
450 37 4.5946 Meat
480 30 3.3721 Meat
500 26 6.6667 Meat
500 95 1.0353 Non-Meat
500 95 0.8235 Non-Meat
510 35 9.084 Meat
550 52 4.3023 Meat
570 32 5.1777 Meat
610 32 5.7073 Meat
650 38 8.4656 Meat
680 53 3.3813 Meat
710 67 4.5627 Meat
780 55 4.5875 Meat
920 53 2.8895 Meat
1020 55 3.8624 Meat

  

Solutions

Expert Solution

1)

Calories Carbs Salt Item Meat
110 12 0.5123 Non-Meat 0
140 33 0 Non-Meat 0
170 10 6.7742 Meat 1
230 22 10.2597 Non-Meat 0
230 56 0 Non-Meat 0
240 23 6 Non-Meat 0
290 25 7.6136 Non-Meat 0
300 35 9.6512 Meat 1
320 30 4.3089 Meat 1
320 40 5.0549 Non-Meat 0
340 52 4.1593 Non-Meat 0
360 46 5.8974 Non-Meat 0
370 31 5.5147 Non-Meat 0
390 46 3.9286 Non-Meat 0
440 51 6.5741 Non-Meat 0
440 79 0.8564 Non-Meat 0
450 37 4.5946 Meat 1
480 30 3.3721 Meat 1
500 26 6.6667 Meat 1
500 95 1.0353 Non-Meat 0
500 95 0.8235 Non-Meat 0
510 35 9.084 Meat 1
550 52 4.3023 Meat 1
570 32 5.1777 Meat 1
610 32 5.7073 Meat 1
650 38 8.4656 Meat 1
680 53 3.3813 Meat 1
710 67 4.5627 Meat 1
780 55 4.5875 Meat 1
920 53 2.8895 Meat 1
1020 55 3.8624 Meat 1

b)

Coefficients Standard Error t Stat P-value Lower 95% Upper 95% Lower 95.0% Upper 95.0%
Intercept 2.797382 100.0743 0.027953 0.977905 -202.538 208.1329 -202.538 208.1329
Carbs 6.28991 1.404727 4.477673 0.000124 3.407647 9.172173 3.407647 9.172173
Salt 7.167511 10.79579 0.663917 0.512373 -14.9836 29.31864 -14.9836 29.31864
Meat 282.7091 51.56453 5.482626 8.35E-06 176.9074 388.5107 176.9074 388.5107

y = 2.797382 + 6.28991 x1 + 7.167511 x2 +282.7091 x3

c)

Ho:   ß = 0                  
Ha:   ß ╪ 0                  
                      
n =   31                  
alpha,α =    0.05                  
estimated slope=   282.7090598                  
std error =    51.56453084                  
                      
t-test statistic =    t = estimated slope / std error =   282.7090598   /   51.56453084   =   5.483
                      
Df =    n - 2 =   29              
p-value =    0.0000   [excel function: =t.dist.2t(t-stat,df) ]

d)


decision:   p value < α , so, reject the null hypothesis                  
                      
Hence Meal Coefficient cannot be ignored.

  

Please revert back in case of any doubt.

Please upvote. Thanks in advance.


Related Solutions

Nutritional assessment of the nutrition process, based on data derived from the interview with Kathy and...
Nutritional assessment of the nutrition process, based on data derived from the interview with Kathy and Samantha's doctor's records. Samantha is a healthy eight-month-old newborn who lives with her mother Kathy, her father, and her older sister, who is almost three years old. Both parents currently work full-time, so they take girls to day care around the clock. Kathy breastfed Samantha before returning to work and booked a contribution of frozen breast milk. Now he breastfeeds her twice a day,...
You have $60 to spend on food. You are interested in the nutritional content of the...
You have $60 to spend on food. You are interested in the nutritional content of the food, but you cannot purchase carbs and proteins separately. You can buy steak and loaves of bread. You have the following price and nutrition information: Steak costs $6 a pound and one pound has 12 grams of protein and 6 grams of carbs. Loaves of bread cost $5 a pound and one pound has 5 grams of protein and 15 grams of carbs. (a)...
The dataset starbucks in the open intro package contains nutritional information on 77 Starbucks food items....
The dataset starbucks in the open intro package contains nutritional information on 77 Starbucks food items. Spend some time reading the help file of this dataset. For this problem, you will explore the relationship between the calories and carbohydrate grams in these items. Please complete in R Studio showing all steps. Create a scatterplot of this data with calories on the x-axis and carbohydrate grams on the y-axis, and describe the relationship you see. In the scatterplot you made, what...
The data on the left contains nutrition information on the number of Calories and grams of...
The data on the left contains nutrition information on the number of Calories and grams of carbohydrates for 58 sandwiches and similar items on McDonald's menu. 1:) A. Run a regression of Calories (y-variable) on Carbs (x-variable). Be sure to include the scatterplot with the least squares line. B. Interpret the slope of the regression in the context of the problem. C. Interpret the R-square in the context of the problem. D. Predict the number of calories for an item...
We have a lot of data and information. If you want to forecast something, find data...
We have a lot of data and information. If you want to forecast something, find data for it from the library. Let us call this data Dependent variable . Also find data for variables,( let us call them Independent Variables) that influence dependent variables. Your task is to find data for one dependent variable and more than one independent variables. The independent variables must be related to the dependent variable. Using your data,  run the regression on Excel and comment...
We have a cylinder and piston similar to the one in the figure. The diameter of...
We have a cylinder and piston similar to the one in the figure. The diameter of the piston is 3.50 cm. The distance from the bottom of the cylinder to the piston is 12.6 cm. The cylinder is filled with an ideal diatomic gas at room temperature (23.8∘C23.8∘C) and room pressure (1.00 atm). (a) If we push down on the piston with a force equal to 119 lb, how far can we move the piston? Consider the compression to be...
the excel file cereal data provides a variety of nutritional information about 67 cereals and their...
the excel file cereal data provides a variety of nutritional information about 67 cereals and their shelf location. Use regression analysis to find the best model that explains the relationship between calories and the other variables. Investigat the model assumptions and clearly explain your conclusion. Keep in mind the principle of parsimony! DATA: Cereal Data Product Cereal Name Manufacturer Calories Sodium Fiber Carbs Sugars 1 100% Bran Nabisco 70 130 10 5 6 2 AlI-Bran Kellogg 70 260 9 7...
- Imagine each of the following items is a piece of information and we want to...
- Imagine each of the following items is a piece of information and we want to define a variable in Python to keep the value of these items in the memory of the computer. For instance, in order to represent a person age, we can define a variable like the following variable and initialize it with a sample value: age = 23, the type is integer - For each of the following items, define a variable and initialize it with...
Throughout this course, we have tried to emphasize the importance of meeting our nutritional needs through...
Throughout this course, we have tried to emphasize the importance of meeting our nutritional needs through healthy food choices. This question asks you to put your knowledge to work and show what you know about our requirements for protein.    a. John is a healthy 6 ft., 200 lb male, whose recommended caloric intake is 2000 calories a day. He is in a sedentary job, but goes to a personal trainer twice a week. The trainer has recommended that he...
Now that we have seen Euler in action, let's return to examining the content of the...
Now that we have seen Euler in action, let's return to examining the content of the M-File Euler.m. We have already explained the first line, where we defined the parameters our function takes. To see the meaning behind the third and fourth lines, type: >> x = zeros(10,1); y = zeros(10,1); [x,y] Thus we can see that the third and fourth lines of our M-File zero out the contents of our arrays x and y before we begin. Now, you'll...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT