McDonald's Nutritional Facts
McDonald's is a very popular fast food chain that bring in millions of customers across the world, however, many people are unaware of the lack of nutritional value that the food contains. There has been a lot of documentaries done on the correlation between McDonald's and obesity so we wanted to do our own data. We compared some of the most popular foods consumed and figure out which were the best options in terms of nutritional value. We found the complete list of nutrition facts on the McDonald's company website and inserted the data into a spreadsheet which was then transferred and analyzed in RStudio.
1. Create a labeled scatter plot for Vitamin A vs. Vitamin C. Include a best fit line.
2. Are there any outliers?
3. What is the average amount of Vitamin A? Vitamin C?
4.What is the residual for your first observed value for the model of Vitamin A vs. Vitamin C?
5. What can you conclude about Vitamin A and Vitamin C content from this plot?
6. Create a labeled scatter plot for Serving size vs. Calories.
7. What is the correlation between x and y? 0.51
8. What is the median calories? 290
9. What is the median serving? 100
10. What is the average amount of calories? 290
11. Create a labeled histogram for Total Fat.
12. Is the data skewed right, left, or symmetric?
13. What is the average total fat?
14. What is the median total fat?
15. What can you conclude about the data from this graph?
2. Are there any outliers?
3. What is the average amount of Vitamin A? Vitamin C?
4.What is the residual for your first observed value for the model of Vitamin A vs. Vitamin C?
5. What can you conclude about Vitamin A and Vitamin C content from this plot?
6. Create a labeled scatter plot for Serving size vs. Calories.
7. What is the correlation between x and y? 0.51
8. What is the median calories? 290
9. What is the median serving? 100
10. What is the average amount of calories? 290
11. Create a labeled histogram for Total Fat.
12. Is the data skewed right, left, or symmetric?
13. What is the average total fat?
14. What is the median total fat?
15. What can you conclude about the data from this graph?
Answers
1. See graph to left
2. Yes, there is one outlier.
3. 7.32 and 2.47
4. -2.68
5. The food on the menu contains more Vitamin A than Vitamin C
2. Yes, there is one outlier.
3. 7.32 and 2.47
4. -2.68
5. The food on the menu contains more Vitamin A than Vitamin C
6. See graph to left
7. 0.51
8. 290
9. 100
10. 290
7. 0.51
8. 290
9. 100
10. 290
11. See graph to left
12. Skewed right
13. 16.66 grams
14. 12 grams
15. Most food on the menu is low in total fat however it could still be unbalanced leading to the excessive correlation between obesity and those who eat McDonald's.
12. Skewed right
13. 16.66 grams
14. 12 grams
15. Most food on the menu is low in total fat however it could still be unbalanced leading to the excessive correlation between obesity and those who eat McDonald's.