Professional Documents
Culture Documents
Assignment Data Analitik Halizah - Docx PART 4
Assignment Data Analitik Halizah - Docx PART 4
(Xi) (Yi)
Air Asia 4269181 8808742
Asiana 1167860 4324324
Bouraq Air Lines 731343 1691405
Cathay Pacific 65254 79703
CEBU Pacific Air 162795 62027
China Airlines 380060 52937
Dragonair Hong Kong 513469 140234
EVA Air 456659 125522
Japan Asia Airways 849001 104475
Japan Airlines 138459 147109
JetLite 195733 113569
Jetstar Asia Airways 149431 147244
Korean Air 454753 153826
Malaysia Airlines 65265 76226
Paramount Airways 115595 123959
Pelita Air Service 166352 152100
Philippine Airlines 402643 80938
Royal Brunei Airlines 37312 91906
Shanghai Airlines 136419 99430
Silkair 172773 166074
Sun Air 216888 133863
Thai Airways 218544 162056
International
Tiger Airways 1574935 219407
Vietnam Airlines 2783993 511621
Part 4: Calculate and compare measures of dispersion in each dataset
To calculate the measures of dispersions for each dataset, we need to find the range,
mean absolute deviation (MAD), variance, standard deviation and coefficient of
variation (CV). The range gives us the way of how find out the data. The variance and
standard deviation is about how far the data is from the mean.
a) Domestic Dataset:
i) Range:The formula of range may refer to the difference between the maximum and
minimum values in the dataset.
ii) Mean Absolute Deviation (MAD): First is find the mean (average) of the set of
values, then calculate the absolute difference between each value and the mean. Last
step is take the average of those absolute differences. MAD is commonly used as a
measure of dispersion.
The formula for MAD: Σ (xi - x̄)/n
iii) Variance: To calculate the variance, first is calculate the mean of the dataset. Then
for each observation, subtract the mean from the value, square the result, and add it to
the running total. Finally, divide the total by the number of observations.
The formula for variance : S2 = Σ (xi - x̄)^2 / n - 1
a) International Dataset:
i) Range= Maximum Value - Minimum Value
8808742 - 52937 = 8755805
ii) Mean Absolute Deviation (MAD): To calculate the MAD, first find the mean
( average ) of the set of values, then calculate the absolute difference between each
value and the average of those absolute difference. MAD is commonly used as a
measure of variability or dispersion.
The formula for Mean Absolute Deviation (MAD) is :Σ (xi - x̄) / n
iii) Variance: To calculate the variance, first need to calculate the mean of the dataset.
Then for each observation, subtract the mean from the value, square the result, and
add it to the running total. Finally, divide the total by the number of observations.
iv) Standard Deviation: To calculate the standard, first find the mean of the dataset,
then subtract the mean from each value in the dataset and square the result. Add up all
the squared differences and divide by the number of value in the dataset. Finally, take
the square root of the result to get the standard deviation.