In: Statistics and Probability
Please find the mean, mode, medium as applicable. This is data collected based off an observational study I conducted. The data was collected to see if male or females actively or passively interacted with the the barista while placing their order. This first table is the study of both locations compressed in to one table. The second table is data that is specific to the location. Please include/ find P value and stats!
Gender | Observed | Active | Passive |
Male | 26 | 18 | 8 |
Female | 21 | 15 | 6 |
Total | 47 | 33 | 14 |
Location | Observed | Active | Passive |
Panera (PM) | 27 | 21 | 6 |
Dunkin (AM) | 20 | 10 | 10 |
Total | 47 | 21 | 16 |
Please find the mean, mode, medium as applicable. This is data collected based off an observational study I conducted. The data was collected to see if male or females actively or passively interacted with the the barista while placing their order. This first table is the study of both locations compressed in to one table. The second table is data that is specific to the location. Please include/ find P value and stats!
Gender |
Observed |
Active |
Passive |
Male |
26 |
18 |
8 |
Female |
21 |
15 |
6 |
Total |
47 |
33 |
14 |
Location |
Observed |
Active |
Passive |
Panera (PM) |
27 |
21 |
6 |
Dunkin (AM) |
20 |
10 |
10 |
Total |
47 |
21 |
16 |
First table:
Chi-Square Test |
||||||||
Observed Frequencies |
||||||||
Column variable |
Calculations |
|||||||
Row variable |
Observed |
Active |
Passive |
Total |
fo-fe |
|||
Male |
26 |
18 |
8 |
52 |
0.0000 |
-0.2553 |
0.2553 |
|
Female |
21 |
15 |
6 |
42 |
0.0000 |
0.2553 |
-0.2553 |
|
Total |
47 |
33 |
14 |
94 |
||||
Expected Frequencies |
||||||||
Column variable |
||||||||
Row variable |
Observed |
Active |
Passive |
Total |
(fo-fe)^2/fe |
|||
Male |
26 |
18.2553 |
7.7447 |
52 |
0.0000 |
0.0036 |
0.0084 |
|
Female |
21 |
14.7447 |
6.2553 |
42 |
0.0000 |
0.0044 |
0.0104 |
|
Total |
47 |
33 |
14 |
94 |
||||
Data |
||||||||
Level of Significance |
0.05 |
|||||||
Number of Rows |
2 |
|||||||
Number of Columns |
3 |
|||||||
Degrees of Freedom |
2 |
|||||||
Results |
||||||||
Critical Value |
5.9915 |
|||||||
Chi-Square Test Statistic |
0.0268 |
|||||||
p-Value |
0.9867 |
|||||||
Do not reject the null hypothesis |
Calculated chi square =0.0268
DF=2
Chi square value at 0.05 level =5.991
Calculated chi square =0.0268 < 5.991 the table value.
The null hypothesis is not rejected.
P value= 0.9867
There is no association between gender and actively or passively interacted with the barista while placing order.
Second table:
Chi-Square Test |
||||||||
Observed Frequencies |
||||||||
Column variable |
Calculations |
|||||||
Row variable |
Observed |
Active |
Passive |
Total |
fo-fe |
|||
Panera (PM) |
27 |
21 |
6 |
54 |
0.0000 |
3.1915 |
-3.1915 |
|
Dunkin (AM) |
20 |
10 |
10 |
40 |
0.0000 |
-3.1915 |
3.1915 |
|
Total |
47 |
31 |
16 |
94 |
||||
Expected Frequencies |
||||||||
Column variable |
||||||||
Row variable |
Observed |
Active |
Passive |
Total |
(fo-fe)^2/fe |
|||
Panera (PM) |
27 |
17.8085 |
9.1915 |
54 |
0.0000 |
0.5720 |
1.1082 |
|
Dunkin (AM) |
20 |
13.1915 |
6.8085 |
40 |
0.0000 |
0.7721 |
1.4960 |
|
Total |
47 |
31 |
16 |
94 |
||||
Data |
||||||||
Level of Significance |
0.05 |
|||||||
Number of Rows |
2 |
|||||||
Number of Columns |
3 |
|||||||
Degrees of Freedom |
2 |
|||||||
Results |
||||||||
Critical Value |
5.9915 |
|||||||
Chi-Square Test Statistic |
3.9483 |
|||||||
p-Value |
0.1389 |
|||||||
Do not reject the null hypothesis |
Calculated chi square =3.948
DF=2
Chi square value at 0.05 level =5.991
Calculated chi square =3.948 < 5.991 the table value.
The null hypothesis is not rejected.
P value= 0.1389
There is no association between location and actively or passively interacted with the barista while placing order.