SOURCES :
http://statistics.laerd.com>spss-tutorials
APA YANG AKAN ANDA PELAJARI?
• Jenis-jenis data (mengikut level of measurement)
• Measures of Central tendency and Dispersion
• Enter data in SPSS
• Normality test
• Analysis data
– Chi-square
– Independent T-test
– One-way Anova
– Pearson’s correlation
scale
Research objective Research question Analysis
Untuk mengukur tahap Apakah tahap Frequency dan
pengetahuan mengenai pengetahuan ibu percentage (%)
gestational diabetes antenatal mengenai
mellitus di kalangan ibu gestational diabetes di Mean & Standard
antenatal di HTAA HTAA? Deviation
Untuk menentukan Adakah terdapat Independent Sample
hubungkait di antara hubungkait antara data T-test dan One-Way
data sosiodemographik sosiodemographik Anova
dengan tahap dengan tahap
pengetahuan mengenai pengetahuan mengenai
gestational diabetes gestational diabetes
mellitus di kalangan ibu mellitus di kalangan ibu
antenatal di HTAA antenatal di HTAA
DUMMY TABLE
DUMMY TABLE
DUMMY TABLE
SKALA PENGUKURAN
• Data continuous
- Can assume any numerical values over a certain
interval (with decimal values)
- Eg. Height, Weight, Exam marks
EXAMPLE
Question Variables Measurement
scale
Categorical
Frequency (%)
Descriptive statistic
Example :
To identify knowledge of GDM among antenatal
mother at HTAA.
Numerical
Normality test
Null hypothesis :
There is no association between sociodemographic
data and knowledge of GDM among antenatal
mother at HTAA.
How to know
whether there is a
association or not?
Do analysis check the p-value
• P value < 0.05
• Cut point is used to reject or not to reject a
hypothesis
Infer back
to the SAMPEL
population
STATISTICAL
CONCLUSION
MEASURE OF CENTRAL TENDENCY
Measures of Central Tendency
• Mean : the average score
• Ex: 1 2 3 4 5 6 7 8 9 10
• Ex: 1 2 3 4 5 6 7 8 9 20
• Ex: 1 2 3 4 5 6 7 8 9 100
Measures of central tendency
Median
• Is not sensitive to extreme scores
• Use it when you are unable to use the mean
because of extreme scores
• Def: It is the middle value of a set of numbers
arranged in order.
Measures of central tendency
• Find the median of:
10 , 7 , 9, 12, 7, 8, 6
Mean:
Median:
Mode:
Exercise
• This is the frequency distribution of the ages of
students in a class.
Age Frequency
11 7
12 19
13 10
14 4
Minimum Maximum
Q1 Median Q3
Inter Quartile Range
• IQR is differences between Q1 dan Q3
IQR
Minimum Maximum
Q1 (25%) Median Q3 (75%)
Range
Variance
• The variance is a measure of variability. It
is calculated by taking the average of
squared deviations from the mean.
• Variance tells you the degree of spread in
your data set. The more spread the data,
the larger the variance is in relation to
the mean.
Variance
• 6, 5, 8, 6, 4, 6, 7, 6, 8
• Mean = (6 +5 +8 +6 +4 +6 +7+6+8) /10
=6
Variance = [(6-6)2 +(6-5) 2 +(6-8) 2 +(6-6) 2 +(6-4) 2
+(6-6) 2 +(6-7) 2+(6-6) 2+(6-8) 2
n-1
Variance =18/9 = 2
Standard Deviation (SD)
• Square root of variance
• Most widely used and better measure of
variability
• Smaller SD indicates closer to the mean
• Like mean, SD is sensitive to extreme values
Example
• Let’s calculate the variance of the follow
data set: 2, 7, 3, 12, 9.
Example
• The first step is to calculate the mean. The
sum is 33 and there are 5 data points.
• Therefore, the mean is 33 ÷ 5 = 6.6.
• Then you take each value in data set,
subtract the mean and square the
difference. For instance, for the first value:
• (2 - 6.6)2 = 21.16
Example
• The squared differences for all values are
added:
• 21.16 + 0.16 + 12.96 + 29.16 + 5.76 = 69.20
• The sum is then divided by the number of
data points:
• 69.20 ÷5 = 13.84
• The variance is 13.84.
• To get the standard deviation, you calculate
the square root of the variance, which is SD
= 3.72.
Small & High SD
Statistical Test
NORMAL DISTRIBUTION
Characteristic
• Shape : Bell-shaped, smooth n symmetrical
• Mean=median=mode
• Skewness in normal range (-2 until 2)
• Kurtosis in normal range(-2 until 2)
Checking for normality
• Test statistic
- Kolmogrov-Smirnov (n> 50) or Shapiro wilk
(n<50)
• Graphical
- Normal curve : bell shaped, symmetrical
• Descriptive data
- Mean=mode=median
- Skewness
- Kurtosis
SKEWNESS
KURTOSIS
Test of Normality
Wt_______
((ht/100) * (ht/100))
Normal : 18.5 – 22.9
Overweight : 23-27.5
Obese : > 27.5
Jadual 2: menunjukkan statistik umur
responden
Statistic Std. Error
Age (years) Mean 42.16 0.722
95% Confidence Interval
for Mean Lower Bound 40.74
Upper Bound 43.59
5% Trimmed Mean 42.08
Median 42
Variance 79.782
Std. Deviation 8.932
Minimum 21
Maximum 64
Range 43
Interquartile Range 12
Skewness 0.163 0.196
Kurtosis -0.184 0.39
Rajah 1: Menunjukkan Taburan Umur
Responden
soalan
Jadual 2 dan Rajah 1 menunjukkan statistic
deskriptif bagi umur responden dalam satu
kajian. Jawab soalan dibawah berdasarkan
jadual 2 dan Rajah 1 di atas.
normal high
Count 48 13 61
normal
% within bmicat 78.7% 21.3% 100.0%
Count 20 25 45
bmicat overweight
% within bmicat 44.4% 55.6% 100.0%
Count 20 27 47
obese
% within bmicat 42.6% 57.4% 100.0%
Count 88 65 153
Total
% within bmicat 57.5% 42.5% 100.0%
Chi-Square Tests
N % N % X2 P
0.517 2 0.597
Normal 6.78 (2.13)
Overweight 6.98 (2.29)
Obese 7.23 ( 2.36)
PEARSON’S CORRELATION
COEFFICIENT TEST
Persembahan data
0.075 0.356