Mada za sehemu hiiStatisticsMada 3
- Collection, Organization And Presentation of Data
- Measure Of Central Tendency Of Grouped And Ungrouped Data
- Measure Of Dispersion Of Grouped And Ungrouped Data
Measures of central tendency (mean, median, and mode) provide information on the central values of a data set. Measures of dispersion (range, variance, and standard deviation) describe the pattern of deviation exhibited by the data, indicating the spread of values around the center of the distribution.
Remarks
Measures such as quartiles, deciles, and percentiles are known as measures of position. However, they are sometimes referred to as measures of central tendency as they can, in some cases, be the same as the median.
a) For ungrouped data
The range is the difference between the highest and the lowest values.
Example 6.26
Find the range of:
a) 65, 66, 67, 68, 71, 73, 74, 77
Range=77−65=12
b) 42, 54, 58, 62, 67, 77, 85, 93, 100
Range=100−42=58
b) For grouped data
Range is the difference between the upper class boundary of the highest interval and the lower class boundary of the lowest class interval.
Example 6.27
| Class intervals | Frequencies |
|---|---|
| 21-25 | 4 |
| 26-30 | 9 |
| 31-35 | 16 |
| 36-40 | 10 |
| 41-45 | 10 |
| 46-50 | 1 |
Range=50.5−20.5=30
Variance is the sum of squared deviations divided by the number of values or the average of squares of deviations. Deviation is the distance from the mean (xˉ), indicating how far a value x is from the mean. It determines the consistency of a variable and the spread of data.
a) For ungrouped data
Let xi represent a variable with values x1,x2,x3,…,xn whose mean is xˉ.
Variance=Number of observationsSum of squares of deviations
Var(x)=N∑i=1n(xi−xˉ)2
or
Var(x)=N∑i=1nxi2−(N∑i=1nxi)2
where N is the total number of observations.
Other formulae for calculating variance are:
i) Var(x)=N1∑i=1ndi2−(N1∑i=1ndi)2 where di=xi−A (assumed mean method).
ii) Var(x)=c2[N1∑i=1nui2−(N1∑i=1nui)2] where ui=di/c=(xi−A)/c (coding method).
b) For grouped data
Let xi represent class marks for grouped data with values x1,x2,x3,…,xn whose mean is xˉ and fi are the frequencies.
The formulae for computing variance are:
i) Var(x)=∑i=1nfi∑i=1nfi(xi−xˉ)2
or
Var(x)=∑i=1nfi∑i=1nfixi2−(∑i=1nfi∑i=1nfixi)2
where ∑i=1nfi=N
Remark: The formula
Var(x)=∑i=1nfi∑i=1nfi(xi−xˉ)2
can also be used for ungrouped data with values x1,x2,x3,…,xn which occur with frequencies f1,f2,f3,…fn, respectively.
ii) Var(x)=N1∑i=1nfidi2−(N1∑i=1nfidi)2 where di=xi−A (assumed mean method).
iii) Var(x)=c2[N1∑i=1nfiui2−(N1∑i=1nfiui)2] where ui=di/c=(xi−A)/c (coding method).
Example 6.27.
Given the data set: 32, 41, 47, 53, 57. Find the variance.
xˉ=N∑x=532+41+47+53+57=5230=46
| x | xi−xˉ | (xi−xˉ)2 |
|---|---|---|
| 32 | -14 | 196 |
| 41 | -5 | 25 |
| 47 | 1 | 1 |
| 53 | 7 | 49 |
| 57 | 11 | 121 |
Var(x)=N∑i=1n(xi−xˉ)2
Var(x)=5196+25+1+49+121=5392=78.4
∴Var(x)=78.4
Standard deviation is a useful measure of dispersion based on the mean. It portrays how values are spread around the mean. It is the average deviation between all observed values and the sample mean and is calculated as the square root of the variance, denoted by σ.
Standard deviation=Variance
For a variable x, σx=Var(x)
a) For ungrouped data
σx=N∑i=1n(xi−xˉ)2
or
σx=Var(x)=N∑i=1nxi2−(N∑i=1nxi)2
where N represents total observations and xˉ represents the mean.
Other formulae for finding standard deviation are:
i) σx=N1∑i=1ndi2−(N1∑i=1ndi)2 where di=xi−A (assumed mean method).
ii) σx=cN1∑i=1nui2−(N1∑i=1nui)2 where ui=di/c=(xi−A)/c (coding method).
b) For grouped data
Let xi represent class marks with values x1,x2,x3,…,xn whose mean is xˉ and fi are the frequencies.
Formulae for computing standard deviation are:
i) σx=Var(x)=N∑i=1n(xi−xˉ)2fi=∑i=1nfi∑i=1n(xi−xˉ)2fi
Remark: The formula
σx=∑i=1nfi∑i=1n(xi−xˉ)2fi
can also be used for ungrouped data values x1,x2,x3,…,xn which occur with frequencies f1,f2,f3,…fn respectively.
ii) σx=N1∑i=1nfidi2−(N1∑i=1nfidi)2 where di=xi−A (assumed mean method).
iii) σx=cN1∑i=1nfiui2−(N1∑i=1nfiui)2 where ui=di/c=(xi−A)/c (coding method).
Example 6.28
| Class intervals | Frequencies |
|---|---|
| 60 – 62 | 5 |
| 63 – 65 | 18 |
| 66 – 68 | 42 |
| 69 – 71 | 27 |
| 72 – 74 | 8 |
Calculate:
a) the Variance
b) the Standard deviation
Solution
a) Using:
xˉ=∑i=1nfi∑i=1nfixi=1006745=67.45
| Class Intervals | fi | xi | fixi | xi−xˉ | (xi−xˉ)2 | fi(xi−xˉ)2 |
|---|---|---|---|---|---|---|
| 60 – 62 | 5 | 61 | 305 | -6.45 | 41.6025 | 208.0125 |
| 63 – 65 | 18 | 64 | 1152 | -3.45 | 11.9025 | 214.245 |
| 66 – 68 | 42 | 67 | 2814 | -0.45 | 0.2025 | 8.505 |
| 69 – 71 | 27 | 70 | 1890 | 2.55 | 6.5025 | 175.5675 |
| 72 – 74 | 8 | 73 | 584 | 5.55 | 30.8025 | 246.42 |
| ∑fi=100 | xˉ=67.45 | ∑fi(xi−xˉ)2=852.75 |
Var(x)=∑fi∑(xi−xˉ)2fi=100852.75=8.5275
∴Var(x)=8.5275
b) Using
σx=∑fi∑(xi−xˉ)2fi
σx=Var(x)
σx=8.5275
σx=2.9202
Standard deviation is 2.9202
Alternatively: By using assumed mean method and coding method: Let assumed mean, A=67
| Class intervals | fi | xi | di=xi−A | fidi | fidi2 | ui=(xi−A)/c | fiui | fiui2 |
|---|---|---|---|---|---|---|---|---|
| 60 – 62 | 5 | 61 | -6 | -30 | 180 | -2 | -10 | 20 |
| 63 – 65 | 18 | 64 | -3 | -54 | 162 | -1 | -18 | 18 |
| 66 – 68 | 42 | 67 | 0 | 0 | 0 | 0 | 0 | 0 |
| 69 – 71 | 27 | 70 | 3 | 81 | 243 | 1 | 27 | 27 |
| 72 – 74 | 8 | 73 | 6 | 48 | 288 | 2 | 16 | 32 |
| ∑fi=100 | ∑fidi=45 | ∑fidi2=873 |
∑fiui=15
∑fiui2=97
a)
i) Var(x)=N1∑fidi2−(N1∑fidi)2
=1001(873)−(10045)2
=8.73−0.2025
=8.5275
ii) Var(x)=c2[N1∑fiui2−(N1∑fiui)2]
=32[10097−(10015)2]
=9[0.97−0.0225]
=9[0.9475]
=8.5275
b)
i) σx=N1∑fidi2−(N1∑fidi)2
=8.73−(10045)2
=8.5275
=2.9202
ii) σx=cN1∑fiui2−(N1∑fiui)2
=310097−(10015)2
=30.9475
=3×0.9734
=2.9202
Mwalimu
Unasoma somo hili? Niulize nikuelezee chochote kilichomo.
Ingia ili kumuuliza Mwalimu wa AI wa Sonza kuhusu mada hii.
Ingia ili kuulizaMajadiliano
Hakuna maswali bado