SlideShare a Scribd company logo
05/04/14 Dr Tarek Amin 1
Investigating the Relationship
between Two orMore Variables
(Correlation)
Professor Tarek Tawfik Amin
Public Health, Faculty of Medicine
Cairo University
amin55@myway.com
The Relationship Between Variables
Variables can be categorized into two types when investigating
their relationship:
Dependent:
A dependent variable is explained oraffected
by an independent variable. Age and height
Independent :
Two variables are independent if the pattern of
variation in the scores forone variable is not
related orassociated with variation in the scores
forthe othervariable.
The level of education in Ecuadorand the infant
mortality in Mali
Techniques used to Analyze the Relationship between Two
Variables
Method Examples
I- Tabularand graphical methods:
These present data in way that reveals a
possible relationship between two
variables.
II-Numerical methods:
Mathematical operations used to quantify,
in a single number, the strength of a
relationship (measures of association).
When both variables are measured at least
at the ordinal level they also indicate the
direction of the relationship.
Bivariate table for categorical data
(nominal/ordinal data)
Scatter plot for interval/ratio.
Lambda, Cramer’s V (nominal)
Gamma, Somer’s d, Kendall’s tau-b/c
(ordinal with few values)
Spearman’s rank order Co/Co.
(ordinal scales with many values)
Pearson’s product moment correlation
(Interval/ratio)
These techniques are called collectively as
Bi-variate descriptive statistics
Correlation: indications
o Correlational techniques are used to study
relationships.
o They may be used in exploratory studies in
which one to intent to determine whether
relationships exist,
o And in hypothesis testing about a particular
relationship.
Correlations techniques used to
assess
the existence,
the direction
and the strength
of association between
variables.
Pearson Correlation (Numeric, interval/ratio)
The Pearson product moment correlation coefficient (rorrho)
is the usual method by which the relation between two
variables is quantified.
Type of data required:
Interval/ratio sometimes ordinal data.
At least two measures on each subjects at the
interval/ratio level.
Assumptions:
The sample must be representative of the population.
The variables that are being correlated must be normally
distributed.
The relationship between variables must be LINEAR.
Directions of Correlations on ScatterPlot
Positive Negative
No Correlation
Non-linear(Curvilinear(
05/04/14 Dr Tarek Amin 8
Relationships Measured with Correlation Coefficient
The correlation coefficient is the cross products
of the Z-scores.
[ ]( )nzXzYr ∑=
Where:
ZX= the z-score of variable X
ZY= the z-score of variable Y
N= number of observations
 Because the means and standard deviations
of any given two sets of variables are
different, we cannot directly compare the
two scores.
 However, we can, transform them from the
ordinary absolute figures to Z-scores with a
mean of 0 and SDof 1.
 The correlation is the mean of the cross-
products of the Z-score foreach value
included, a measure of how much each pair
of observations (scores) varies together.
Tips
Correlation Coefficient (r)
The correlation coefficient r allows us to
state mathematically the relationship that
exists between two variables. The correlation
coefficient may range from +1.00 through 0.00 to – 1.00.
 A + 1.00 indicates a perfect positive
relationship,
 0.00 indicates no relationship,
 and -1.00 indicates a perfect negative
relationship.
I-Strength of the Correlation Coefficient
How large r should forit to be useful?
In decision making at least 0.95 while those concerning
human behaviors 0.5 is fair.
The strengths of r are as follow:
0.00-0.25 little if any.
0.26 -0.49 LOW
0.50- 0.69 Moderate
0.70 - 0.89 High
0.90 – 1.00 Very high .
II-Significance of the Correlation
The level of statistical significance is greatly
affected by the sample size n.
If r is based on a sample of 1,000, there is much
greaterlikelihood that it represents the r of the
population than if it were based on 10 subjects.
‘ With large sample sizes rs that are described as
demonstrating (little if any) relationship are
statistically significant’
Statistical significance implies that r
did not occurby chance, the
relationship is greaterthan zero.
- The correlation coefficient also tell us the type
of relation that exists; that is, whetheris
positive ornegative.
- The relationship between job satisfaction and job
turnoverhas been shown to be negative; an
inverse relationship exists between them.
When one variable increases, the other decreases.
- Those with highergrades have lowerdropout rates
(a positive relationship).
Increases in the score of one variable is accompanied by
increase in the other.
III- Direction of correlation
Relationships Measured by Correlation
Coefficients:
When using the formula with Z-scores, ris the
average of the corss-products of the Z-scores.
[ ]( )nzXzYr ∑=
A five subjects took a quiz X, on which the scores ranged from
6to 10 and an examination Y, on which the scores ranged form
82to 98.
Calculate r and determine the pattern of correlation?
05/04/14 Dr Tarek Amin 16
Formula forcalculating correlation coefficient r.
[ ]( )nzXzYr ∑=
A perfect positive relationship between two variables.
Subjects X (quiz) Y
(examination
)
zX zY zX*zY
1
2
3
4
5
6
7
8
9
10
82
86
90
94
98
-1.42
-0.71
0.00
0.71
1.42
-1.42
0.71
0.00
0.71
1.42
2.0
0.5
0.0
0.5
2.0
mean X= 8, SD=1.41 mean Y= 90 sd=5.66 ∑zXzY= 5.00
r= ∑zXzY/n =
5.00/5 = +1
Positive Correlation
80
82
84
86
88
90
92
94
96
98
100
0 5 10 15
X score
Yscore
Perfect negative relationship
Subjects X Y zX zY zXzY
1
2
3
4
5
6
7
8
9
10
98
94
90
86
82
-1.42
-0.71
00.0
0.71
1.42
1.42
0.71
0.00
-0.71
-1.42
-2.0
-0.5
0.0
-0.71
-2.0
Mean X =8
SD= 1.41
Mean Y= 90
SD= 5.66
zXzY= -5.00∑
[ ]( )nzXzYr ∑= - =5.0/5-=1.0
Negative Correlation
80
82
84
86
88
90
92
94
96
98
100
0 5 10 15
X score
Yscore
No relationship
Subjects X Y zX zY zXzY
1
2
3
4
5
6
7
8
9
10
94
82
90
98
86
-1.42
-0.71
0.00
0.71
1.42
0.71
-1.42
0.00
1.42
-0.71
-1.0
1.0
0.0
1.0
-1.0
Mean X= 8
SD= 1.41
Mean Y= 90
SD= 5.66
zXzY= 0.00∑
r=0.00/5=0.00
No Correlation
80
82
84
86
88
90
92
94
96
98
100
0 5 10 15
X score
Yscore
The following table is SPSS output describing the correlation between age, education in years,
smoking history, satisfaction with the current weight, and the overall state of health fora randomly
selected subjects.
Overall state
of health
Satisfaction
with current
weight
Smoking
history
Education in
years
Subject's
age
1.000
.
434
Subject's age
Pearson Correlation
Sig.(2 tailed)
N
.022
.649
419
Education in years
Pearson Correlation
Sig.(2 tailed)
N
-.108*
.026
423
.143**
.003
432
Smoking history
Pearson Correlation
Sig.(2 tailed)
N
-.009
.849
440
.033
.493
424
-.077
.109
432
Satisfaction with current
weight
Pearson Correlation
Sig.(2 tailed)
N
1.000
.
444
.370*
.000
443
-.200*
.000
441
.149**
.000
425
-.126**
.009
433
Overall state of health
Pearson Correlation
Sig.(2 tailed)
N
*Correlation is significant at the 0.05 level (2-tailed(.
** Correlation is significant at the 0.01 level (2-tailed).
Figure (1): Insulin resistance (HOMA-IR) in relation to
serum ferritin level among cases and controls.
Ferritin (log)
2.82.62.42.22.01.8
HOMA-RI
8
7
6
5
4
3
2
Controls
Sickle
Total Population
r=0.804, P=0.0001
Figure (2): 1,25 (OH) vitamin D in relation to body mass
index among obese and lean controls.
Body mass index
5040302010
VitaminDlevel
100
80
60
40
20
0
Lean
Obese
Total Population
r= -.166, P=0.036
05/04/14 Dr Tarek Amin 26
Thank you

More Related Content

What's hot

Simple linear regression (final)
Simple linear regression (final)Simple linear regression (final)
Simple linear regression (final)Harsh Upadhyay
 
Point Estimation
Point EstimationPoint Estimation
Point Estimation
DataminingTools Inc
 
Correlation and Regression
Correlation and RegressionCorrelation and Regression
Correlation and Regression
jasondroesch
 
Correlation analysis
Correlation analysis Correlation analysis
Correlation analysis
Anil Pokhrel
 
Correlation
CorrelationCorrelation
Correlation
Anjali Awasthi
 
Correlations using SPSS
Correlations using SPSSCorrelations using SPSS
Correlations using SPSS
Christine Pereira Ask Brunel
 
Measures of Variation
Measures of VariationMeasures of Variation
Measures of Variation
Rica Joy Pontilar
 
Regression Analysis
Regression AnalysisRegression Analysis
Regression Analysis
ASAD ALI
 
Estimation in statistics
Estimation in statisticsEstimation in statistics
Estimation in statistics
Rabea Jamal
 
coefficient correlation
 coefficient correlation coefficient correlation
coefficient correlation
irshad narejo
 
Bivariate data
Bivariate dataBivariate data
Bivariate data
julienorman80065
 
Correlation
CorrelationCorrelation
Correlation
James Neill
 
multiple regression
multiple regressionmultiple regression
multiple regression
Priya Sharma
 
T distribution
T distributionT distribution
T distribution
Stephan Jade Navarro
 
correlation and regression
correlation and regressioncorrelation and regression
correlation and regression
Unsa Shakir
 
Statistics - Simple Linear and Multiple Linear Regression
Statistics - Simple Linear and Multiple Linear RegressionStatistics - Simple Linear and Multiple Linear Regression
Statistics - Simple Linear and Multiple Linear Regression
Bryll Edison Par
 

What's hot (20)

Simple linear regression (final)
Simple linear regression (final)Simple linear regression (final)
Simple linear regression (final)
 
Confidence Intervals
Confidence IntervalsConfidence Intervals
Confidence Intervals
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
Point Estimation
Point EstimationPoint Estimation
Point Estimation
 
Correlation and Regression
Correlation and RegressionCorrelation and Regression
Correlation and Regression
 
Correlation analysis
Correlation analysis Correlation analysis
Correlation analysis
 
Correlation
CorrelationCorrelation
Correlation
 
Correlations using SPSS
Correlations using SPSSCorrelations using SPSS
Correlations using SPSS
 
Measures of Variation
Measures of VariationMeasures of Variation
Measures of Variation
 
Regression Analysis
Regression AnalysisRegression Analysis
Regression Analysis
 
Confidence interval
Confidence intervalConfidence interval
Confidence interval
 
Estimation in statistics
Estimation in statisticsEstimation in statistics
Estimation in statistics
 
coefficient correlation
 coefficient correlation coefficient correlation
coefficient correlation
 
Bivariate data
Bivariate dataBivariate data
Bivariate data
 
Correlation
CorrelationCorrelation
Correlation
 
multiple regression
multiple regressionmultiple regression
multiple regression
 
T distribution
T distributionT distribution
T distribution
 
Z test
Z testZ test
Z test
 
correlation and regression
correlation and regressioncorrelation and regression
correlation and regression
 
Statistics - Simple Linear and Multiple Linear Regression
Statistics - Simple Linear and Multiple Linear RegressionStatistics - Simple Linear and Multiple Linear Regression
Statistics - Simple Linear and Multiple Linear Regression
 

Viewers also liked

4 formulating the research design2
4 formulating the research design24 formulating the research design2
4 formulating the research design2Forensic Pathology
 
processng and analysis of data
 processng and analysis of data processng and analysis of data
processng and analysis of data
Aruna Poddar
 
Sampling techniques
Sampling techniquesSampling techniques
Sampling techniquesnashratahir
 
Correlation & Linear Regression
Correlation & Linear RegressionCorrelation & Linear Regression
Correlation & Linear Regression
Azmi Mohd Tamil
 
Data processing and analysis final
Data processing and analysis finalData processing and analysis final
Data processing and analysis finalAkul10
 
Chapter research design
Chapter  research designChapter  research design
Chapter research designkishor bhamare
 
Data processing cycle
Data processing cycleData processing cycle
Data processing cycle
Shanmugam Thiagoo
 
Discriminant analysis
Discriminant analysisDiscriminant analysis
Discriminant analysis
Amritashish Bagchi
 
Business Research
Business ResearchBusiness Research
Business Research
Bismillah Textiles Ltd
 
Data processing
Data processingData processing
Data processing
Dr. Shalini Pandey
 
Data collection methods
Data collection methodsData collection methods
Data collection methodsashima_sodhi
 
Research data collection methods and tools
Research data collection methods and toolsResearch data collection methods and tools
Research data collection methods and toolsLikhila Abraham
 
Analysis of covariance
Analysis of covarianceAnalysis of covariance
Analysis of covariancemikko656
 
Welcome to Portsmouth Diocese
Welcome to Portsmouth DioceseWelcome to Portsmouth Diocese
Welcome to Portsmouth Diocese
CAFOD
 
장차법과 웹접근성 웹음성서비스 제안서
장차법과 웹접근성 웹음성서비스 제안서장차법과 웹접근성 웹음성서비스 제안서
장차법과 웹접근성 웹음성서비스 제안서Justin Shin
 

Viewers also liked (20)

4 formulating the research design2
4 formulating the research design24 formulating the research design2
4 formulating the research design2
 
processng and analysis of data
 processng and analysis of data processng and analysis of data
processng and analysis of data
 
cross tabulation
 cross tabulation cross tabulation
cross tabulation
 
Sampling techniques
Sampling techniquesSampling techniques
Sampling techniques
 
Correlation & Linear Regression
Correlation & Linear RegressionCorrelation & Linear Regression
Correlation & Linear Regression
 
Data processing and analysis final
Data processing and analysis finalData processing and analysis final
Data processing and analysis final
 
Chapter research design
Chapter  research designChapter  research design
Chapter research design
 
Data processing cycle
Data processing cycleData processing cycle
Data processing cycle
 
Discriminant analysis
Discriminant analysisDiscriminant analysis
Discriminant analysis
 
Business Research
Business ResearchBusiness Research
Business Research
 
sampling
samplingsampling
sampling
 
Chapter 1-INTRODUCTION TO RESEARCH
Chapter 1-INTRODUCTION TO RESEARCHChapter 1-INTRODUCTION TO RESEARCH
Chapter 1-INTRODUCTION TO RESEARCH
 
Data processing
Data processingData processing
Data processing
 
Data collection methods
Data collection methodsData collection methods
Data collection methods
 
Research data collection methods and tools
Research data collection methods and toolsResearch data collection methods and tools
Research data collection methods and tools
 
Analysis of covariance
Analysis of covarianceAnalysis of covariance
Analysis of covariance
 
Fulfilment: Psalm 2
Fulfilment: Psalm 2Fulfilment: Psalm 2
Fulfilment: Psalm 2
 
Can I Succeed?
Can I Succeed?Can I Succeed?
Can I Succeed?
 
Welcome to Portsmouth Diocese
Welcome to Portsmouth DioceseWelcome to Portsmouth Diocese
Welcome to Portsmouth Diocese
 
장차법과 웹접근성 웹음성서비스 제안서
장차법과 웹접근성 웹음성서비스 제안서장차법과 웹접근성 웹음성서비스 제안서
장차법과 웹접근성 웹음성서비스 제안서
 

Similar to Linear Correlation

Measure of Association
Measure of AssociationMeasure of Association
Measure of Association
Kalahandi University
 
Correlation analysis notes
Correlation analysis notesCorrelation analysis notes
Correlation analysis notes
Japheth Muthama
 
Correlation Analysis for MSc in Development Finance .pdf
Correlation Analysis for MSc in Development Finance .pdfCorrelation Analysis for MSc in Development Finance .pdf
Correlation Analysis for MSc in Development Finance .pdf
ErnestNgehTingum
 
Correlation and Regression
Correlation and Regression Correlation and Regression
Correlation and Regression
Dr. Tushar J Bhatt
 
Power point presentationCORRELATION.pptx
Power point presentationCORRELATION.pptxPower point presentationCORRELATION.pptx
Power point presentationCORRELATION.pptx
Simran Kaur
 
Association between-variables
Association between-variablesAssociation between-variables
Association between-variables
Borhan Uddin
 
Association between-variables
Association between-variablesAssociation between-variables
Association between-variables
Borhan Uddin
 
ch 13 Correlation and regression.doc
ch 13 Correlation  and regression.docch 13 Correlation  and regression.doc
ch 13 Correlation and regression.doc
AbedurRahman5
 
5 regressionand correlation
5 regressionand correlation5 regressionand correlation
5 regressionand correlation
Lama K Banna
 
2-20-04.ppt
2-20-04.ppt2-20-04.ppt
2-20-04.ppt
ayaan522797
 
Correlation
CorrelationCorrelation
Correlation
HemamaliniSakthivel
 
Hph7310week2winter2009narr
Hph7310week2winter2009narrHph7310week2winter2009narr
Hph7310week2winter2009narrSarah
 
Unit 1 Correlation- BSRM.pdf
Unit 1 Correlation- BSRM.pdfUnit 1 Correlation- BSRM.pdf
Unit 1 Correlation- BSRM.pdf
Ravinandan A P
 
Multivariate Analysis Degree of association between two variable - Test of Ho...
Multivariate Analysis Degree of association between two variable- Test of Ho...Multivariate Analysis Degree of association between two variable- Test of Ho...
Multivariate Analysis Degree of association between two variable - Test of Ho...
NiezelPertimos
 
Ch 7 correlation_and_linear_regression
Ch 7 correlation_and_linear_regressionCh 7 correlation_and_linear_regression
Ch 7 correlation_and_linear_regression
Omar (TUBBS 128) Ventura VII
 
Applied statistics part 4
Applied statistics part  4Applied statistics part  4
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regression
Antony Raj
 
Covariance and correlation(Dereje JIMA)
Covariance and correlation(Dereje JIMA)Covariance and correlation(Dereje JIMA)
Covariance and correlation(Dereje JIMA)
Dereje Jima
 

Similar to Linear Correlation (20)

Measure of Association
Measure of AssociationMeasure of Association
Measure of Association
 
Correlation analysis notes
Correlation analysis notesCorrelation analysis notes
Correlation analysis notes
 
Correlation Analysis for MSc in Development Finance .pdf
Correlation Analysis for MSc in Development Finance .pdfCorrelation Analysis for MSc in Development Finance .pdf
Correlation Analysis for MSc in Development Finance .pdf
 
Correlation and Regression
Correlation and Regression Correlation and Regression
Correlation and Regression
 
Power point presentationCORRELATION.pptx
Power point presentationCORRELATION.pptxPower point presentationCORRELATION.pptx
Power point presentationCORRELATION.pptx
 
Association between-variables
Association between-variablesAssociation between-variables
Association between-variables
 
Association between-variables
Association between-variablesAssociation between-variables
Association between-variables
 
ch 13 Correlation and regression.doc
ch 13 Correlation  and regression.docch 13 Correlation  and regression.doc
ch 13 Correlation and regression.doc
 
Simple linear regressionn and Correlation
Simple linear regressionn and CorrelationSimple linear regressionn and Correlation
Simple linear regressionn and Correlation
 
5 regressionand correlation
5 regressionand correlation5 regressionand correlation
5 regressionand correlation
 
Correlational Research
Correlational ResearchCorrelational Research
Correlational Research
 
2-20-04.ppt
2-20-04.ppt2-20-04.ppt
2-20-04.ppt
 
Correlation
CorrelationCorrelation
Correlation
 
Hph7310week2winter2009narr
Hph7310week2winter2009narrHph7310week2winter2009narr
Hph7310week2winter2009narr
 
Unit 1 Correlation- BSRM.pdf
Unit 1 Correlation- BSRM.pdfUnit 1 Correlation- BSRM.pdf
Unit 1 Correlation- BSRM.pdf
 
Multivariate Analysis Degree of association between two variable - Test of Ho...
Multivariate Analysis Degree of association between two variable- Test of Ho...Multivariate Analysis Degree of association between two variable- Test of Ho...
Multivariate Analysis Degree of association between two variable - Test of Ho...
 
Ch 7 correlation_and_linear_regression
Ch 7 correlation_and_linear_regressionCh 7 correlation_and_linear_regression
Ch 7 correlation_and_linear_regression
 
Applied statistics part 4
Applied statistics part  4Applied statistics part  4
Applied statistics part 4
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regression
 
Covariance and correlation(Dereje JIMA)
Covariance and correlation(Dereje JIMA)Covariance and correlation(Dereje JIMA)
Covariance and correlation(Dereje JIMA)
 

More from Tarek Tawfik Amin

Publishing of an article
Publishing of an article Publishing of an article
Publishing of an article
Tarek Tawfik Amin
 
Blinding in clinical trilas
Blinding in clinical trilas Blinding in clinical trilas
Blinding in clinical trilas
Tarek Tawfik Amin
 
Clincal trails phases
Clincal trails  phasesClincal trails  phases
Clincal trails phases
Tarek Tawfik Amin
 
Clinical trials designs
Clinical trials designsClinical trials designs
Clinical trials designs
Tarek Tawfik Amin
 
Scientific writing
Scientific writing Scientific writing
Scientific writing
Tarek Tawfik Amin
 
Bias and confounding
Bias and confoundingBias and confounding
Bias and confounding
Tarek Tawfik Amin
 
Data collection
Data collection Data collection
Data collection
Tarek Tawfik Amin
 
Epidemiology of physical activity in the Middle East
Epidemiology of physical activity in the Middle EastEpidemiology of physical activity in the Middle East
Epidemiology of physical activity in the Middle East
Tarek Tawfik Amin
 
Cancer Epidemiology part II
Cancer Epidemiology part IICancer Epidemiology part II
Cancer Epidemiology part II
Tarek Tawfik Amin
 
Cancer Epidemiology part I
Cancer Epidemiology part ICancer Epidemiology part I
Cancer Epidemiology part I
Tarek Tawfik Amin
 
Community Diagnosis
Community DiagnosisCommunity Diagnosis
Community Diagnosis
Tarek Tawfik Amin
 
Ebola virus disease
Ebola virus diseaseEbola virus disease
Ebola virus disease
Tarek Tawfik Amin
 
Plagiarism
Plagiarism Plagiarism
Plagiarism
Tarek Tawfik Amin
 
Screening test (basic concepts)
Screening test (basic concepts)Screening test (basic concepts)
Screening test (basic concepts)
Tarek Tawfik Amin
 
Public awareness
Public awarenessPublic awareness
Public awareness
Tarek Tawfik Amin
 
Health education and adults learning.
Health education and adults learning. Health education and adults learning.
Health education and adults learning.
Tarek Tawfik Amin
 
Breast cancer risk factors
Breast cancer risk factors Breast cancer risk factors
Breast cancer risk factors
Tarek Tawfik Amin
 
Types of epidemics and epidemic investigations
Types of epidemics and epidemic investigationsTypes of epidemics and epidemic investigations
Types of epidemics and epidemic investigations
Tarek Tawfik Amin
 
Samples Types and Methods
Samples Types and Methods Samples Types and Methods
Samples Types and Methods
Tarek Tawfik Amin
 
Competency based education in Public Health
Competency based education in Public HealthCompetency based education in Public Health
Competency based education in Public Health
Tarek Tawfik Amin
 

More from Tarek Tawfik Amin (20)

Publishing of an article
Publishing of an article Publishing of an article
Publishing of an article
 
Blinding in clinical trilas
Blinding in clinical trilas Blinding in clinical trilas
Blinding in clinical trilas
 
Clincal trails phases
Clincal trails  phasesClincal trails  phases
Clincal trails phases
 
Clinical trials designs
Clinical trials designsClinical trials designs
Clinical trials designs
 
Scientific writing
Scientific writing Scientific writing
Scientific writing
 
Bias and confounding
Bias and confoundingBias and confounding
Bias and confounding
 
Data collection
Data collection Data collection
Data collection
 
Epidemiology of physical activity in the Middle East
Epidemiology of physical activity in the Middle EastEpidemiology of physical activity in the Middle East
Epidemiology of physical activity in the Middle East
 
Cancer Epidemiology part II
Cancer Epidemiology part IICancer Epidemiology part II
Cancer Epidemiology part II
 
Cancer Epidemiology part I
Cancer Epidemiology part ICancer Epidemiology part I
Cancer Epidemiology part I
 
Community Diagnosis
Community DiagnosisCommunity Diagnosis
Community Diagnosis
 
Ebola virus disease
Ebola virus diseaseEbola virus disease
Ebola virus disease
 
Plagiarism
Plagiarism Plagiarism
Plagiarism
 
Screening test (basic concepts)
Screening test (basic concepts)Screening test (basic concepts)
Screening test (basic concepts)
 
Public awareness
Public awarenessPublic awareness
Public awareness
 
Health education and adults learning.
Health education and adults learning. Health education and adults learning.
Health education and adults learning.
 
Breast cancer risk factors
Breast cancer risk factors Breast cancer risk factors
Breast cancer risk factors
 
Types of epidemics and epidemic investigations
Types of epidemics and epidemic investigationsTypes of epidemics and epidemic investigations
Types of epidemics and epidemic investigations
 
Samples Types and Methods
Samples Types and Methods Samples Types and Methods
Samples Types and Methods
 
Competency based education in Public Health
Competency based education in Public HealthCompetency based education in Public Health
Competency based education in Public Health
 

Recently uploaded

一比一原版(YU毕业证)约克大学毕业证成绩单
一比一原版(YU毕业证)约克大学毕业证成绩单一比一原版(YU毕业证)约克大学毕业证成绩单
一比一原版(YU毕业证)约克大学毕业证成绩单
enxupq
 
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
Tiktokethiodaily
 
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Subhajit Sahu
 
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project PresentationPredicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Boston Institute of Analytics
 
standardisation of garbhpala offhgfffghh
standardisation of garbhpala offhgfffghhstandardisation of garbhpala offhgfffghh
standardisation of garbhpala offhgfffghh
ArpitMalhotra16
 
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单
ewymefz
 
一比一原版(CBU毕业证)卡普顿大学毕业证如何办理
一比一原版(CBU毕业证)卡普顿大学毕业证如何办理一比一原版(CBU毕业证)卡普顿大学毕业证如何办理
一比一原版(CBU毕业证)卡普顿大学毕业证如何办理
ahzuo
 
一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单
一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单
一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单
nscud
 
一比一原版(BU毕业证)波士顿大学毕业证成绩单
一比一原版(BU毕业证)波士顿大学毕业证成绩单一比一原版(BU毕业证)波士顿大学毕业证成绩单
一比一原版(BU毕业证)波士顿大学毕业证成绩单
ewymefz
 
一比一原版(NYU毕业证)纽约大学毕业证成绩单
一比一原版(NYU毕业证)纽约大学毕业证成绩单一比一原版(NYU毕业证)纽约大学毕业证成绩单
一比一原版(NYU毕业证)纽约大学毕业证成绩单
ewymefz
 
一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
一比一原版(UVic毕业证)维多利亚大学毕业证成绩单一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
ukgaet
 
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
vcaxypu
 
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
ewymefz
 
一比一原版(UniSA毕业证书)南澳大学毕业证如何办理
一比一原版(UniSA毕业证书)南澳大学毕业证如何办理一比一原版(UniSA毕业证书)南澳大学毕业证如何办理
一比一原版(UniSA毕业证书)南澳大学毕业证如何办理
slg6lamcq
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
ewymefz
 
SOCRadar Germany 2024 Threat Landscape Report
SOCRadar Germany 2024 Threat Landscape ReportSOCRadar Germany 2024 Threat Landscape Report
SOCRadar Germany 2024 Threat Landscape Report
SOCRadar
 
Empowering Data Analytics Ecosystem.pptx
Empowering Data Analytics Ecosystem.pptxEmpowering Data Analytics Ecosystem.pptx
Empowering Data Analytics Ecosystem.pptx
benishzehra469
 
Malana- Gimlet Market Analysis (Portfolio 2)
Malana- Gimlet Market Analysis (Portfolio 2)Malana- Gimlet Market Analysis (Portfolio 2)
Malana- Gimlet Market Analysis (Portfolio 2)
TravisMalana
 
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
John Andrews
 
Ch03-Managing the Object-Oriented Information Systems Project a.pdf
Ch03-Managing the Object-Oriented Information Systems Project a.pdfCh03-Managing the Object-Oriented Information Systems Project a.pdf
Ch03-Managing the Object-Oriented Information Systems Project a.pdf
haila53
 

Recently uploaded (20)

一比一原版(YU毕业证)约克大学毕业证成绩单
一比一原版(YU毕业证)约克大学毕业证成绩单一比一原版(YU毕业证)约克大学毕业证成绩单
一比一原版(YU毕业证)约克大学毕业证成绩单
 
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
 
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
 
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project PresentationPredicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
 
standardisation of garbhpala offhgfffghh
standardisation of garbhpala offhgfffghhstandardisation of garbhpala offhgfffghh
standardisation of garbhpala offhgfffghh
 
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单
 
一比一原版(CBU毕业证)卡普顿大学毕业证如何办理
一比一原版(CBU毕业证)卡普顿大学毕业证如何办理一比一原版(CBU毕业证)卡普顿大学毕业证如何办理
一比一原版(CBU毕业证)卡普顿大学毕业证如何办理
 
一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单
一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单
一比一原版(CBU毕业证)不列颠海角大学毕业证成绩单
 
一比一原版(BU毕业证)波士顿大学毕业证成绩单
一比一原版(BU毕业证)波士顿大学毕业证成绩单一比一原版(BU毕业证)波士顿大学毕业证成绩单
一比一原版(BU毕业证)波士顿大学毕业证成绩单
 
一比一原版(NYU毕业证)纽约大学毕业证成绩单
一比一原版(NYU毕业证)纽约大学毕业证成绩单一比一原版(NYU毕业证)纽约大学毕业证成绩单
一比一原版(NYU毕业证)纽约大学毕业证成绩单
 
一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
一比一原版(UVic毕业证)维多利亚大学毕业证成绩单一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
一比一原版(UVic毕业证)维多利亚大学毕业证成绩单
 
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
 
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
 
一比一原版(UniSA毕业证书)南澳大学毕业证如何办理
一比一原版(UniSA毕业证书)南澳大学毕业证如何办理一比一原版(UniSA毕业证书)南澳大学毕业证如何办理
一比一原版(UniSA毕业证书)南澳大学毕业证如何办理
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
 
SOCRadar Germany 2024 Threat Landscape Report
SOCRadar Germany 2024 Threat Landscape ReportSOCRadar Germany 2024 Threat Landscape Report
SOCRadar Germany 2024 Threat Landscape Report
 
Empowering Data Analytics Ecosystem.pptx
Empowering Data Analytics Ecosystem.pptxEmpowering Data Analytics Ecosystem.pptx
Empowering Data Analytics Ecosystem.pptx
 
Malana- Gimlet Market Analysis (Portfolio 2)
Malana- Gimlet Market Analysis (Portfolio 2)Malana- Gimlet Market Analysis (Portfolio 2)
Malana- Gimlet Market Analysis (Portfolio 2)
 
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
 
Ch03-Managing the Object-Oriented Information Systems Project a.pdf
Ch03-Managing the Object-Oriented Information Systems Project a.pdfCh03-Managing the Object-Oriented Information Systems Project a.pdf
Ch03-Managing the Object-Oriented Information Systems Project a.pdf
 

Linear Correlation

  • 1. 05/04/14 Dr Tarek Amin 1 Investigating the Relationship between Two orMore Variables (Correlation) Professor Tarek Tawfik Amin Public Health, Faculty of Medicine Cairo University amin55@myway.com
  • 2. The Relationship Between Variables Variables can be categorized into two types when investigating their relationship: Dependent: A dependent variable is explained oraffected by an independent variable. Age and height Independent : Two variables are independent if the pattern of variation in the scores forone variable is not related orassociated with variation in the scores forthe othervariable. The level of education in Ecuadorand the infant mortality in Mali
  • 3. Techniques used to Analyze the Relationship between Two Variables Method Examples I- Tabularand graphical methods: These present data in way that reveals a possible relationship between two variables. II-Numerical methods: Mathematical operations used to quantify, in a single number, the strength of a relationship (measures of association). When both variables are measured at least at the ordinal level they also indicate the direction of the relationship. Bivariate table for categorical data (nominal/ordinal data) Scatter plot for interval/ratio. Lambda, Cramer’s V (nominal) Gamma, Somer’s d, Kendall’s tau-b/c (ordinal with few values) Spearman’s rank order Co/Co. (ordinal scales with many values) Pearson’s product moment correlation (Interval/ratio) These techniques are called collectively as Bi-variate descriptive statistics
  • 4. Correlation: indications o Correlational techniques are used to study relationships. o They may be used in exploratory studies in which one to intent to determine whether relationships exist, o And in hypothesis testing about a particular relationship.
  • 5. Correlations techniques used to assess the existence, the direction and the strength of association between variables.
  • 6. Pearson Correlation (Numeric, interval/ratio) The Pearson product moment correlation coefficient (rorrho) is the usual method by which the relation between two variables is quantified. Type of data required: Interval/ratio sometimes ordinal data. At least two measures on each subjects at the interval/ratio level. Assumptions: The sample must be representative of the population. The variables that are being correlated must be normally distributed. The relationship between variables must be LINEAR.
  • 7. Directions of Correlations on ScatterPlot Positive Negative No Correlation Non-linear(Curvilinear(
  • 8. 05/04/14 Dr Tarek Amin 8 Relationships Measured with Correlation Coefficient The correlation coefficient is the cross products of the Z-scores. [ ]( )nzXzYr ∑= Where: ZX= the z-score of variable X ZY= the z-score of variable Y N= number of observations
  • 9.  Because the means and standard deviations of any given two sets of variables are different, we cannot directly compare the two scores.  However, we can, transform them from the ordinary absolute figures to Z-scores with a mean of 0 and SDof 1.  The correlation is the mean of the cross- products of the Z-score foreach value included, a measure of how much each pair of observations (scores) varies together. Tips
  • 10. Correlation Coefficient (r) The correlation coefficient r allows us to state mathematically the relationship that exists between two variables. The correlation coefficient may range from +1.00 through 0.00 to – 1.00.  A + 1.00 indicates a perfect positive relationship,  0.00 indicates no relationship,  and -1.00 indicates a perfect negative relationship.
  • 11. I-Strength of the Correlation Coefficient How large r should forit to be useful? In decision making at least 0.95 while those concerning human behaviors 0.5 is fair. The strengths of r are as follow: 0.00-0.25 little if any. 0.26 -0.49 LOW 0.50- 0.69 Moderate 0.70 - 0.89 High 0.90 – 1.00 Very high .
  • 12. II-Significance of the Correlation The level of statistical significance is greatly affected by the sample size n. If r is based on a sample of 1,000, there is much greaterlikelihood that it represents the r of the population than if it were based on 10 subjects.
  • 13. ‘ With large sample sizes rs that are described as demonstrating (little if any) relationship are statistically significant’ Statistical significance implies that r did not occurby chance, the relationship is greaterthan zero.
  • 14. - The correlation coefficient also tell us the type of relation that exists; that is, whetheris positive ornegative. - The relationship between job satisfaction and job turnoverhas been shown to be negative; an inverse relationship exists between them. When one variable increases, the other decreases. - Those with highergrades have lowerdropout rates (a positive relationship). Increases in the score of one variable is accompanied by increase in the other. III- Direction of correlation
  • 15. Relationships Measured by Correlation Coefficients: When using the formula with Z-scores, ris the average of the corss-products of the Z-scores. [ ]( )nzXzYr ∑= A five subjects took a quiz X, on which the scores ranged from 6to 10 and an examination Y, on which the scores ranged form 82to 98. Calculate r and determine the pattern of correlation?
  • 16. 05/04/14 Dr Tarek Amin 16 Formula forcalculating correlation coefficient r. [ ]( )nzXzYr ∑=
  • 17. A perfect positive relationship between two variables. Subjects X (quiz) Y (examination ) zX zY zX*zY 1 2 3 4 5 6 7 8 9 10 82 86 90 94 98 -1.42 -0.71 0.00 0.71 1.42 -1.42 0.71 0.00 0.71 1.42 2.0 0.5 0.0 0.5 2.0 mean X= 8, SD=1.41 mean Y= 90 sd=5.66 ∑zXzY= 5.00 r= ∑zXzY/n = 5.00/5 = +1
  • 19. Perfect negative relationship Subjects X Y zX zY zXzY 1 2 3 4 5 6 7 8 9 10 98 94 90 86 82 -1.42 -0.71 00.0 0.71 1.42 1.42 0.71 0.00 -0.71 -1.42 -2.0 -0.5 0.0 -0.71 -2.0 Mean X =8 SD= 1.41 Mean Y= 90 SD= 5.66 zXzY= -5.00∑ [ ]( )nzXzYr ∑= - =5.0/5-=1.0
  • 21. No relationship Subjects X Y zX zY zXzY 1 2 3 4 5 6 7 8 9 10 94 82 90 98 86 -1.42 -0.71 0.00 0.71 1.42 0.71 -1.42 0.00 1.42 -0.71 -1.0 1.0 0.0 1.0 -1.0 Mean X= 8 SD= 1.41 Mean Y= 90 SD= 5.66 zXzY= 0.00∑ r=0.00/5=0.00
  • 23. The following table is SPSS output describing the correlation between age, education in years, smoking history, satisfaction with the current weight, and the overall state of health fora randomly selected subjects. Overall state of health Satisfaction with current weight Smoking history Education in years Subject's age 1.000 . 434 Subject's age Pearson Correlation Sig.(2 tailed) N .022 .649 419 Education in years Pearson Correlation Sig.(2 tailed) N -.108* .026 423 .143** .003 432 Smoking history Pearson Correlation Sig.(2 tailed) N -.009 .849 440 .033 .493 424 -.077 .109 432 Satisfaction with current weight Pearson Correlation Sig.(2 tailed) N 1.000 . 444 .370* .000 443 -.200* .000 441 .149** .000 425 -.126** .009 433 Overall state of health Pearson Correlation Sig.(2 tailed) N *Correlation is significant at the 0.05 level (2-tailed(. ** Correlation is significant at the 0.01 level (2-tailed).
  • 24. Figure (1): Insulin resistance (HOMA-IR) in relation to serum ferritin level among cases and controls. Ferritin (log) 2.82.62.42.22.01.8 HOMA-RI 8 7 6 5 4 3 2 Controls Sickle Total Population r=0.804, P=0.0001
  • 25. Figure (2): 1,25 (OH) vitamin D in relation to body mass index among obese and lean controls. Body mass index 5040302010 VitaminDlevel 100 80 60 40 20 0 Lean Obese Total Population r= -.166, P=0.036
  • 26. 05/04/14 Dr Tarek Amin 26 Thank you