Professional Documents
Culture Documents
Assignment 2 Fin534 Nurul Izzah Khasnan
Assignment 2 Fin534 Nurul Izzah Khasnan
6
Donor having blood O 70
Donor not having blood O 50
Total donors 120
PROBABILITY No
probability of donor having blood O 0.6
probability of donor not having blood O 0.4
Total 1
Column1 Column2
Donor having blood O 70
total of donor 120
proportion 0.58333333
MALE FEMALE
Mean 1.76333333333333 2.01
Variance 0.746141666666667 1.63181666666667
Observations 33 37
Pooled Variance 1.21502843137255
Hypothesized Mean Difference 0
df 68
t Stat -0.934600602706704
P(T<=t) one-tail 0.176650620335032
t Critical one-tail 1.66757228079671
P(T<=t) two-tail 0.353301240670064
t Critical two-tail 1.99546893142984
the p-value is 0.049859076, which is less than alpha 0.05, therefore we reject the null hypothesis
as there is the difference of average lenght's of services between individual with a college degree
and individual with no college degree. Thus the null hypothesis is invalid
the p-value is 0.01244134, which is less than significant level 0.05, therefore we reject the null
hypothesis as there is the difference of average lenght's of services between individual with a
college degree and individual with no college degree. Thus the null hypothesis is invalid.
CHI-SQUARE TEST
EXPECTED FREQUENCY
Brewed Coffee Ice Coffee Espresso Cappuccino Latte Mocha
Female 12.32 8.4 5.6 3.36 5.6 6.16
Male 9.68 6.6 4.4 2.64 4.4 4.84
Grand Total 22 15 10 6 10 11
Chi-square Statistic
Brewed Coffee Ice Coffee Espresso Cappuccino Latte Mocha
Female 3.2421 0.3048 2.3143 0.1219 0.3500 1.3094
Male 4.1263 0.3879 2.9455 0.1552 0.4455 1.6664
Grand Total 7.3684 0.6926 5.2597 0.2771 0.7955 2.9758
Brewed Coffee Ice Coffee Espresso Hot Specialty Ice Blended Tea
Female 6 10 2 20 10 8
Male 16 5 8 7 7 1
Grand Total 22 15 10 27 17 9
EXPECTED FREQUENCY
Brewed Coffee Ice Coffee Espresso Hot Specialty Ice Blended Tea
Female 12.32 8.4 5.6 15.12 9.52 5.04
Male 9.68 6.6 4.4 11.88 7.48 3.96
Grand Total 22 15 10 27 17 9
Chi-Square Statistic
Brewed Coffee Ice Coffee Espresso Hot Specialty Ice Blended Tea
Female 3.2421 0.3048 2.3143 1.5750 0.0242 1.7384
Male 4.1263 0.3879 2.9455 2.0046 0.0308 2.2125
Grand Total 7.3684 0.6926 5.2597 3.5796 0.0550 3.9509
Chi-square critical value 11.07049769
the p-value is 0.000843755, which is less than alpha 0.05
p-value 0.000843755 reject the null hypothesis that type of drinks and ge
independence.
Ice Blended Tea Total
10 8 56
7 1 44
17 9 100
Total
56
44
100
Total
56
44
100
Total
9.1988
11.7075
20.9063
ich is less than alpha 0.05, therefore we
that type of drinks and gender are
ependence.