SlideShare a Scribd company logo
1 of 27
Download to read offline
KNOWLEDGE FOR THE BENEFIT OF HUMANITYKNOWLEDGE FOR THE BENEFIT OF HUMANITY
BIOSTATISTICS (HFS3283)
CORRELATION
Dr.Dr. MohdMohd RazifRazif ShahrilShahril
School of Nutrition & DieteticsSchool of Nutrition & Dietetics
Faculty of Health SciencesFaculty of Health Sciences
UniversitiUniversiti SultanSultan ZainalZainal AbidinAbidin
1
S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N
Topic Learning Outcomes
At the end of this lecture, students should be able to;
• identify types of correlation analysis and when they are
used.
• explain assumptions to be met when using Pearson and
Spearman correlation.
• perform Pearson and Spearman correlation analysis
using SPSS.
• explain how to interpret the SPSS outputs from Pearson
and Spearman correlation analysis.
2
S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N
Correlation
• A measurement of the magnitude and direction
of two numerical variables
• The estimated correlation value may not be
100% accurate but the stronger is the
relationship, the more accurate the estimate.
• Involves mainly observation of a certain
relationship
– No control of manipulation imparted
– E.g. what is the correlation between sleeping hours
and BMI among UniSZA students
3
S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N
Aims for correlation
• To show three (3) important aspects involved in
an association:
– Type of correlation
– Direction of correlation
– Magnitude of correlation
4
S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N
Uses of correlation
• Prediction
– E.g. The SPM Trial exam results are used as selection
criteria into universities
• Validity
– To ensure an instrument measures what it should measure
– E.g. new digital thermometer vs. clinic thermometer
• Reliability
– To ensure an instrument always give consistent reading (if
other parameters are stable)
• Theory verification
– E.g. is it true that a relationship exists between an
individual’s IQ level and their brain size.
5
S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N
Bivariate distribution
• A distribution showing the association between
two (2) numerical variables
• Usually illustrated via the Scatter diagram/ plot
6
S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N
Pearson’s r
• The Pearson’s correlation coefficient, r provides
the magnitude of a correlation.
• According to Pearson’s mathematical procedure,
a correlation is linear.
• r ranges from 0 (no correlation) to +/- 1.0
(strongest correlation)
– The higher the value of r, the stronger is the
magnitude of correlation
– The symbols + or – indicate the direction of the
correlation
7
S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N
Characteristics of r
• Describes only linear correlation
• Sensitive towards variability (spread) and range
• Can be influenced by sampling variation
• Can be influenced by extreme/ outlier values
8
S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N
Types of correlation
• Three main types;
– Positive correlation (r = + ; variables change in the
same direction)
– Negative correlation (r = - ; variables change in the
opposite direction)
– Zero correlation (r = 0 ; both variable show no
association and direction)
9
S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N
Types of correlation (cont.)
10
S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N
Types of correlation (cont.)
11
S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N
Interpretation
• A relationship exits between two variables; X & Y
• Does not mean any change in X will also alter Y
• Does not involve causal relationship (e.g. X causes Y to
occur)
• If r = 0.50 does not mean 50% relationship
12
S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N
Interpretation (cont.)
CorrelationCorrelation InterpretationInterpretation
--1.00 to1.00 to --0.760.76 Strong negative correlationStrong negative correlation
--0.510.51 toto --0.750.75 Good negative correlationGood negative correlation
--0.50 to0.50 to --0.260.26 Fair negative correlationFair negative correlation
--0.25 to 0.010.25 to 0.01 Poor negative correlationPoor negative correlation
00 No correlationNo correlation
0.010.01 to 0.25to 0.25 Poor positive correlationPoor positive correlation
0.26 to 0.500.26 to 0.50 Fair positive correlationFair positive correlation
0.51 to 0.750.51 to 0.75 Good positive correlationGood positive correlation
0.76 to 1.000.76 to 1.00 Strong positive correlationStrong positive correlation
13
S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N
Linear vs. Non-linear correlation
• Not all correlations are linear
• Sometimes correlation can be non-linear e.g.
Curvilinear
– Score are concentrated on a curved line
• The Pearson’s coefficient is not suitable to
quantify this relationship
14
S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N
Linear vs. Non-linear correlation
15
Positive linear
r = 0.82
Negative linear
r = -0.70
Independent
r = 0.00
Curvilinear
r = 0.00
Curvilinear
r = 0.00
S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N
Simple example on correlation
• Research Question: Is sleeping duration (hrs)
correlated with exam score (marks)?
• Null Hypothesis: There is no correlation between
sleeping duration (hrs) and exam score (marks)
• Results: If r = -0.89; p < 0.05; n = 220
• Interpretation: The correlation is negative i.e. as
the sleeping duration increase, the exam score
will decrease and vise versa.
– The large magnitude of correlation (nearing 1.00)
means the association is strong
16
S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N
Assumptions
• The data is drawn from a random sample of
population.
• The data is independent observation to each
other.
• The variables of interest are having bivariate
normal distribution.
• The relationship between the two variables
must be linear.
17
11
22
33
44
S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N
Assumption 3 – Linearity
18
11
22
33
S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N
Assumption 3 – Linearity (cont.)
19
44
55
66
77
S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N
Assumption 3 – Linearity (cont.)
20
The relationship between the two variables is linear
based on the elliptical shape.
S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N
If assumptions are not met?
• If both variable does not meet all assumptions,
then use Spearmen’s correlation analysis.
– Values obtained would be Spearmen’s correlation
coefficient  (rho).
• If any one of the variable meet all assumption,
proceed with Pearson’s correlation analysis
– Values obtained is Pearson’s correlation coefficient r.
21
S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N
Correlation in SPSS
22
11
22 33
44
66
55
For normal distribution, we can use Pearson’s test.
For non-normal distribution, we can proceed to Spearman’s test.
S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N
SPSS Output
23
S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N
SPSS Output Interpretation
24
• In correlation, look at the correlation coefficient
which is the strength of relationship instead of
the p value.
– Even though the coefficient is weak, the p value is
usually significant depending upon the sample size.
• In this analysis the p value is < 0.05, therefore
we reject the null hypothesis.
S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N
SPSS Output Interpretation (cont.)
25
• There is a significant (linear) correlation between
sleeping duration and exam score (p< 0.001).
The observed correlation coefficient (r) is 0.337,
which suggests positive and fair correlation. It
suggests that higher the duration of sleeping,
the higher the exam scores.
S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N
Results presentation
26
Exam score (marks)
r p value*
Sleeping duration (hrs) 0. 337 < 0.001
* Pearson’s correlation
Table: Correlation between sleeping duration (hrs) and
exam score (marks)
Thank YouThank You
27

More Related Content

What's hot

correlation and regression
correlation and regressioncorrelation and regression
correlation and regressionUnsa Shakir
 
Simple Linear Regression: Step-By-Step
Simple Linear Regression: Step-By-StepSimple Linear Regression: Step-By-Step
Simple Linear Regression: Step-By-StepDan Wellisch
 
What is a partial correlation?
What is a partial correlation?What is a partial correlation?
What is a partial correlation?Ken Plummer
 
Chapter 6 part2-Introduction to Inference-Tests of Significance, Stating Hyp...
Chapter 6 part2-Introduction to Inference-Tests of Significance,  Stating Hyp...Chapter 6 part2-Introduction to Inference-Tests of Significance,  Stating Hyp...
Chapter 6 part2-Introduction to Inference-Tests of Significance, Stating Hyp...nszakir
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regressionMohit Asija
 
Two way analysis of variance (anova)
Two way analysis of variance (anova)Two way analysis of variance (anova)
Two way analysis of variance (anova)Randel Roy Raluto
 
Regression analysis.
Regression analysis.Regression analysis.
Regression analysis.sonia gupta
 
Linear regression and correlation analysis ppt @ bec doms
Linear regression and correlation analysis ppt @ bec domsLinear regression and correlation analysis ppt @ bec doms
Linear regression and correlation analysis ppt @ bec domsBabasab Patil
 
Multiple Correlation - Thiyagu
Multiple Correlation - ThiyaguMultiple Correlation - Thiyagu
Multiple Correlation - ThiyaguThiyagu K
 
Basics of Regression analysis
 Basics of Regression analysis Basics of Regression analysis
Basics of Regression analysisMahak Vijayvargiya
 
Spearman's Rank order Correlation
Spearman's Rank order CorrelationSpearman's Rank order Correlation
Spearman's Rank order Correlationrkalidasan
 

What's hot (20)

Correlation
CorrelationCorrelation
Correlation
 
correlation and regression
correlation and regressioncorrelation and regression
correlation and regression
 
Simple Linear Regression: Step-By-Step
Simple Linear Regression: Step-By-StepSimple Linear Regression: Step-By-Step
Simple Linear Regression: Step-By-Step
 
What is a partial correlation?
What is a partial correlation?What is a partial correlation?
What is a partial correlation?
 
Chapter 6 part2-Introduction to Inference-Tests of Significance, Stating Hyp...
Chapter 6 part2-Introduction to Inference-Tests of Significance,  Stating Hyp...Chapter 6 part2-Introduction to Inference-Tests of Significance,  Stating Hyp...
Chapter 6 part2-Introduction to Inference-Tests of Significance, Stating Hyp...
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regression
 
Two way analysis of variance (anova)
Two way analysis of variance (anova)Two way analysis of variance (anova)
Two way analysis of variance (anova)
 
Regression ppt
Regression pptRegression ppt
Regression ppt
 
Fishers test
Fishers testFishers test
Fishers test
 
Measure of Association
Measure of AssociationMeasure of Association
Measure of Association
 
Regression analysis.
Regression analysis.Regression analysis.
Regression analysis.
 
Linear regression and correlation analysis ppt @ bec doms
Linear regression and correlation analysis ppt @ bec domsLinear regression and correlation analysis ppt @ bec doms
Linear regression and correlation analysis ppt @ bec doms
 
Simple linear regression
Simple linear regressionSimple linear regression
Simple linear regression
 
Correlation
CorrelationCorrelation
Correlation
 
Multiple Correlation - Thiyagu
Multiple Correlation - ThiyaguMultiple Correlation - Thiyagu
Multiple Correlation - Thiyagu
 
Basics of Regression analysis
 Basics of Regression analysis Basics of Regression analysis
Basics of Regression analysis
 
Spearman's Rank order Correlation
Spearman's Rank order CorrelationSpearman's Rank order Correlation
Spearman's Rank order Correlation
 
Correlation and Regression
Correlation and RegressionCorrelation and Regression
Correlation and Regression
 
Simple linear regression
Simple linear regressionSimple linear regression
Simple linear regression
 
Correlation
CorrelationCorrelation
Correlation
 

Viewers also liked

1. Introduction to biostatistics
1. Introduction to biostatistics1. Introduction to biostatistics
1. Introduction to biostatisticsRazif Shahril
 
HFS3283 paired t tes-t and anova
HFS3283 paired t tes-t and anovaHFS3283 paired t tes-t and anova
HFS3283 paired t tes-t and anovawajihahwafa
 
5. Non parametric analysis
5. Non parametric analysis5. Non parametric analysis
5. Non parametric analysisRazif Shahril
 
HFS 3283 independent t test
HFS 3283 independent t testHFS 3283 independent t test
HFS 3283 independent t testwajihahwafa
 
2. Inferential statistics
2. Inferential statistics2. Inferential statistics
2. Inferential statisticsRazif Shahril
 
6. Categorical data analysis - Chi-Square & Fisher Exact Test
6. Categorical data analysis - Chi-Square & Fisher Exact Test6. Categorical data analysis - Chi-Square & Fisher Exact Test
6. Categorical data analysis - Chi-Square & Fisher Exact TestRazif Shahril
 
Hypothesis testing; z test, t-test. f-test
Hypothesis testing; z test, t-test. f-testHypothesis testing; z test, t-test. f-test
Hypothesis testing; z test, t-test. f-testShakehand with Life
 
Multivariate statistics
Multivariate statisticsMultivariate statistics
Multivariate statisticsVeneficus
 
Theories Of Normality
Theories Of NormalityTheories Of Normality
Theories Of NormalityJade Sun
 
Dietetics cola presentation
Dietetics cola presentationDietetics cola presentation
Dietetics cola presentationVictoria Dehaas
 
Multivariate data analysis and visualization tools for biological data
Multivariate data analysis and visualization tools for biological dataMultivariate data analysis and visualization tools for biological data
Multivariate data analysis and visualization tools for biological dataDmitry Grapov
 

Viewers also liked (20)

1. Introduction to biostatistics
1. Introduction to biostatistics1. Introduction to biostatistics
1. Introduction to biostatistics
 
HFS3283 paired t tes-t and anova
HFS3283 paired t tes-t and anovaHFS3283 paired t tes-t and anova
HFS3283 paired t tes-t and anova
 
5. Non parametric analysis
5. Non parametric analysis5. Non parametric analysis
5. Non parametric analysis
 
9. Regression
9. Regression9. Regression
9. Regression
 
HFS 3283 independent t test
HFS 3283 independent t testHFS 3283 independent t test
HFS 3283 independent t test
 
2. Inferential statistics
2. Inferential statistics2. Inferential statistics
2. Inferential statistics
 
6. Categorical data analysis - Chi-Square & Fisher Exact Test
6. Categorical data analysis - Chi-Square & Fisher Exact Test6. Categorical data analysis - Chi-Square & Fisher Exact Test
6. Categorical data analysis - Chi-Square & Fisher Exact Test
 
Hypothesis testing; z test, t-test. f-test
Hypothesis testing; z test, t-test. f-testHypothesis testing; z test, t-test. f-test
Hypothesis testing; z test, t-test. f-test
 
Correlation & Regression_
Correlation & Regression_Correlation & Regression_
Correlation & Regression_
 
NDD10603
NDD10603 NDD10603
NDD10603
 
Multivariate statistics
Multivariate statisticsMultivariate statistics
Multivariate statistics
 
Multivariate
MultivariateMultivariate
Multivariate
 
Theories Of Normality
Theories Of NormalityTheories Of Normality
Theories Of Normality
 
An introduction to denial of service attack
An introduction to denial of service attackAn introduction to denial of service attack
An introduction to denial of service attack
 
Hypothesis testng
Hypothesis testngHypothesis testng
Hypothesis testng
 
dos attacks
dos attacksdos attacks
dos attacks
 
Scientific writing
Scientific writingScientific writing
Scientific writing
 
Dietetics cola presentation
Dietetics cola presentationDietetics cola presentation
Dietetics cola presentation
 
Multivariate data analysis and visualization tools for biological data
Multivariate data analysis and visualization tools for biological dataMultivariate data analysis and visualization tools for biological data
Multivariate data analysis and visualization tools for biological data
 
MULTIVARIATE STATISTICAL MODELS’ SYMBOLS
MULTIVARIATE STATISTICAL MODELS’ SYMBOLSMULTIVARIATE STATISTICAL MODELS’ SYMBOLS
MULTIVARIATE STATISTICAL MODELS’ SYMBOLS
 

Similar to 8. Correlation

C6-CHI-SQUARE-OF-INDEPENDENCE.pdf
C6-CHI-SQUARE-OF-INDEPENDENCE.pdfC6-CHI-SQUARE-OF-INDEPENDENCE.pdf
C6-CHI-SQUARE-OF-INDEPENDENCE.pdfEveGraceAlisbo
 
Artificial Intelligence (Unit - 8).pdf
Artificial Intelligence   (Unit  -  8).pdfArtificial Intelligence   (Unit  -  8).pdf
Artificial Intelligence (Unit - 8).pdfSathyaNarayanan47813
 
Biostatistics lecture notes 7.ppt
Biostatistics lecture notes 7.pptBiostatistics lecture notes 7.ppt
Biostatistics lecture notes 7.pptletayh2016
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regressionANCYBS
 
Introduction to Statistical Methods
Introduction to Statistical MethodsIntroduction to Statistical Methods
Introduction to Statistical MethodsMichael770443
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regressionAbdelaziz Tayoun
 
Lecture 3 ba 3 statistics for business analytics
Lecture 3 ba 3 statistics for business analyticsLecture 3 ba 3 statistics for business analytics
Lecture 3 ba 3 statistics for business analyticsyogesh ingle
 
how to select the appropriate method for our study of interest
how to select the appropriate method for our study of interest how to select the appropriate method for our study of interest
how to select the appropriate method for our study of interest NurFathihaTahiatSeeu
 
Association between-variables
Association between-variablesAssociation between-variables
Association between-variablesBorhan Uddin
 
Wm 10 portfolio valuation correlation
Wm 10 portfolio valuation  correlationWm 10 portfolio valuation  correlation
Wm 10 portfolio valuation correlationyogesh ingle
 

Similar to 8. Correlation (20)

Correlation
CorrelationCorrelation
Correlation
 
ANOVA test and correlation
ANOVA test and correlationANOVA test and correlation
ANOVA test and correlation
 
C6-CHI-SQUARE-OF-INDEPENDENCE.pdf
C6-CHI-SQUARE-OF-INDEPENDENCE.pdfC6-CHI-SQUARE-OF-INDEPENDENCE.pdf
C6-CHI-SQUARE-OF-INDEPENDENCE.pdf
 
Artificial Intelligence (Unit - 8).pdf
Artificial Intelligence   (Unit  -  8).pdfArtificial Intelligence   (Unit  -  8).pdf
Artificial Intelligence (Unit - 8).pdf
 
Linear Correlation
Linear Correlation Linear Correlation
Linear Correlation
 
Biostatistics lecture notes 7.ppt
Biostatistics lecture notes 7.pptBiostatistics lecture notes 7.ppt
Biostatistics lecture notes 7.ppt
 
Correlation analysis
Correlation analysisCorrelation analysis
Correlation analysis
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regression
 
Introduction to Statistical Methods
Introduction to Statistical MethodsIntroduction to Statistical Methods
Introduction to Statistical Methods
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regression
 
Lecture 3 ba 3 statistics for business analytics
Lecture 3 ba 3 statistics for business analyticsLecture 3 ba 3 statistics for business analytics
Lecture 3 ba 3 statistics for business analytics
 
13943056.ppt
13943056.ppt13943056.ppt
13943056.ppt
 
Correlations
CorrelationsCorrelations
Correlations
 
Inferential statistics correlations
Inferential statistics correlationsInferential statistics correlations
Inferential statistics correlations
 
how to select the appropriate method for our study of interest
how to select the appropriate method for our study of interest how to select the appropriate method for our study of interest
how to select the appropriate method for our study of interest
 
Simple correlation
Simple correlationSimple correlation
Simple correlation
 
Simple linear regressionn and Correlation
Simple linear regressionn and CorrelationSimple linear regressionn and Correlation
Simple linear regressionn and Correlation
 
2-20-04.ppt
2-20-04.ppt2-20-04.ppt
2-20-04.ppt
 
Association between-variables
Association between-variablesAssociation between-variables
Association between-variables
 
Wm 10 portfolio valuation correlation
Wm 10 portfolio valuation  correlationWm 10 portfolio valuation  correlation
Wm 10 portfolio valuation correlation
 

More from Razif Shahril

11. Processing and displaying data
11. Processing and displaying data11. Processing and displaying data
11. Processing and displaying dataRazif Shahril
 
9. Selecting a sample
9. Selecting a sample9. Selecting a sample
9. Selecting a sampleRazif Shahril
 
8. validity and reliability of research instruments
8. validity and reliability of research instruments8. validity and reliability of research instruments
8. validity and reliability of research instrumentsRazif Shahril
 
8. Preparing the report
8. Preparing the report8. Preparing the report
8. Preparing the reportRazif Shahril
 
7. Selecting a data collection method
7. Selecting a data collection method7. Selecting a data collection method
7. Selecting a data collection methodRazif Shahril
 
6. Selecting a study design
6. Selecting a study design6. Selecting a study design
6. Selecting a study designRazif Shahril
 
5. Identifying variables and constructing hypothesis
5. Identifying variables and constructing hypothesis5. Identifying variables and constructing hypothesis
5. Identifying variables and constructing hypothesisRazif Shahril
 
4. Formulating research problems
4. Formulating research problems4. Formulating research problems
4. Formulating research problemsRazif Shahril
 
3. Reviewing the literature
3. Reviewing the literature3. Reviewing the literature
3. Reviewing the literatureRazif Shahril
 
1. Prelude + Introduction to Research Methodology
1. Prelude +  Introduction to Research Methodology1. Prelude +  Introduction to Research Methodology
1. Prelude + Introduction to Research MethodologyRazif Shahril
 
6. Randomised controlled trial
6. Randomised controlled trial6. Randomised controlled trial
6. Randomised controlled trialRazif Shahril
 
2. Case study and case series
2. Case study and case series2. Case study and case series
2. Case study and case seriesRazif Shahril
 
1. Introduction to epidemiological study designs
1. Introduction to epidemiological study designs1. Introduction to epidemiological study designs
1. Introduction to epidemiological study designsRazif Shahril
 
5. Nutrition in emergencies
5. Nutrition in emergencies5. Nutrition in emergencies
5. Nutrition in emergenciesRazif Shahril
 

More from Razif Shahril (20)

10. Ethical issues
10. Ethical issues10. Ethical issues
10. Ethical issues
 
11. Processing and displaying data
11. Processing and displaying data11. Processing and displaying data
11. Processing and displaying data
 
9. Selecting a sample
9. Selecting a sample9. Selecting a sample
9. Selecting a sample
 
8. validity and reliability of research instruments
8. validity and reliability of research instruments8. validity and reliability of research instruments
8. validity and reliability of research instruments
 
8. Preparing the report
8. Preparing the report8. Preparing the report
8. Preparing the report
 
7. Selecting a data collection method
7. Selecting a data collection method7. Selecting a data collection method
7. Selecting a data collection method
 
6. Selecting a study design
6. Selecting a study design6. Selecting a study design
6. Selecting a study design
 
5. Identifying variables and constructing hypothesis
5. Identifying variables and constructing hypothesis5. Identifying variables and constructing hypothesis
5. Identifying variables and constructing hypothesis
 
4. Formulating research problems
4. Formulating research problems4. Formulating research problems
4. Formulating research problems
 
3. Reviewing the literature
3. Reviewing the literature3. Reviewing the literature
3. Reviewing the literature
 
1. Prelude + Introduction to Research Methodology
1. Prelude +  Introduction to Research Methodology1. Prelude +  Introduction to Research Methodology
1. Prelude + Introduction to Research Methodology
 
5. Case control
5. Case control5. Case control
5. Case control
 
6. Randomised controlled trial
6. Randomised controlled trial6. Randomised controlled trial
6. Randomised controlled trial
 
4. Cohort
4. Cohort4. Cohort
4. Cohort
 
3. Cross sectional
3. Cross sectional3. Cross sectional
3. Cross sectional
 
2. Case study and case series
2. Case study and case series2. Case study and case series
2. Case study and case series
 
1. Introduction to epidemiological study designs
1. Introduction to epidemiological study designs1. Introduction to epidemiological study designs
1. Introduction to epidemiological study designs
 
6. Glycemic index
6. Glycemic index6. Glycemic index
6. Glycemic index
 
5. Nutrition in emergencies
5. Nutrition in emergencies5. Nutrition in emergencies
5. Nutrition in emergencies
 
4. World Hunger
4. World Hunger4. World Hunger
4. World Hunger
 

Recently uploaded

College Call Girls in Haridwar 9667172968 Short 4000 Night 10000 Best call gi...
College Call Girls in Haridwar 9667172968 Short 4000 Night 10000 Best call gi...College Call Girls in Haridwar 9667172968 Short 4000 Night 10000 Best call gi...
College Call Girls in Haridwar 9667172968 Short 4000 Night 10000 Best call gi...perfect solution
 
💎VVIP Kolkata Call Girls Parganas🩱7001035870🩱Independent Girl ( Ac Rooms Avai...
💎VVIP Kolkata Call Girls Parganas🩱7001035870🩱Independent Girl ( Ac Rooms Avai...💎VVIP Kolkata Call Girls Parganas🩱7001035870🩱Independent Girl ( Ac Rooms Avai...
💎VVIP Kolkata Call Girls Parganas🩱7001035870🩱Independent Girl ( Ac Rooms Avai...Taniya Sharma
 
Call Girls Visakhapatnam Just Call 9907093804 Top Class Call Girl Service Ava...
Call Girls Visakhapatnam Just Call 9907093804 Top Class Call Girl Service Ava...Call Girls Visakhapatnam Just Call 9907093804 Top Class Call Girl Service Ava...
Call Girls Visakhapatnam Just Call 9907093804 Top Class Call Girl Service Ava...Dipal Arora
 
Call Girls Dehradun Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Dehradun Just Call 9907093804 Top Class Call Girl Service AvailableCall Girls Dehradun Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Dehradun Just Call 9907093804 Top Class Call Girl Service AvailableDipal Arora
 
Call Girls Horamavu WhatsApp Number 7001035870 Meeting With Bangalore Escorts
Call Girls Horamavu WhatsApp Number 7001035870 Meeting With Bangalore EscortsCall Girls Horamavu WhatsApp Number 7001035870 Meeting With Bangalore Escorts
Call Girls Horamavu WhatsApp Number 7001035870 Meeting With Bangalore Escortsvidya singh
 
Call Girls Service Jaipur Grishma WhatsApp ❤8445551418 VIP Call Girls Jaipur
Call Girls Service Jaipur Grishma WhatsApp ❤8445551418 VIP Call Girls JaipurCall Girls Service Jaipur Grishma WhatsApp ❤8445551418 VIP Call Girls Jaipur
Call Girls Service Jaipur Grishma WhatsApp ❤8445551418 VIP Call Girls Jaipurparulsinha
 
Call Girls Coimbatore Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Coimbatore Just Call 9907093804 Top Class Call Girl Service AvailableCall Girls Coimbatore Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Coimbatore Just Call 9907093804 Top Class Call Girl Service AvailableDipal Arora
 
VIP Call Girls Indore Kirti 💚😋 9256729539 🚀 Indore Escorts
VIP Call Girls Indore Kirti 💚😋  9256729539 🚀 Indore EscortsVIP Call Girls Indore Kirti 💚😋  9256729539 🚀 Indore Escorts
VIP Call Girls Indore Kirti 💚😋 9256729539 🚀 Indore Escortsaditipandeya
 
Call Girls Bangalore Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Bangalore Just Call 9907093804 Top Class Call Girl Service AvailableCall Girls Bangalore Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Bangalore Just Call 9907093804 Top Class Call Girl Service AvailableDipal Arora
 
Top Rated Hyderabad Call Girls Erragadda ⟟ 6297143586 ⟟ Call Me For Genuine ...
Top Rated  Hyderabad Call Girls Erragadda ⟟ 6297143586 ⟟ Call Me For Genuine ...Top Rated  Hyderabad Call Girls Erragadda ⟟ 6297143586 ⟟ Call Me For Genuine ...
Top Rated Hyderabad Call Girls Erragadda ⟟ 6297143586 ⟟ Call Me For Genuine ...chandars293
 
Call Girls Gwalior Just Call 8617370543 Top Class Call Girl Service Available
Call Girls Gwalior Just Call 8617370543 Top Class Call Girl Service AvailableCall Girls Gwalior Just Call 8617370543 Top Class Call Girl Service Available
Call Girls Gwalior Just Call 8617370543 Top Class Call Girl Service AvailableDipal Arora
 
Call Girls Service Surat Samaira ❤️🍑 8250192130 👄 Independent Escort Service ...
Call Girls Service Surat Samaira ❤️🍑 8250192130 👄 Independent Escort Service ...Call Girls Service Surat Samaira ❤️🍑 8250192130 👄 Independent Escort Service ...
Call Girls Service Surat Samaira ❤️🍑 8250192130 👄 Independent Escort Service ...CALL GIRLS
 
Russian Call Girls in Jaipur Riya WhatsApp ❤8445551418 VIP Call Girls Jaipur
Russian Call Girls in Jaipur Riya WhatsApp ❤8445551418 VIP Call Girls JaipurRussian Call Girls in Jaipur Riya WhatsApp ❤8445551418 VIP Call Girls Jaipur
Russian Call Girls in Jaipur Riya WhatsApp ❤8445551418 VIP Call Girls Jaipurparulsinha
 
Call Girls Siliguri Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Siliguri Just Call 9907093804 Top Class Call Girl Service AvailableCall Girls Siliguri Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Siliguri Just Call 9907093804 Top Class Call Girl Service AvailableDipal Arora
 
Manyata Tech Park ( Call Girls ) Bangalore ✔ 6297143586 ✔ Hot Model With Sexy...
Manyata Tech Park ( Call Girls ) Bangalore ✔ 6297143586 ✔ Hot Model With Sexy...Manyata Tech Park ( Call Girls ) Bangalore ✔ 6297143586 ✔ Hot Model With Sexy...
Manyata Tech Park ( Call Girls ) Bangalore ✔ 6297143586 ✔ Hot Model With Sexy...vidya singh
 
Call Girls Varanasi Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Varanasi Just Call 9907093804 Top Class Call Girl Service AvailableCall Girls Varanasi Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Varanasi Just Call 9907093804 Top Class Call Girl Service AvailableDipal Arora
 
Call Girls Tirupati Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Tirupati Just Call 9907093804 Top Class Call Girl Service AvailableCall Girls Tirupati Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Tirupati Just Call 9907093804 Top Class Call Girl Service AvailableDipal Arora
 
♛VVIP Hyderabad Call Girls Chintalkunta🖕7001035870🖕Riya Kappor Top Call Girl ...
♛VVIP Hyderabad Call Girls Chintalkunta🖕7001035870🖕Riya Kappor Top Call Girl ...♛VVIP Hyderabad Call Girls Chintalkunta🖕7001035870🖕Riya Kappor Top Call Girl ...
♛VVIP Hyderabad Call Girls Chintalkunta🖕7001035870🖕Riya Kappor Top Call Girl ...astropune
 
(👑VVIP ISHAAN ) Russian Call Girls Service Navi Mumbai🖕9920874524🖕Independent...
(👑VVIP ISHAAN ) Russian Call Girls Service Navi Mumbai🖕9920874524🖕Independent...(👑VVIP ISHAAN ) Russian Call Girls Service Navi Mumbai🖕9920874524🖕Independent...
(👑VVIP ISHAAN ) Russian Call Girls Service Navi Mumbai🖕9920874524🖕Independent...Taniya Sharma
 
Night 7k to 12k Navi Mumbai Call Girl Photo 👉 BOOK NOW 9833363713 👈 ♀️ night ...
Night 7k to 12k Navi Mumbai Call Girl Photo 👉 BOOK NOW 9833363713 👈 ♀️ night ...Night 7k to 12k Navi Mumbai Call Girl Photo 👉 BOOK NOW 9833363713 👈 ♀️ night ...
Night 7k to 12k Navi Mumbai Call Girl Photo 👉 BOOK NOW 9833363713 👈 ♀️ night ...aartirawatdelhi
 

Recently uploaded (20)

College Call Girls in Haridwar 9667172968 Short 4000 Night 10000 Best call gi...
College Call Girls in Haridwar 9667172968 Short 4000 Night 10000 Best call gi...College Call Girls in Haridwar 9667172968 Short 4000 Night 10000 Best call gi...
College Call Girls in Haridwar 9667172968 Short 4000 Night 10000 Best call gi...
 
💎VVIP Kolkata Call Girls Parganas🩱7001035870🩱Independent Girl ( Ac Rooms Avai...
💎VVIP Kolkata Call Girls Parganas🩱7001035870🩱Independent Girl ( Ac Rooms Avai...💎VVIP Kolkata Call Girls Parganas🩱7001035870🩱Independent Girl ( Ac Rooms Avai...
💎VVIP Kolkata Call Girls Parganas🩱7001035870🩱Independent Girl ( Ac Rooms Avai...
 
Call Girls Visakhapatnam Just Call 9907093804 Top Class Call Girl Service Ava...
Call Girls Visakhapatnam Just Call 9907093804 Top Class Call Girl Service Ava...Call Girls Visakhapatnam Just Call 9907093804 Top Class Call Girl Service Ava...
Call Girls Visakhapatnam Just Call 9907093804 Top Class Call Girl Service Ava...
 
Call Girls Dehradun Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Dehradun Just Call 9907093804 Top Class Call Girl Service AvailableCall Girls Dehradun Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Dehradun Just Call 9907093804 Top Class Call Girl Service Available
 
Call Girls Horamavu WhatsApp Number 7001035870 Meeting With Bangalore Escorts
Call Girls Horamavu WhatsApp Number 7001035870 Meeting With Bangalore EscortsCall Girls Horamavu WhatsApp Number 7001035870 Meeting With Bangalore Escorts
Call Girls Horamavu WhatsApp Number 7001035870 Meeting With Bangalore Escorts
 
Call Girls Service Jaipur Grishma WhatsApp ❤8445551418 VIP Call Girls Jaipur
Call Girls Service Jaipur Grishma WhatsApp ❤8445551418 VIP Call Girls JaipurCall Girls Service Jaipur Grishma WhatsApp ❤8445551418 VIP Call Girls Jaipur
Call Girls Service Jaipur Grishma WhatsApp ❤8445551418 VIP Call Girls Jaipur
 
Call Girls Coimbatore Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Coimbatore Just Call 9907093804 Top Class Call Girl Service AvailableCall Girls Coimbatore Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Coimbatore Just Call 9907093804 Top Class Call Girl Service Available
 
VIP Call Girls Indore Kirti 💚😋 9256729539 🚀 Indore Escorts
VIP Call Girls Indore Kirti 💚😋  9256729539 🚀 Indore EscortsVIP Call Girls Indore Kirti 💚😋  9256729539 🚀 Indore Escorts
VIP Call Girls Indore Kirti 💚😋 9256729539 🚀 Indore Escorts
 
Call Girls Bangalore Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Bangalore Just Call 9907093804 Top Class Call Girl Service AvailableCall Girls Bangalore Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Bangalore Just Call 9907093804 Top Class Call Girl Service Available
 
Top Rated Hyderabad Call Girls Erragadda ⟟ 6297143586 ⟟ Call Me For Genuine ...
Top Rated  Hyderabad Call Girls Erragadda ⟟ 6297143586 ⟟ Call Me For Genuine ...Top Rated  Hyderabad Call Girls Erragadda ⟟ 6297143586 ⟟ Call Me For Genuine ...
Top Rated Hyderabad Call Girls Erragadda ⟟ 6297143586 ⟟ Call Me For Genuine ...
 
Call Girls Gwalior Just Call 8617370543 Top Class Call Girl Service Available
Call Girls Gwalior Just Call 8617370543 Top Class Call Girl Service AvailableCall Girls Gwalior Just Call 8617370543 Top Class Call Girl Service Available
Call Girls Gwalior Just Call 8617370543 Top Class Call Girl Service Available
 
Call Girls Service Surat Samaira ❤️🍑 8250192130 👄 Independent Escort Service ...
Call Girls Service Surat Samaira ❤️🍑 8250192130 👄 Independent Escort Service ...Call Girls Service Surat Samaira ❤️🍑 8250192130 👄 Independent Escort Service ...
Call Girls Service Surat Samaira ❤️🍑 8250192130 👄 Independent Escort Service ...
 
Russian Call Girls in Jaipur Riya WhatsApp ❤8445551418 VIP Call Girls Jaipur
Russian Call Girls in Jaipur Riya WhatsApp ❤8445551418 VIP Call Girls JaipurRussian Call Girls in Jaipur Riya WhatsApp ❤8445551418 VIP Call Girls Jaipur
Russian Call Girls in Jaipur Riya WhatsApp ❤8445551418 VIP Call Girls Jaipur
 
Call Girls Siliguri Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Siliguri Just Call 9907093804 Top Class Call Girl Service AvailableCall Girls Siliguri Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Siliguri Just Call 9907093804 Top Class Call Girl Service Available
 
Manyata Tech Park ( Call Girls ) Bangalore ✔ 6297143586 ✔ Hot Model With Sexy...
Manyata Tech Park ( Call Girls ) Bangalore ✔ 6297143586 ✔ Hot Model With Sexy...Manyata Tech Park ( Call Girls ) Bangalore ✔ 6297143586 ✔ Hot Model With Sexy...
Manyata Tech Park ( Call Girls ) Bangalore ✔ 6297143586 ✔ Hot Model With Sexy...
 
Call Girls Varanasi Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Varanasi Just Call 9907093804 Top Class Call Girl Service AvailableCall Girls Varanasi Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Varanasi Just Call 9907093804 Top Class Call Girl Service Available
 
Call Girls Tirupati Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Tirupati Just Call 9907093804 Top Class Call Girl Service AvailableCall Girls Tirupati Just Call 9907093804 Top Class Call Girl Service Available
Call Girls Tirupati Just Call 9907093804 Top Class Call Girl Service Available
 
♛VVIP Hyderabad Call Girls Chintalkunta🖕7001035870🖕Riya Kappor Top Call Girl ...
♛VVIP Hyderabad Call Girls Chintalkunta🖕7001035870🖕Riya Kappor Top Call Girl ...♛VVIP Hyderabad Call Girls Chintalkunta🖕7001035870🖕Riya Kappor Top Call Girl ...
♛VVIP Hyderabad Call Girls Chintalkunta🖕7001035870🖕Riya Kappor Top Call Girl ...
 
(👑VVIP ISHAAN ) Russian Call Girls Service Navi Mumbai🖕9920874524🖕Independent...
(👑VVIP ISHAAN ) Russian Call Girls Service Navi Mumbai🖕9920874524🖕Independent...(👑VVIP ISHAAN ) Russian Call Girls Service Navi Mumbai🖕9920874524🖕Independent...
(👑VVIP ISHAAN ) Russian Call Girls Service Navi Mumbai🖕9920874524🖕Independent...
 
Night 7k to 12k Navi Mumbai Call Girl Photo 👉 BOOK NOW 9833363713 👈 ♀️ night ...
Night 7k to 12k Navi Mumbai Call Girl Photo 👉 BOOK NOW 9833363713 👈 ♀️ night ...Night 7k to 12k Navi Mumbai Call Girl Photo 👉 BOOK NOW 9833363713 👈 ♀️ night ...
Night 7k to 12k Navi Mumbai Call Girl Photo 👉 BOOK NOW 9833363713 👈 ♀️ night ...
 

8. Correlation

  • 1. KNOWLEDGE FOR THE BENEFIT OF HUMANITYKNOWLEDGE FOR THE BENEFIT OF HUMANITY BIOSTATISTICS (HFS3283) CORRELATION Dr.Dr. MohdMohd RazifRazif ShahrilShahril School of Nutrition & DieteticsSchool of Nutrition & Dietetics Faculty of Health SciencesFaculty of Health Sciences UniversitiUniversiti SultanSultan ZainalZainal AbidinAbidin 1
  • 2. S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N Topic Learning Outcomes At the end of this lecture, students should be able to; • identify types of correlation analysis and when they are used. • explain assumptions to be met when using Pearson and Spearman correlation. • perform Pearson and Spearman correlation analysis using SPSS. • explain how to interpret the SPSS outputs from Pearson and Spearman correlation analysis. 2
  • 3. S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N Correlation • A measurement of the magnitude and direction of two numerical variables • The estimated correlation value may not be 100% accurate but the stronger is the relationship, the more accurate the estimate. • Involves mainly observation of a certain relationship – No control of manipulation imparted – E.g. what is the correlation between sleeping hours and BMI among UniSZA students 3
  • 4. S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N Aims for correlation • To show three (3) important aspects involved in an association: – Type of correlation – Direction of correlation – Magnitude of correlation 4
  • 5. S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N Uses of correlation • Prediction – E.g. The SPM Trial exam results are used as selection criteria into universities • Validity – To ensure an instrument measures what it should measure – E.g. new digital thermometer vs. clinic thermometer • Reliability – To ensure an instrument always give consistent reading (if other parameters are stable) • Theory verification – E.g. is it true that a relationship exists between an individual’s IQ level and their brain size. 5
  • 6. S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N Bivariate distribution • A distribution showing the association between two (2) numerical variables • Usually illustrated via the Scatter diagram/ plot 6
  • 7. S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N Pearson’s r • The Pearson’s correlation coefficient, r provides the magnitude of a correlation. • According to Pearson’s mathematical procedure, a correlation is linear. • r ranges from 0 (no correlation) to +/- 1.0 (strongest correlation) – The higher the value of r, the stronger is the magnitude of correlation – The symbols + or – indicate the direction of the correlation 7
  • 8. S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N Characteristics of r • Describes only linear correlation • Sensitive towards variability (spread) and range • Can be influenced by sampling variation • Can be influenced by extreme/ outlier values 8
  • 9. S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N Types of correlation • Three main types; – Positive correlation (r = + ; variables change in the same direction) – Negative correlation (r = - ; variables change in the opposite direction) – Zero correlation (r = 0 ; both variable show no association and direction) 9
  • 10. S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N Types of correlation (cont.) 10
  • 11. S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N Types of correlation (cont.) 11
  • 12. S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N Interpretation • A relationship exits between two variables; X & Y • Does not mean any change in X will also alter Y • Does not involve causal relationship (e.g. X causes Y to occur) • If r = 0.50 does not mean 50% relationship 12
  • 13. S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N Interpretation (cont.) CorrelationCorrelation InterpretationInterpretation --1.00 to1.00 to --0.760.76 Strong negative correlationStrong negative correlation --0.510.51 toto --0.750.75 Good negative correlationGood negative correlation --0.50 to0.50 to --0.260.26 Fair negative correlationFair negative correlation --0.25 to 0.010.25 to 0.01 Poor negative correlationPoor negative correlation 00 No correlationNo correlation 0.010.01 to 0.25to 0.25 Poor positive correlationPoor positive correlation 0.26 to 0.500.26 to 0.50 Fair positive correlationFair positive correlation 0.51 to 0.750.51 to 0.75 Good positive correlationGood positive correlation 0.76 to 1.000.76 to 1.00 Strong positive correlationStrong positive correlation 13
  • 14. S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N Linear vs. Non-linear correlation • Not all correlations are linear • Sometimes correlation can be non-linear e.g. Curvilinear – Score are concentrated on a curved line • The Pearson’s coefficient is not suitable to quantify this relationship 14
  • 15. S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N Linear vs. Non-linear correlation 15 Positive linear r = 0.82 Negative linear r = -0.70 Independent r = 0.00 Curvilinear r = 0.00 Curvilinear r = 0.00
  • 16. S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N Simple example on correlation • Research Question: Is sleeping duration (hrs) correlated with exam score (marks)? • Null Hypothesis: There is no correlation between sleeping duration (hrs) and exam score (marks) • Results: If r = -0.89; p < 0.05; n = 220 • Interpretation: The correlation is negative i.e. as the sleeping duration increase, the exam score will decrease and vise versa. – The large magnitude of correlation (nearing 1.00) means the association is strong 16
  • 17. S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N Assumptions • The data is drawn from a random sample of population. • The data is independent observation to each other. • The variables of interest are having bivariate normal distribution. • The relationship between the two variables must be linear. 17 11 22 33 44
  • 18. S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N Assumption 3 – Linearity 18 11 22 33
  • 19. S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N Assumption 3 – Linearity (cont.) 19 44 55 66 77
  • 20. S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N Assumption 3 – Linearity (cont.) 20 The relationship between the two variables is linear based on the elliptical shape.
  • 21. S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N If assumptions are not met? • If both variable does not meet all assumptions, then use Spearmen’s correlation analysis. – Values obtained would be Spearmen’s correlation coefficient  (rho). • If any one of the variable meet all assumption, proceed with Pearson’s correlation analysis – Values obtained is Pearson’s correlation coefficient r. 21
  • 22. S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N Correlation in SPSS 22 11 22 33 44 66 55 For normal distribution, we can use Pearson’s test. For non-normal distribution, we can proceed to Spearman’s test.
  • 23. S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N SPSS Output 23
  • 24. S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N SPSS Output Interpretation 24 • In correlation, look at the correlation coefficient which is the strength of relationship instead of the p value. – Even though the coefficient is weak, the p value is usually significant depending upon the sample size. • In this analysis the p value is < 0.05, therefore we reject the null hypothesis.
  • 25. S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N SPSS Output Interpretation (cont.) 25 • There is a significant (linear) correlation between sleeping duration and exam score (p< 0.001). The observed correlation coefficient (r) is 0.337, which suggests positive and fair correlation. It suggests that higher the duration of sleeping, the higher the exam scores.
  • 26. S C H O O L O F N U T R I T I O N A N D D I E T E T I C S • U N I V E R S I T I S U L T A N Z A I N A L A B I D I N Results presentation 26 Exam score (marks) r p value* Sleeping duration (hrs) 0. 337 < 0.001 * Pearson’s correlation Table: Correlation between sleeping duration (hrs) and exam score (marks)