Professional Documents
Culture Documents
Adela A110290011 Final Report Template
Adela A110290011 Final Report Template
Abstract
This study employs exploratory data analysis methods to examine the calories in
every Starbucks food item. Through statistical analysis and data visualization from the
OpenIntro.org website, A data frame with 77 observations on the following 7 variables
was collected information, through this data Analysis helps consumers who need to
control calorie intake or pay attention to health and nutrition can better understand the
calorie content of Starbucks products and choose low-calorie foods, and consumers can
use these data to track their eating habits and formulate health plans.
Introduction
The Starbucks dataset was obtained from the "OpenIntro Statistics" website and with
77 observations on the following 7 variables, to gain insights from the data, descriptive
statistics were calculated, and visualizations were created. These descriptive statistics
provide a summary of each variable, such as calories, fat, Protein, Carbohydrate, Fiber,
and type, and I choose the two most important variables, one is the type and the other
is calories. Moreover, various visualizations, including a histogram for the calorie
variable, a bar chart for the type of variable, box plot for the type and calories of the
variable.
Results
Table 1 shows that the higher calories are all bakery, and Figure one shows that the
bakery has more calories than bistro box, hot breakfast, parfait, petite, salad, and
sandwich, and the bakery of Starbucks product options It provides the most calories,
the second is petite, the third is bistro box and hot breakfast. Figure three and Figure
four show the percent of the calories from variable types on 77 observations.
"8-Grain
Roll" 350 8 67 5 10 bakery
Item calories fat carb fiber protein type
"Apple
Bran
Muffin" 350 9 64 7 6 bakery
"Apple
Fritter" 420 20 59 0 5 bakery
"Banana
Nut Loaf" 490 19 75 4 7 Bakery
"Birthday
Cake Mini
Doughnut" 130 6 17 0 0 bakery
"Blueberry
Oat Bar" 370 14 47 5 6 bakery
"Blueberry 2 7 bakery
Scone" 460 22 61
Item calories fat carb fiber protein type
"Bountiful
Blueberry
Muffin" 370 14 55 0 6 bakery
"Butter
Croissant’’ 310 18 32 0 5 bakery
"Cheese
Danish" 420 25 39 0 7 bakery
Figure 1: The histogram with density plot for calories.
Table 1 lets us know that high calories do not necessarily mean that fat must also be
high, figure 1, figure 2 shows many types of products such as bakery, bistro box, hot
breakfast, parfait, petite, salad, and sandwich, and provide the calorie content of each
product. Among these different product options, bread provides consumers with the
most calories. Among all types, bakery accounts for 53.2%, bistro box accounts for
10.4%, and hot breakfast accounts for a total of 10.4%, the total proportion of parfait is
3.9%, the total proportion of petite is 11.7%, the total proportion of salad is 1.3%, and
the total proportion of sandwich is 9.1%, which makes us understand more about what
Starbucks will provide to bakery class Consumers have the most calories. Due to the
above statistical data and people's attention to health awareness, consumers can choose
to control calorie intake and weight control and monitor specific nutritional needs
through the analysis of these data.
References