Statistic Module 2
Statistic Module 2
Median
The median is the middle value when data is arranged in
ascending order. If there an even number of observation the median is
the average of the two middle values
Example:
Data:(10,20,30,40,50)
Median : 30(middle value)
For an even dataset: [10.,20,30,40]
Median = 20+30/2=25
Mode
The mode is the most frequently occurring value in a dataset.
Ex:data[2,3,4,5] – mode = 3(since it appear twice)
2. measure of dispersion
Dispersion measure how spread out the data is.
A) Range
The range is the difference between the maximum and minimum
values.
Range = Max – Min
Example : data :[10,20,30,40,50]
Range =50-10=40
b) Variance (o² for population, s² for sample)
Variance measures how much each data point deviates from the
mean
Σ(Χ – Χ)’2/n-1
Where x is the sample mean.
c) Standard Deviation :
Standard deviation is the square root of variance and provides a
measure of spread in the same units as the data.
Example:
If the test scores are (10, 20, 30, 40, 50), we calculate the standard
deviation to measure the spread from the mean.
QUE :A company tracks the daily sales (in thousands) : 5,8,12,18,22.
Find the range and standard deviation
Range 22-5-17
3. Measure of Association :
a) Covariance (σχγ)
XY= σχ/ογoy
Y-Y
-20
Product (XX)(YY)
-10
(-4)x(-20)-80
(-2)x(-10)-20
0x0-0
10
20
2x10-20
4x20-80
Student
(X-X)
(-8)
(-4)-16
(-20)-400
(-2)-4
(-10)-100
0-0
0-0
2-4
10-100
4-16
20-400
Σ(Χ - Χ) - 16+4+0+4+16-40
ΣΥ - Ρ) - 400+ 100+0+100+400-1000
110
Student
1
(X-X)
(-8)
(-4)-16
(-20)-400
(-2)-4
(-10)-100
0-0
0-0
2-4
10-100
4-16
20-400
Σ(Χ - Χ) - 16+4+0+4+16-40
ΣΥ - Ρ) - 400+ 100+0+100+400-1000
4. Skewness
Solution:
* The event of waiting less than 10 minutes happens if the train arrives
within 10 minutes after the passenger arrives.
A fair 6-sided die is rolled. Since each outcome is equally likely, what is
the probability of rolling
b) An even number?
Solution: