Professional Documents
Culture Documents
Expected values
(Observed - expected)^2/Expected
77.735896072
sing chi-square test of independence for hypothesis testing.
12 12
1.11345E-11
Expected Values
(Observed- Expected)^2/Expected
Flight Delta United US Airways
Late 0.526027397260273 1.1835616438 0.09863
On-time 0.0899297423887592 0.2023419204 0.016862
S.E. 0.0112915898
test statistics -0.354245954
p-value 63.84%
Ho: p_late_delta = p_late_united = p_late_us_airways
Ha: they are not equal
No statistically significant data to conclude that flight is delayed more than 15% of time.
3 6
p_afghan 0.29
p_odessa 0.41 Kolkata
Bangalore
alpha 0.05
a.
Ho P_afghan = P_odessa b.
Ha P_afghan<P_odessa
So, Ho rejected.
5
Horror Comedy Drama c.
No. of shows 21 24 27 72
Standard deviation of
viewership 1.698 1.543 1.737
Variance 2.883204 2.380849 3.017169
df 20 23 26
Difference from grand mean 0.001167 0.000295 0.00175
SS df MS F P-value
Between Groups 0.078838 2 0.039419 0.01425 98.59%
Within Groups 190.87 69 2.766232
Ho is not rejected
Jan Feb Mar Apr May Jun Jul Aug
22 33 36 34 33 34
24 27 27 26 25 26
9 8 8 8
X_d 7.833333333333
SD_X_d 0.98319208025
n 6
S.E._X_d 0.40138648596
Ho Xd = 5
Ha Xd!= 5 8
a. 9.89
t 7.058865787568 b. -0.693147180559945
df 5 a1 median/0.69315
P-value 0.09% 10.01226
c. a is better because sample mean is unbiased estimato
Ho is rejected at 1% significance level.
d. n 100
Ho: T_Kol - T_Ban = 5 mean 9.89
Ha: T_Kol - T_Ban != 5 S.E. 0.989
e. 1.01112234580384
f.
Cars 0
Interval 101
Variance per interval 1.159211
median/0.69315
1 2 3 4 5
114 56 20 8 1 300
0.005878 0.852544 3.699211 8.545878 15.39254 29.65527
Ho mean = 1.011122
Ha mean != 1.011122
Observed values
Extremely Extremely
dissatisfied Dissatisfied Neutral Satisfied satisfied
Government 18 5 12 8 5 48
Private 8 7 13 15 12 55
Freelancer 5 1 2 7 10 25
31 13 27 30 27 128
Expected values
Extremely Extremely
dissatisfied Dissatisfied Neutral Satisfied satisfied
Government 11.625 4.875 10.125 11.25 10.125
Private 13.3203125 5.5859375 11.60156 12.89063 11.6015625
Freelancer 6.0546875 2.5390625 5.273438 5.859375 5.2734375
Extremely Extremely
dissatisfied Dissatisfied Neutral Satisfied satisfied
Government 3.495967741935 0.00320513 0.347222 0.938889 2.5941358025 So we can reject Ho at 5% leve
Private 2.125004582111 0.35796547 0.168566 0.34517 0.0136837121
Freelancer 0.183719758065 0.93290865 2.031956 0.222042 4.236400463
So we can reject Ho at 5% level of significance and conclude that level of satisfaction and type of job are not independent.
not independent.
Probability (Observed -
Category Observed Distribution Expected Expected)^2/Expected
ABC 95 0.29 87 0.735632183908046
CBS 70 0.28 84 2.33333333333334
NBC 89 0.25 75 2.61333333333333
Independents 46 0.18 54 1.18518518518519
300
b) Rented Owned
Mean 209.08 254.19
Variance 86.3041 117.0724
Count 90 37
df 89 36
So reject Ho , that is sufficient evidience to conclude that mean rented and mean -owned is not equal and mean_re
P_owned_1 0.689655172
P_owned_2 0.710144928
P_pooled 0.700787402
S.E. 0.057912745
test statistics -0.3538039
p-value 36.17%
Ho Var_rented = Var_owned
Ha Var_rented != Var_owned
p-value 2.47865E-48
Ho is rejected.
c. Ho Variance = 80
Ha Variance != 80
n 37
test-statistic 52.68258
p-value 5.58%
At 7 % Ho is rejected. Sufficient evidence to conclude that region 4 variance of owned apartments is significantly di
d. Ho p_owned_region_1 = p_owned_region_2
Ha p_owned_region_1 < p_owned_region_2
So Ho is not rejected.
ed apartments is significantly different from 80.
Hostel 5488 6167 6529 4657 3817 5980 3909 4729 4944
Wicketgate 5788 6700 5015 3805 4141 5025 6132 5136 8532
a.
Ho S.D. wicket gate = 2 * S.D. hostel
Ha S.D. wicket gate != 2 * S.D. hostel
Ho is not rejected
b.
diff. 1471.2
S.E. w-h 408.53410345
MOE -1.959963985
UL 2271.9121292
LL 670.48787078
4603 5290 4205 4487 5130 4388 4699 4536 5015 4827
6348 6361 8220 8625 4231 5459 9751 5696 7074 8678
Mean Variance
4970 4918.5 495511.7
7077 6389.7 2842491
Matching sets
Difference in scores
1
4
-2
-6 test statist 0.814192
0 p-value 43.14%
-3
-6
8 Can't reject Ho that there is no significant difference between round 1 and round 2 scores
2
7
-1
8
2
1.076923 4.7690239823 13
X_d_bar S.D. sample n
round 2 scores
Boys Girls
Count 50 41
Mean 2.55 3.25 2.865385
S.D. 1.6 1.9
Variance 2.56 3.61 d
d.f 49 40
X_bar - grand
mean square 0.099467 0.147929
SS
Between Group 11.03846
Within Group 269.84
Total 280.8785
Variance 3.120872
S.D. 1.766599 a.
b. Ho S.D. = 2
Ha S.D. < 2
At 5 % Ho is not rejected so not sufficient evidence to conclude that standard deviation is less than 2 hrs
U.L. 2.365828
L.L. 1.592401
C.I. 92%
Lower Chi-SQ 33.119239914
Upper Chi-SQ 67.627074197
c.
Ho: S.D. of salaries = 5
Ha: S.D. of salaries != 5
Ho not rejected
d.
Ho: mu_full_prof - mu_assoc_prof <= 20
Ha: mu_full_prof - mu_assoc_prof > 20
Full Associate
X_bar 73.91 51.43
Variance 103.29 32.5
2.0658 0.65
Reject Ho at 7% significance
Category Count Sum Variance df Mean Difference from grand mean
Dry fruit 6 870 362 5 145 212.3265
Ghee 8 1318 908 7 164.75 26.8176
Khova 7 1163 243 6 166.1429 43.18367
Grand mean 159.5714
M random variable
Mean 2.9
Variance 0.165
c
Ho: p_win_home = p_win_away
Ha: p_win_home != p_win_away
p_win_home 0.631579
p_win_away 0.578947
Goals 0 1 2 3 4 1.789474
Frequency 3 14 11 8 2 38
Difference from mean 3.202216066 0.623269 0.044321 1.465374 4.886427 10.22161
Variance 0.27626
test-stat 5.154255615
p-value 0.000025%
so Ho is rejected
Acceptance condition
P type II error
Solving both
0.05 = 1.107814 root(n)
n= 490.9006 ~491
If the application is truly random the distribution of digits should be distributed uniformly so Zoobi can use application 1000 ti
The expected frequency for each digit is 100 so we can do Chi-Square test of goodness of fit to see if uniform distribution fits t
obi can use application 1000 times and record observed frequencies for each digit.
ee if uniform distribution fits the observed values significantly.
Italian Seafood Steakhouse
12 16 24
13 18 19
15 17 23
17 26 25
18 23 21
20 15 22
17 19 27
24 18 31
Mean 17 19 24 20
Variance 14.85714 13.71429 14
Squared di 9 1 16
Count 8 8 8
df 7 7 7
Ho is rejected