0% found this document useful (0 votes)
11 views3 pages

Assignment No 1

Uploaded by

sana iqbal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views3 pages

Assignment No 1

Uploaded by

sana iqbal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Assignment no.

1
(Lessons 10-15)
Question 1: Marks: 10

Calculate the correlation coefficient using the following data and interpret the result. Create a
table for the necessary calculations, use the appropriate formula, and include all the necessary
steps. Age of a Car 2 4 5 6 8 11 Resale Value 18 15 11 8 7 5 Question 2: Marks: 10 Construct a
frequency distribution table for the given sample data. Divide the data into 6 classes, starting
with the first class as 0–0.9, and so on. 0.5, 1.0, 1.5, 1.5, 1.0, 2.0, 2.5, 2.0, 3.0, 2.5, 3.5, 3.5, 4.0,
4.5, 3.0, 3.0, 2.5, 2.0, 1.0, 0.5, 2.5, 3.0, 4.0, 3.5, 4.5, 5.0, 5.5, 5.0, 4.0, 3.5, 2.0, 1.5, 2.0, 2.5, 3.5,
4.0, 4.5, 5.5, 5.0, 5.0, 4.0, 3.0, 2.0, 1.0, 0.5, 0.5, 1.5, 2.5, 3.5, 4.5

Question 1: Correlation Coefficient Calculation

We need to calculate the correlation coefficient r using the formula:

r=n∑(xy)−∑x∑y¿ √ ❑ [n∑x2−(∑x)2][n∑y2−(∑y)2]

Given Data:

Age of Car (x) Resale Value (y)


2 18
4 15
5 11
6 8
8 7
11 5

Steps:

1. Create necessary columns for x2, y2, and xy.


x2
2. Calculate the sums: ∑x, ∑y, ∑ , and ∑xy.
3. Substitute into the formula to find r.

X Y X2 Y2 xy
2 18 4 324 36
4 15 16 225 60
5 11 25 121 55
6 8 36 64 48
8 7 64 49 56
11 5 121 25 55
∑x=36, ∑y=64, ∑x2=266, ∑y2=808, ∑xy=310
Substituting into the formula:

r=6(310)−(36)(64)/
√ ❑[6(266)−(36)2][6(808)−(64)2]

r=1860−2304/
√ ❑[1596−1296][4848−4096]

r= −444/√ ❑ 300⋅752 = −444/474.18 ≈−0.937

Interpretation:

The correlation coefficient r ≈ −0.94 indicates a strong negative relationship between the age of a
car and its resale value. As the car's age increases, the resale value decreases significantly.

Question 2: Frequency Distribution Table

Steps:

1. Define class intervals: Start at 0–0.9 and increment by 1.0.


2. Count the number of observations in each interval.

Class Interval Frequency


0.0–0.9 5
1.0–1.9 6
2.0–2.9 8
3.0–3.9 10
4.0–4.9 9
5.0–5.9 7

Frequency Distribution Table:


Class Interval Midpoint (x) Frequency (y) fx
0.0–0.9 0.45 5 2.25
1.0–1.9 1.45 6 8.70
2.0–2.9 2.45 8 19.60
3.0–3.9 3.45 10 34.50
4.0–4.9 4.45 9 40.05
5.0–5.9 5.45 7 38.15

Interpretation:

The frequency distribution table categorizes the given data into 6 intervals, showing how
frequently data points occur in each range.

You might also like