Professional Documents
Culture Documents
Shoaib Lab 1 To 7
Shoaib Lab 1 To 7
Shoaib Lab 1 To 7
11528
ASSIGNMENT: Lab 1 TO 7
LAB #01
Arranging Observations in the ascending order, We get :
23,24,33,42,67,225,227,228,231,236,240,241,248,250,253,257,260,263,276,300,301,815
Q1
= ( )
23/4 th value of the observation
[
=5th observation +0.75 6th-5th ]
=67+0.75[225-67]
=67+0.75(158)
=67+118.5
Q1=185.5
Q2
= ( )
2⋅23/4 th value of the observation
Q2=240.5
Q3
= ( )
3⋅23/4 th value of the observation
Q3=260.75
Quartiles by Spss
Statistics
X
N Valid 22
Missing 0
Percentiles 25 185.5000
50 240.5000
75 260.7500
IQR
=Q3-Q1
=260.75-185.5
IQR= 75.25
1.5(IQR) 0.5(IQR)
ALLOWED MINIMUM= Q1-1.5(IQR) Q1-0.5(IQR)
=185.5-1.5(75.25) 185.5-0.5(75.25)
=72.625 =147.85
Every Numbers is repeating one time in a data set it means frequency distribution is uniform
Expected Mean, Variance and Standard Deviation: (Sample)
From Spss
Statistics
X
N Valid 17
Missing 0
Mean 134.0000
Std. Deviation 10.33199
Variance 106.750
Mean=134
S.D= 10.02
Variance=100.47
Predicted Outcome:
Mean+-Standard Devation
134+-10.33
=144.33-123.67
Outcome can fall between the 144.33 to 123.67 range
LAB #03
Outliers:
Frequency Distribution:
Expected Mean, Variance and Standard Deviation: (Sample)
From Spss
Statistics
X
N Valid 17
Missing 0
Mean 134.0000
Std. Deviation 10.33199
Variance 106.750
Mean=134
S.D= 10.02
Variance=100.47
LAB #04
From Spss:
Statistics
X1 X2 Zscore(X2) Zscore(X1)
N Valid 19 19 19 19
Missing 0 0 0 0
Mean 75.42 1770.2105 .0000000 .0000000
Std. Deviation 12.149 814.64911 1.00000000 1.00000000
Variance 147.591 663653.175 1.000 1.000
Percentiles 26 71.20 1212.6000 -.6844794 -.3474492
89 90.80 3188.2000 1.7406138 1.2658936
X2 IS -0.68 S.d Far from Mean At 26th Percentile While X1 is-0.347 Far away
X1 Is 1.26 Sd far from Mean at 89th percentile while the X2 is 1.74 Sd away
LAB # 05
Cross Tabulation of 2 Categorical Variable:
Probability :
LAB # 06
X=7.44
Z=-1.28
90% Area Below:
X=12.56
Z=1.28
20%within interval
X1=9.59
X2=10.51
Z1=-0.205
Z2=0.255
LAB # 07
From Spss
Statistics
Wheatyeild
N Valid 20
Missing 415
Mean 21.3700
Std. Error of Mean 1.16547
Std. Deviation 5.21214
Variance 27.166
Range 25.70
Now T;
D.f= n-1
20-1 =19
AT 90% CI :
One-Sample Test
Test Value = 25.3
90% Confidence Interval of the
Difference
t df Sig. (2-tailed) Mean Difference Lower Upper
Wheatyeild -3.372 19 .003 -3.93000 -5.9453 -1.9147
As the sig value is less than 0.005 and t score is outside the 90% CI because the 90% CI ranges
b/w 1.729 to -1.729 and the t here is -3.372 which is outside the search area the null hypothesis
will be rejected.
At 95% CI :
One-Sample Test
As the sig value is less than 0.005 and t score is outside the 95% CI because the 95% CI ranges
b/w 2.093 to -2.093 and the t here is -3.372 which is outside the search area the null hypothesis
will be rejected.
At 99% CI:
One-Sample Test
Test Value = 25.3
99% Confidence Interval of the
Difference
t df Sig. (2-tailed) Mean Difference Lower Upper
Wheatyeild -3.372 19 .003 -3.93000 -7.2643 -.5957
As the sig value is less than 0.005 and t score is outside the 99% CI because the 99% CI ranges
b/w 2.861to -2.861 and the t here is -3.372 which is outside the search area the null hypothesis
will be rejected