Homework^N1
dotx
keyboard_arrow_up
School
Gallaudet University *
*We aren’t endorsed by this school
Course
102
Subject
Mathematics
Date
Apr 3, 2024
Type
dotx
Pages
4
Uploaded by BrigadierSnake12938
In-class activity #1
Math 102 - Intro Probability and Statistics
Part 1:
For each variable, please list the type of variable (categorical, quantitative), and decide whether they are ordinal variables or not.
a.
Type of drink: Yes
b.
Size of order of French fries: yes
c.
Weight of order of French fries: yes
d.
Health Inspection Grade: no Part 2:
As the manager of a candy store, you've gathered data on daily candy sales for the past week. Use the data provided to calculate various statistical measures and create tables to better understand the distribution. Day
Candy Sales
1
25
2
30
3
22
4
35
5
28
6
23
7
30
1.
Calculate the mean, median, range, Q1, Q3, and standard deviation of the daily candy sales. 22, 23, 25, 28, 30, 30, 35
Mean: 27.57
Median: 28
Mode: 30
Range: 35-22=13
Q1:
30
Q3:
23
SD:
20.947
2.
Below is a (relative) frequency table to show the distribution of candy sales, please fill in the missing values. (Round to two decimal places)
Candy Sales
Frequency
Relative Frequency
20-25
3
0.43
26-30
3
0.43
31-35
1
0.14
Part 3: Restaurant
Food
Deco
r
Service
Cost
Cuisine
Location
Ai Fiori
27
24
25
93
Italian
Metro Area
Amma
24
18
22
48
Indian
City Center
Blue Hill
27
23
27
83
American
(New)
Metro Area
Bouley
28
27
27
104
French
City Center
Café Boulud
27
24
26
81
French
City Center
Chin Chin
23
19
23
54
Chinese
City Center
Craft
26
24
25
82
American
(New)
Metro Area
Daniel
29
28
28
137
French
Metro Area
Dawat
23
19
21
50
Indian
Metro Area
Del Posto
27
27
27
102
Italian
Metro Area
Dovetail
26
23
25
74
American
(New)
City Center
Eleven Madison
Park
28
28
28
117
French
City Center
Four Seasons
Restaurant
27
28
27
101
American
(New)
City Center
Gotham Bar &
Grill
28
25
27
81
American
(New)
Metro Area
Gramercy
Tavern
27
26
27
114
American
(New)
Metro Area
Il Buco
Alimentari e
Vineria
26
24
23
64
Italian
Metro Area
Il Tinello
26
21
26
76
Italian
City Center
Jack's Luxury
Oyster Bar
26
16
23
71
French
Metro Area
Jean Georges
28
27
28
127
French
Metro Area
Junoon
23
26
23
71
Indian
Metro Area
Kuruma Zushi
28
17
25
127
Japanese
Metro Area
La Grenouille
28
28
28
119
French
City Center
Le Bernardin
29
27
28
146
French
Metro Area
Mr. Chow
Tribeca
22
21
21
76
Chinese
Metro Area
Mr. K's
24
24
23
60
Chinese
City Center
Nobu
26
23
23
83
Japanese
City Center
Perry St.
26
25
24
69
American
(New)
Metro Area
Piccola Venezia
26
17
24
58
Italian
Metro Area
San Pietro
26
21
23
87
Italian
City Center
Saul
27
20
25
69
American
(New)
Metro Area
Sistina
26
19
23
80
Italian
City Center
Sushi of Gari 46
27
15
21
82
Japanese
City Center
Sushi Yasuda
28
22
24
86
Japanese
City Center
Sushiden
25
18
22
58
Japanese
City Center
Tamarind
25
24
23
58
Indian
City Center
Tulsi
21
22
20
55
Indian
City Center
Union Square
Cafe
27
23
26
70
American
(New)
City Center
Yuva
23
19
21
41
Indian
City Center
Zenkichi
26
27
25
61
Japanese
Metro Area
From the table below, each restaurant is given a score for food (from 10-30), décor (from 10-30),
service (from 10-30), and cost (30 or above). The table also lists type of cuisine and location of restaurant.
Types of variables
a.
For each variable, please list the type of variable (categorical, quantitative). Table reading (note: you should be able to sort the table to find your answers!)
b.
Which restaurant is the most expensive? Daniel
c.
Looking at the French restaurants, which French restaurant has the lowest-rated service? (also list their service score
) Jack's Luxury
d.
How many Japanese restaurants are there? 6
o
How many are in the city center? 4
o
How many are in the metro area? 2
e.
Calculate the mean, median, and standard deviation of food, décor, service, and cost. Mean:
Median:
SD:
f.
From problem e, which variable exhibits a distribution close to symmetry?
BONUS: You are a web developer for Google Maps! You want to show the cost rating of the restaurants on your map, but instead of using the rating number. you want to group them into four categories: $, $$, $$$, or $$$$. The categories are assigned as follows:
$ - Below 70
$$ - 70-94
$$$ - 95-110
$$$$ - above 110
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
g.
Create a new variable, ‘Cost Rating, and use a formula in Excel to recode the cost score into the $-$$$$. Write the formula you used. h.
How many restaurants are in each level of cost rating ($, $$, $$$, $$$$)?
i.
Is cost rating an ordinal variable or not? j.
One type of cuisine tends to be particularly expensive; of the restaurants with the $$$$ rating, most are the same type of cuisine. Which cuisine is that?