MIS 7119 - Geospatial Data Visualisation 2
MIS 7119 - Geospatial Data Visualisation 2
Spatial Data
Visualisation
MIS 7119 - Geographical Information
Systems and Remote Sensing
• Quantitative data:
• Qualitative data:
World
population by
percentage
Credit: AnalyseMath
Credit: AnalyseMath
James Isagara Kisoro Makerere University MIS 7119 15
Spatial Data Visualisation
Data Visualisation – Categorical Variables
Age 1 2 3 4 5 6
Frequency 5 3 7 5 4 2
Grouped Frequency Distribution of Age:
Age 1 2 3 4 5 6
Frequency 5 3 7 5 4 2
Cumulative Frequency 5 8 15 20 24 26
Ø Bar diagram and Pie charts are used for categorical variables.
Ø Histogram, stem and leaf and Box-plot are used for numerical
variable.
q Commonly used methods are mean, median, mode, geometric mean etc.
Mean: The mean is obtained by summing up all the observation and dividing by
number of observations.
For example. Given numbers: 20, 30, 40
x + x + ... + xn ∑x i
x= 1 2 = i =1
n n
James Isagara Kisoro Makerere University MIS 7119
Spatial Data Visualisation
Methods of Center Measurement
Median: This is the middle value in an ordered sequence of observations.
Ø That is, to find the median we need to order the data set and then find
the middle value.
Ø In case of an even number of observations the average of the two
middle most values is the median.
For example: To find the median of {9, 3, 6, 7, 5},
we first sort the data giving {3, 5, 6, 7, 9}, then choose the middle value 6.
If the number of observations is even, e.g., {9, 3, 6, 7, 5, 2}, then the median is
the average of the two middle values from the sorted sequence, in this case:
(5 + 6) / 2 = 5.5.
James Isagara Kisoro Makerere University MIS 7119
Spatial Data Visualisation
Methods of Center Measurement
Mode: This is the value that is observed most frequently.
Ø The mode is undefined for sequences in which no observation
is repeated.
For example: Given the set of numbers: {9, 3, 6, 7, 5, 3},
Mode = 3
Ø In a case where we have {9, 3, 6, 7, 5},
the mode of this set is unobservable
Range: This is the difference between the largest and the smallest
observations.
Ø i.e. Given the following numbers; 10, 5, 2, 100
2 ( x1 − x ) 2 + .... + ( xn − x ) 2
S =
n −1
Variance of 5, 7, 3? Mean is (5+7+3)/3 = 5 and the variance is
(5 − 5) 2 + (3 − 5) 2 + (7 − 5) 2
=4
3 −1
Standard Deviation; σ : This is determined by getting the square root of the
variance.
Ø i.e. The standard deviation of the above example is the Square root of 4 = 2.
James Isagara Kisoro Makerere University MIS 7119
Spatial Data Visualisation
Methods of Variability Measurement:
Quartiles: Data can be divided into four regions that cover the total range of
observed values. Cut points for these regions are known as quartiles.
Q1 is the median of the first half of the ordered observations and Q3 is the
median of the second half of the ordered observations.
James Isagara Kisoro Makerere University MIS 7119
Spatial Data Visualisation
Methods of Variability Measurement:
Example: Find the Quartile in the following number
sequence:
3 6 7 11 13 22 30 40 44 50 52 61 68 80 94
Q1 Q2 Q3
The first quartile is Q1=11. The second quartile is Q2=40
(This is also the Median.) The third quartile is Q3=61.
σ
Coefficient of Variation = ×100
x
James Isagara Kisoro Makerere University MIS 7119
Spatial Data Visualisation
Five Number Summary
Five Number Summary: The five number summary of a
distribution consists:
TOPIC 7