Tahir Abbas F19-12005 M.com 02 Statics
Tahir Abbas F19-12005 M.com 02 Statics
Tahir Abbas F19-12005 M.com 02 Statics
Instructor
Max Marks: 35
Name: M.Azhar
Time: 6 hours
Student
Name: Tahir Abbas Reg No. 12005
Note:
Q1. MCQs: Circle the correct answer to the following (1*5=5)
b) Sampling
a) sample design b)frame c) population d)sample
a) Sampling b)b)population
Population c) unit d) error
Solution
8+12+0+5+14 +16+20+10+ 14+16
x́=
10
ΣX 115
Mean = so x̄ = 11.50
n 10
Median average of the middle two numbers.
First arrange in ascending orders
So 0, 5,810,12,14,14,16,16,20
Answer
When we sample with replacement, the two sample values are independent. Practically, this means
that what we get on the first one doesn't affect what we get on the second. Mathematically, this
means that the covariance between the two is zero.
In sampling without replacement, the two sample values aren't independent
Linear Regression
Polynomial Regression
Ridge Regression
Lasso Regression
Elastic Net Regression
Solution
Mean
C_L f X fx
30-39 8 34.5 276
40-49 87 44.5 3871.5
50-59 190 54.5 10355
60-69 86 64.5 5547
70-79 20 74.5 1490
Total Σ 391 21539.5
Σf X 21539.5
x̄ = , x̄ = , x̄ = 55.08
Σf 391
Now The Calculation of the Median As we know that
h n
Median = l+ ( −F )
f 2
So
C_L f CB Cf
30-39 8 29.5-39.5 8
40-49 87 39.5-49.5 95
50-59 190 49.5-59.5 285 Median Group
60-69 86 59.5-69.5 371
70-79 20 69.5-79.5 391
TotalΣ 391
h n
Median = l+ ( −F )
f 2
10 391
x͂ = 49.5+ 190 ( 2 −95)
x͂ = 49.5 + 0.0526(100.5)
x͂ = 49.5+5.2863
x͂ = 54.7863
Y = a + bx
n Σxy−ΣxΣy
Where b =
n Σ x 2−(Σ x)2
a= ý−b x́
n Σxy−ΣxΣy
b=
n Σ x 2−(Σ x)2
,
10 ( 103928 ) −(667)(1550)
10 ( 44621 )−( 667 ) 2
1039280−1033850
b=
446210−444889
5430
b = 1321
b = 4.11
Now a
a= ý−b x́
a= 155-4.11(66.7) , a = 155-274.137 , a = 119.17
Trend value ~y = a + bx
Trend
= a + bx Value
-119.137+4.11x72 176.92
-119.137+4.11x66 152.26
-119.137+4.11x67 156.37
-119.137+4.11x69 164.59
-119.137+4.11x71 172.81
-119.137+4.11x61 131.71
-119.137+4.11x66 152.26
-119.137+4.11x62 135.82
-119.137+4.11x70 168.7
-119.137+4.11x63 139.93