SlideShare a Scribd company logo
1 of 40
Section 10.2-1
Copyright © 2014, 2012, 2010 Pearson Education, Inc.
Lecture Slides
Elementary Statistics
Twelfth Edition
and the Triola Statistics Series
by Mario F. Triola
Section 10.2-2
Copyright © 2014, 2012, 2010 Pearson Education, Inc.
Chapter 10
Correlation and Regression
10-1 Review and Preview
10-2 Correlation
10-3 Regression
Section 10.2-3
Copyright © 2014, 2012, 2010 Pearson Education, Inc.
Key Concept
In part 1 of this section introduces the linear correlation
coefficient, r, which is a number that measures how well
paired sample data fit a straight-line pattern when
graphed.
Using paired sample data (sometimes called bivariate
data), we find the value of r (usually using technology),
then we use that value to conclude that there is (or is not)
a linear correlation between the two variables.
Section 10.2-4
Copyright © 2014, 2012, 2010 Pearson Education, Inc.
Key Concept
In this section we consider only linear relationships,
which means that when graphed, the points approximate
a straight-line pattern.
In Part 2, we discuss methods of hypothesis testing for
correlation.
Section 10.2-5
Copyright © 2014, 2012, 2010 Pearson Education, Inc.
Part 1: Basic Concepts of Correlation
Section 10.2-6
Copyright © 2014, 2012, 2010 Pearson Education, Inc.
Definition
A correlation exists between two variables when the
values of one are somehow associated with the values
of the other in some way.
A linear correlation exists between two variables when
there is a correlation and the plotted points of paired
data result in a pattern that can be approximated by a
straight line.
Section 10.2-7
Copyright © 2014, 2012, 2010 Pearson Education, Inc.
Exploring the Data
We can often see a relationship between two variables by
constructing a scatterplot.
The following slides show scatterplots with different characteristics.
Section 10.2-8
Copyright © 2014, 2012, 2010 Pearson Education, Inc.
Scatterplots of Paired Data
Section 10.2-9
Copyright © 2014, 2012, 2010 Pearson Education, Inc.
Scatterplots of Paired Data
Section 10.2-10
Copyright © 2014, 2012, 2010 Pearson Education, Inc.
Requirements for
Linear Correlation
1. The sample of paired (x, y) data is a simple random
sample of quantitative data.
2. Visual examination of the scatterplot must confirm that
the points approximate a straight-line pattern.
3. The outliers must be removed if they are known to be
errors. The effects of any other outliers should be
considered by calculating r with and without the
outliers included.
Section 10.2-11
Copyright © 2014, 2012, 2010 Pearson Education, Inc.
Notation for the
Linear Correlation Coefficient
2
number of pairs of sample data
denotes the addition of the items indicated
sum of all -values
indicates that each -value should be squared and then those squares add
n
x x
x x



 
2
ed
indicates that each -value should be added and the total then squared
indicates each -value is multiplied by its corresponding -value. Then sum those up.
linear correlation
x x
xy x y
r


coefficient for sample data
linear correlation coefficient for a population of paired data

Section 10.2-12
Copyright © 2014, 2012, 2010 Pearson Education, Inc.
The linear correlation coefficient r measures the strength
of a linear relationship between the paired values in a
sample. Here are two formulas:
Formula
Zx = (x – xbar)/sx
Zy = (y – ybar)/sy
Section 10.2-13
Copyright © 2014, 2012, 2010 Pearson Education, Inc.
Interpreting r
Using Table A-6: If the absolute value of the computed
value of r, exceeds the value in Table A-6, conclude that
there is a linear correlation. Otherwise, there is not
sufficient evidence to support the conclusion of a linear
correlation.
Using Software: If the computed P-value is less than or
equal to the significance level, conclude that there is a
linear correlation. Otherwise, there is not sufficient
evidence to support the conclusion of a linear correlation.
P Value <= alpha maka ada korelasi
Section 10.2-14
Copyright © 2014, 2012, 2010 Pearson Education, Inc.
Properties of the
Linear Correlation Coefficient r
1. – 1 ≤ r ≤ 1
2. If all values of either variable are converted to a different
scale, the value of r does not change.
3. The value of r is not affected by the choice of x and y.
Interchange all x- and y-values and the value of r will not
change.
4. r measures strength of a linear relationship.
5. r is very sensitive to outliers, which can dramatically
affect the value of r.
Section 10.2-15
Copyright © 2014, 2012, 2010 Pearson Education, Inc.
Example
The paired shoe / height data from five males are listed
below. Use a computer or a calculator to find the value
of the correlation coefficient r.
Section 10.2-16
Copyright © 2014, 2012, 2010 Pearson Education, Inc.
Example - Continued
Requirement Check: The data are a simple random
sample of quantitative data, the plotted points appear to
roughly approximate a straight-line pattern, and there
are no outliers.
Section 10.2-17
Copyright © 2014, 2012, 2010 Pearson Education, Inc.
FORMULA 10.1
Section 10.2-18
Copyright © 2014, 2012, 2010 Pearson Education, Inc.
FORMULA 10.2
Xbar 30.04
Sx 1.668
Ybar 177.3
Sy 4.874
Section 10.2-19
Copyright © 2014, 2012, 2010 Pearson Education, Inc.
Example - Continued
A few technologies are displayed below, used to
calculate the value of r.
Section 10.2-20
Copyright © 2014, 2012, 2010 Pearson Education, Inc.
Is There a Linear Correlation?
We found previously for the shoe and height example that
r = 0.591.
We now proceed to interpret its meaning.
Our goal is to decide whether or not there appears to be a
linear correlation between shoe print lengths and heights
of people.
We can base our interpretation on a P-value or a critical
value from Table A-6.
Section 10.2-21
Copyright © 2014, 2012, 2010 Pearson Education, Inc.
Interpreting the Linear
Correlation Coefficient r
Using computer software:
If the P-value is less than the level of significance,
conclude there is a linear correlation.
Our example with technologies provided a P-value of
0.294.
Because that P-value is not less than the significance
level of 0.05, we conclude there is not sufficient evidence
to support the conclusion that there is a linear correlation
between shoe print length and heights of people.
Section 10.2-22
Copyright © 2014, 2012, 2010 Pearson Education, Inc.
Interpreting the Linear
Correlation Coefficient r
Using Table A-6:
Table A-6 yields r = 0.878 for five pairs of data and a 0.05
level of significance. Since our correlation was r = 0.591,
we conclude there is not sufficient evidence to support the
claim of a linear correlation.
Section 10.2-23
Copyright © 2014, 2012, 2010 Pearson Education, Inc.
Interpreting r:
Explained Variation
The value of r2 is the proportion of the variation in y that is
explained by the linear relationship between x and y.
Section 10.2-24
Copyright © 2014, 2012, 2010 Pearson Education, Inc.
Example
We found previously for the shoe and height example that
r = 0.591.
With r = 0.591, we get r2 = 0.349.
We conclude that about 34.9% of the variation in height
can be explained by the linear relationship between
lengths of shoe prints and heights.
Section 10.2-25
Copyright © 2014, 2012, 2010 Pearson Education, Inc.
Common Errors
Involving Correlation
1. Causation: It is wrong to conclude that correlation
implies causality.
2. Averages: Averages suppress individual variation and
may inflate the correlation coefficient.
3. Linearity: There may be some relationship between x
and y even when there is no linear correlation.
Section 10.2-26
Copyright © 2014, 2012, 2010 Pearson Education, Inc.
Caution
Know that correlation does not imply causality.
Section 10.2-27
Copyright © 2014, 2012, 2010 Pearson Education, Inc.
Part 2: Formal Hypothesis Test
Section 10.2-28
Copyright © 2014, 2012, 2010 Pearson Education, Inc.
Formal Hypothesis Test
We wish to determine whether there is a significant linear
correlation between two variables.
Notation:
n = number of pairs of sample data
r = linear correlation coefficient for a sample of paired data
ρ = linear correlation coefficient for a population of paired data
Section 10.2-29
Copyright © 2014, 2012, 2010 Pearson Education, Inc.
Hypothesis Test for Correlation
Requirements
1. The sample of paired (x, y) data is a simple random
sample of quantitative data.
2. Visual examination of the scatterplot must confirm that
the points approximate a straight-line pattern.
3. The outliers must be removed if they are known to be
errors. The effects of any other outliers should be
considered by calculating r with and without the
outliers included.
Section 10.2-30
Copyright © 2014, 2012, 2010 Pearson Education, Inc.
Hypothesis Test for Correlation
Hypotheses
Critical Values: Refer to Table A-6.
P-values: Refer to technology.
Test Statistic: r
0
1
: 0 (There is no linear correlation.)
: 0 (There is a linear correlation.)
H
H




Section 10.2-31
Copyright © 2014, 2012, 2010 Pearson Education, Inc.
Hypothesis Test for Correlation
If | r | > critical value from Table A-6, reject the null
hypothesis and conclude that there is sufficient evidence
to support the claim of a linear correlation.
If | r | ≤ critical value from Table A-6, fail to reject the null
hypothesis and conclude that there is not sufficient
evidence to support the claim of a linear correlation.
Section 10.2-32
Copyright © 2014, 2012, 2010 Pearson Education, Inc.
Example
We found previously for the shoe and height example that
r = 0.591.
Conduct a formal hypothesis test of the claim that there is
a linear correlation between the two variables.
Use a 0.05 significance level.
Section 10.2-33
Copyright © 2014, 2012, 2010 Pearson Education, Inc.
Example - Continued
We test the claim:
With the test statistic r = 0.591 from the earlier example.
The critical values of r = ± 0.878 are found in Table A-6
with n = 5 and α = 0.05.
We fail to reject the null and conclude there is not
sufficient evidence to support the claim of a linear
correlation.
0
1
: 0 (There is no linear correlation)
: 0 (There is a linear correlation)
H
H




Section 10.2-34
Copyright © 2014, 2012, 2010 Pearson Education, Inc.
P-Value Method for a Hypothesis
Test for Linear Correlation
2
1
2
r
t
r
n



The test statistic is below, use n – 2 degrees of freedom.
P-values can be found using software or Table A-3.
Section 10.2-35
Copyright © 2014, 2012, 2010 Pearson Education, Inc.
Example
Continuing the same example, we calculate the test
statistic:
Table A-3 shows this test statistic yields a P-value that is
greater than 0.20. Technology provides the P-value as
0.2937.
2 2
0.591
1.269
1 1 0.591
2 5 2
r
t
r
n
  
 
 
Section 10.2-36
Copyright © 2014, 2012, 2010 Pearson Education, Inc.
Example - Continued
Because the P-value of 0.2937 is greater than the
significance level of 0.05, we fail to reject the null
hypothesis.
We conclude there is not sufficient evidence to support
the claim of a linear correlation between shoe print length
and heights.
Section 10.2-37
Copyright © 2014, 2012, 2010 Pearson Education, Inc.
One-Tailed Tests
One-tailed tests can occur with a claim of a positive linear
correlation or a claim of a negative linear correlation. In
such cases, the hypotheses will be as shown here.
For these one-tailed tests, the P-value method can be used as in
earlier chapters.
Section 10.2-38
Copyright © 2014, 2012, 2010 Pearson Education, Inc.
Section 10.2-39
Copyright © 2014, 2012, 2010 Pearson Education, Inc.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 10.1 - 40
SYARAT
KORELASI
HIPOTESIS STATISTICS KEPUTUSAN &
KESIMPULAN
• Pasangan data
(x,y) merupakan
simpel random
sampling dari
data kuantitatif
• Sebaran (x,y)
cenderung
membentuk garis
lurus
• Data bebas dari
outlier
 Claim to correlation
H0 : = 0
(tdk berkorelasi linier)
Ha : ≠ 0
(berkorelasi linier)
 Claim to negative
correlation
H0 : ≥ 0
Ha :  < 0
• Claim to positif
correlation
H0 : ≥ 0
Ha :  > 0
 Dengan P-Value
df = n - 2
Tabel t
NB:
r di cari dengan rumus
Pearson
Reject H0:
(berkorelasi)
jika P-value ≤
Fail to Reject H0:
(tidak berkorelasi)
jika P-value > 
 Dengan Critical
Value:
Gunakan tabel Korelasi
Pearson (A-5)
rtabel = r; n
Reject H0:
Jika | r | > rtabel/kritis
Atau
1) r > rtabel
2) –r < - rtabel
Fail to Reject H0:
-rtabel ≤ rhitung ≤ rtabel
UJI HIPOTESIS KORELASI PEARSON

More Related Content

Similar to 12.1 Korelasi (1).pptx

Chapter 7 Section 2.ppt
Chapter 7 Section 2.pptChapter 7 Section 2.ppt
Chapter 7 Section 2.pptManoloTaquire
 
Chap13 additional topics in regression analysis
Chap13 additional topics in regression analysisChap13 additional topics in regression analysis
Chap13 additional topics in regression analysisJudianto Nugroho
 
Chapter 9 Section 4.ppt
Chapter 9 Section 4.pptChapter 9 Section 4.ppt
Chapter 9 Section 4.pptManoloTaquire
 
Chapter 9 Section 2.ppt
Chapter 9 Section 2.pptChapter 9 Section 2.ppt
Chapter 9 Section 2.pptManoloTaquire
 
Chapter 7 Section 4(1).ppt
Chapter 7 Section 4(1).pptChapter 7 Section 4(1).ppt
Chapter 7 Section 4(1).pptManoloTaquire
 
Chapter 9 Section 3.ppt
Chapter 9 Section 3.pptChapter 9 Section 3.ppt
Chapter 9 Section 3.pptManoloTaquire
 
Chapter 8 Section 3.ppt
Chapter 8 Section 3.pptChapter 8 Section 3.ppt
Chapter 8 Section 3.pptManoloTaquire
 
Chapter 7 Section 3.ppt
Chapter 7 Section 3.pptChapter 7 Section 3.ppt
Chapter 7 Section 3.pptManoloTaquire
 
Chapter 9 Section 5.ppt
Chapter 9 Section 5.pptChapter 9 Section 5.ppt
Chapter 9 Section 5.pptManoloTaquire
 
Assessing relative importance using rsp scoring to generate
Assessing relative importance using rsp scoring to generateAssessing relative importance using rsp scoring to generate
Assessing relative importance using rsp scoring to generateDaniel Koh
 
Assessing Relative Importance using RSP Scoring to Generate VIF
Assessing Relative Importance using RSP Scoring to Generate VIFAssessing Relative Importance using RSP Scoring to Generate VIF
Assessing Relative Importance using RSP Scoring to Generate VIFDaniel Koh
 
BUS 308 – Week 4 Lecture 2 Interpreting Relationships .docx
BUS 308 – Week 4 Lecture 2 Interpreting Relationships .docxBUS 308 – Week 4 Lecture 2 Interpreting Relationships .docx
BUS 308 – Week 4 Lecture 2 Interpreting Relationships .docxcurwenmichaela
 
BUS 308 – Week 4 Lecture 2 Interpreting Relationships .docx
BUS 308 – Week 4 Lecture 2 Interpreting Relationships .docxBUS 308 – Week 4 Lecture 2 Interpreting Relationships .docx
BUS 308 – Week 4 Lecture 2 Interpreting Relationships .docxjasoninnes20
 
Chapter 1 Section 3.ppt
Chapter 1 Section 3.pptChapter 1 Section 3.ppt
Chapter 1 Section 3.pptManoloTaquire
 
A NEW CORRELATION COEFFICIENT AND A DECOMPOSITION OF THE PEARSON COEFFICIENT
A NEW CORRELATION COEFFICIENT AND A DECOMPOSITION OF THE PEARSON COEFFICIENTA NEW CORRELATION COEFFICIENT AND A DECOMPOSITION OF THE PEARSON COEFFICIENT
A NEW CORRELATION COEFFICIENT AND A DECOMPOSITION OF THE PEARSON COEFFICIENTSavas Papadopoulos, Ph.D
 
45Reliability Demonstration Testing for Discrete-Type Software Products Based...
45Reliability Demonstration Testing for Discrete-Type Software Products Based...45Reliability Demonstration Testing for Discrete-Type Software Products Based...
45Reliability Demonstration Testing for Discrete-Type Software Products Based...idescitation
 
Airlines.xlsxDATADestinationSouthwest Fare ($)US Airways Fare .docx
Airlines.xlsxDATADestinationSouthwest Fare ($)US Airways Fare .docxAirlines.xlsxDATADestinationSouthwest Fare ($)US Airways Fare .docx
Airlines.xlsxDATADestinationSouthwest Fare ($)US Airways Fare .docxdaniahendric
 
17.5 introduction to functions
17.5 introduction to functions17.5 introduction to functions
17.5 introduction to functionsGlenSchlee
 
manecohuhuhuhubasicEstimation-1.pptx
manecohuhuhuhubasicEstimation-1.pptxmanecohuhuhuhubasicEstimation-1.pptx
manecohuhuhuhubasicEstimation-1.pptxasdfg hjkl
 

Similar to 12.1 Korelasi (1).pptx (20)

Chapter 7 Section 2.ppt
Chapter 7 Section 2.pptChapter 7 Section 2.ppt
Chapter 7 Section 2.ppt
 
Chap13 additional topics in regression analysis
Chap13 additional topics in regression analysisChap13 additional topics in regression analysis
Chap13 additional topics in regression analysis
 
Chapter 9 Section 4.ppt
Chapter 9 Section 4.pptChapter 9 Section 4.ppt
Chapter 9 Section 4.ppt
 
probable-error.pdf
probable-error.pdfprobable-error.pdf
probable-error.pdf
 
Chapter 9 Section 2.ppt
Chapter 9 Section 2.pptChapter 9 Section 2.ppt
Chapter 9 Section 2.ppt
 
Chapter 7 Section 4(1).ppt
Chapter 7 Section 4(1).pptChapter 7 Section 4(1).ppt
Chapter 7 Section 4(1).ppt
 
Chapter 9 Section 3.ppt
Chapter 9 Section 3.pptChapter 9 Section 3.ppt
Chapter 9 Section 3.ppt
 
Chapter 8 Section 3.ppt
Chapter 8 Section 3.pptChapter 8 Section 3.ppt
Chapter 8 Section 3.ppt
 
Chapter 7 Section 3.ppt
Chapter 7 Section 3.pptChapter 7 Section 3.ppt
Chapter 7 Section 3.ppt
 
Chapter 9 Section 5.ppt
Chapter 9 Section 5.pptChapter 9 Section 5.ppt
Chapter 9 Section 5.ppt
 
Assessing relative importance using rsp scoring to generate
Assessing relative importance using rsp scoring to generateAssessing relative importance using rsp scoring to generate
Assessing relative importance using rsp scoring to generate
 
Assessing Relative Importance using RSP Scoring to Generate VIF
Assessing Relative Importance using RSP Scoring to Generate VIFAssessing Relative Importance using RSP Scoring to Generate VIF
Assessing Relative Importance using RSP Scoring to Generate VIF
 
BUS 308 – Week 4 Lecture 2 Interpreting Relationships .docx
BUS 308 – Week 4 Lecture 2 Interpreting Relationships .docxBUS 308 – Week 4 Lecture 2 Interpreting Relationships .docx
BUS 308 – Week 4 Lecture 2 Interpreting Relationships .docx
 
BUS 308 – Week 4 Lecture 2 Interpreting Relationships .docx
BUS 308 – Week 4 Lecture 2 Interpreting Relationships .docxBUS 308 – Week 4 Lecture 2 Interpreting Relationships .docx
BUS 308 – Week 4 Lecture 2 Interpreting Relationships .docx
 
Chapter 1 Section 3.ppt
Chapter 1 Section 3.pptChapter 1 Section 3.ppt
Chapter 1 Section 3.ppt
 
A NEW CORRELATION COEFFICIENT AND A DECOMPOSITION OF THE PEARSON COEFFICIENT
A NEW CORRELATION COEFFICIENT AND A DECOMPOSITION OF THE PEARSON COEFFICIENTA NEW CORRELATION COEFFICIENT AND A DECOMPOSITION OF THE PEARSON COEFFICIENT
A NEW CORRELATION COEFFICIENT AND A DECOMPOSITION OF THE PEARSON COEFFICIENT
 
45Reliability Demonstration Testing for Discrete-Type Software Products Based...
45Reliability Demonstration Testing for Discrete-Type Software Products Based...45Reliability Demonstration Testing for Discrete-Type Software Products Based...
45Reliability Demonstration Testing for Discrete-Type Software Products Based...
 
Airlines.xlsxDATADestinationSouthwest Fare ($)US Airways Fare .docx
Airlines.xlsxDATADestinationSouthwest Fare ($)US Airways Fare .docxAirlines.xlsxDATADestinationSouthwest Fare ($)US Airways Fare .docx
Airlines.xlsxDATADestinationSouthwest Fare ($)US Airways Fare .docx
 
17.5 introduction to functions
17.5 introduction to functions17.5 introduction to functions
17.5 introduction to functions
 
manecohuhuhuhubasicEstimation-1.pptx
manecohuhuhuhubasicEstimation-1.pptxmanecohuhuhuhubasicEstimation-1.pptx
manecohuhuhuhubasicEstimation-1.pptx
 

Recently uploaded

08448380779 Call Girls In Chhattarpur Women Seeking Men
08448380779 Call Girls In Chhattarpur Women Seeking Men08448380779 Call Girls In Chhattarpur Women Seeking Men
08448380779 Call Girls In Chhattarpur Women Seeking MenDelhi Call girls
 
"Fly with Ease: Booking Your Flights with Air Europa"
"Fly with Ease: Booking Your Flights with Air Europa""Fly with Ease: Booking Your Flights with Air Europa"
"Fly with Ease: Booking Your Flights with Air Europa"flyn goo
 
best weekend places near delhi where you should visit.pdf
best weekend places near delhi where you should visit.pdfbest weekend places near delhi where you should visit.pdf
best weekend places near delhi where you should visit.pdftour guide
 
Hoi An Ancient Town, Vietnam (越南 會安古鎮).ppsx
Hoi An Ancient Town, Vietnam (越南 會安古鎮).ppsxHoi An Ancient Town, Vietnam (越南 會安古鎮).ppsx
Hoi An Ancient Town, Vietnam (越南 會安古鎮).ppsxChung Yen Chang
 
Akshay Mehndiratta Summer Special Light Meal Ideas From Across India.pptx
Akshay Mehndiratta Summer Special Light Meal Ideas From Across India.pptxAkshay Mehndiratta Summer Special Light Meal Ideas From Across India.pptx
Akshay Mehndiratta Summer Special Light Meal Ideas From Across India.pptxAkshay Mehndiratta
 
9 Days Kenya Ultimate Safari Odyssey with Kibera Holiday Safaris
9 Days Kenya Ultimate Safari Odyssey with Kibera Holiday Safaris9 Days Kenya Ultimate Safari Odyssey with Kibera Holiday Safaris
9 Days Kenya Ultimate Safari Odyssey with Kibera Holiday SafarisKibera Holiday Safaris Safaris
 
08448380779 Call Girls In Shahdara Women Seeking Men
08448380779 Call Girls In Shahdara Women Seeking Men08448380779 Call Girls In Shahdara Women Seeking Men
08448380779 Call Girls In Shahdara Women Seeking MenDelhi Call girls
 
visa consultant | 📞📞 03094429236 || Best Study Visa Consultant
visa consultant | 📞📞 03094429236 || Best Study Visa Consultantvisa consultant | 📞📞 03094429236 || Best Study Visa Consultant
visa consultant | 📞📞 03094429236 || Best Study Visa ConsultantSherazi Tours
 
A Comprehensive Guide to The Types of Dubai Residence Visas.pdf
A Comprehensive Guide to The Types of Dubai Residence Visas.pdfA Comprehensive Guide to The Types of Dubai Residence Visas.pdf
A Comprehensive Guide to The Types of Dubai Residence Visas.pdfDisha Global Tours
 
Visa Consultant in Lahore || 📞03094429236
Visa Consultant in Lahore || 📞03094429236Visa Consultant in Lahore || 📞03094429236
Visa Consultant in Lahore || 📞03094429236Sherazi Tours
 
char Dham yatra, Uttarakhand tourism.pptx
char Dham yatra, Uttarakhand tourism.pptxchar Dham yatra, Uttarakhand tourism.pptx
char Dham yatra, Uttarakhand tourism.pptxpalakdigital7
 
Exploring Sicily Your Comprehensive Ebook Travel Guide
Exploring Sicily Your Comprehensive Ebook Travel GuideExploring Sicily Your Comprehensive Ebook Travel Guide
Exploring Sicily Your Comprehensive Ebook Travel GuideTime for Sicily
 
Dubai Call Girls O528786472 Call Girls Dubai Big Juicy
Dubai Call Girls O528786472 Call Girls Dubai Big JuicyDubai Call Girls O528786472 Call Girls Dubai Big Juicy
Dubai Call Girls O528786472 Call Girls Dubai Big Juicyhf8803863
 
BERMUDA Triangle the mystery of life.pptx
BERMUDA Triangle the mystery of life.pptxBERMUDA Triangle the mystery of life.pptx
BERMUDA Triangle the mystery of life.pptxseribangash
 
08448380779 Call Girls In Chirag Enclave Women Seeking Men
08448380779 Call Girls In Chirag Enclave Women Seeking Men08448380779 Call Girls In Chirag Enclave Women Seeking Men
08448380779 Call Girls In Chirag Enclave Women Seeking MenDelhi Call girls
 
How can I fly with the British Airways Unaccompanied Minor Policy?
How can I fly with the British Airways Unaccompanied Minor Policy?How can I fly with the British Airways Unaccompanied Minor Policy?
How can I fly with the British Airways Unaccompanied Minor Policy?flightsvillacom
 
Study Consultants in Lahore || 📞03094429236
Study Consultants in Lahore || 📞03094429236Study Consultants in Lahore || 📞03094429236
Study Consultants in Lahore || 📞03094429236Sherazi Tours
 

Recently uploaded (20)

08448380779 Call Girls In Chhattarpur Women Seeking Men
08448380779 Call Girls In Chhattarpur Women Seeking Men08448380779 Call Girls In Chhattarpur Women Seeking Men
08448380779 Call Girls In Chhattarpur Women Seeking Men
 
Rohini Sector 18 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 18 Call Girls Delhi 9999965857 @Sabina Saikh No AdvanceRohini Sector 18 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 18 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
 
"Fly with Ease: Booking Your Flights with Air Europa"
"Fly with Ease: Booking Your Flights with Air Europa""Fly with Ease: Booking Your Flights with Air Europa"
"Fly with Ease: Booking Your Flights with Air Europa"
 
best weekend places near delhi where you should visit.pdf
best weekend places near delhi where you should visit.pdfbest weekend places near delhi where you should visit.pdf
best weekend places near delhi where you should visit.pdf
 
Hoi An Ancient Town, Vietnam (越南 會安古鎮).ppsx
Hoi An Ancient Town, Vietnam (越南 會安古鎮).ppsxHoi An Ancient Town, Vietnam (越南 會安古鎮).ppsx
Hoi An Ancient Town, Vietnam (越南 會安古鎮).ppsx
 
Akshay Mehndiratta Summer Special Light Meal Ideas From Across India.pptx
Akshay Mehndiratta Summer Special Light Meal Ideas From Across India.pptxAkshay Mehndiratta Summer Special Light Meal Ideas From Across India.pptx
Akshay Mehndiratta Summer Special Light Meal Ideas From Across India.pptx
 
9 Days Kenya Ultimate Safari Odyssey with Kibera Holiday Safaris
9 Days Kenya Ultimate Safari Odyssey with Kibera Holiday Safaris9 Days Kenya Ultimate Safari Odyssey with Kibera Holiday Safaris
9 Days Kenya Ultimate Safari Odyssey with Kibera Holiday Safaris
 
08448380779 Call Girls In Shahdara Women Seeking Men
08448380779 Call Girls In Shahdara Women Seeking Men08448380779 Call Girls In Shahdara Women Seeking Men
08448380779 Call Girls In Shahdara Women Seeking Men
 
visa consultant | 📞📞 03094429236 || Best Study Visa Consultant
visa consultant | 📞📞 03094429236 || Best Study Visa Consultantvisa consultant | 📞📞 03094429236 || Best Study Visa Consultant
visa consultant | 📞📞 03094429236 || Best Study Visa Consultant
 
A Comprehensive Guide to The Types of Dubai Residence Visas.pdf
A Comprehensive Guide to The Types of Dubai Residence Visas.pdfA Comprehensive Guide to The Types of Dubai Residence Visas.pdf
A Comprehensive Guide to The Types of Dubai Residence Visas.pdf
 
Visa Consultant in Lahore || 📞03094429236
Visa Consultant in Lahore || 📞03094429236Visa Consultant in Lahore || 📞03094429236
Visa Consultant in Lahore || 📞03094429236
 
Call Girls 🫤 Connaught Place ➡️ 9999965857 ➡️ Delhi 🫦 Russian Escorts FULL ...
Call Girls 🫤 Connaught Place ➡️ 9999965857  ➡️ Delhi 🫦  Russian Escorts FULL ...Call Girls 🫤 Connaught Place ➡️ 9999965857  ➡️ Delhi 🫦  Russian Escorts FULL ...
Call Girls 🫤 Connaught Place ➡️ 9999965857 ➡️ Delhi 🫦 Russian Escorts FULL ...
 
char Dham yatra, Uttarakhand tourism.pptx
char Dham yatra, Uttarakhand tourism.pptxchar Dham yatra, Uttarakhand tourism.pptx
char Dham yatra, Uttarakhand tourism.pptx
 
Exploring Sicily Your Comprehensive Ebook Travel Guide
Exploring Sicily Your Comprehensive Ebook Travel GuideExploring Sicily Your Comprehensive Ebook Travel Guide
Exploring Sicily Your Comprehensive Ebook Travel Guide
 
Dubai Call Girls O528786472 Call Girls Dubai Big Juicy
Dubai Call Girls O528786472 Call Girls Dubai Big JuicyDubai Call Girls O528786472 Call Girls Dubai Big Juicy
Dubai Call Girls O528786472 Call Girls Dubai Big Juicy
 
BERMUDA Triangle the mystery of life.pptx
BERMUDA Triangle the mystery of life.pptxBERMUDA Triangle the mystery of life.pptx
BERMUDA Triangle the mystery of life.pptx
 
08448380779 Call Girls In Chirag Enclave Women Seeking Men
08448380779 Call Girls In Chirag Enclave Women Seeking Men08448380779 Call Girls In Chirag Enclave Women Seeking Men
08448380779 Call Girls In Chirag Enclave Women Seeking Men
 
How can I fly with the British Airways Unaccompanied Minor Policy?
How can I fly with the British Airways Unaccompanied Minor Policy?How can I fly with the British Airways Unaccompanied Minor Policy?
How can I fly with the British Airways Unaccompanied Minor Policy?
 
Study Consultants in Lahore || 📞03094429236
Study Consultants in Lahore || 📞03094429236Study Consultants in Lahore || 📞03094429236
Study Consultants in Lahore || 📞03094429236
 
Call Girls In Munirka 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICE
Call Girls In Munirka 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICECall Girls In Munirka 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICE
Call Girls In Munirka 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICE
 

12.1 Korelasi (1).pptx

  • 1. Section 10.2-1 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series by Mario F. Triola
  • 2. Section 10.2-2 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Chapter 10 Correlation and Regression 10-1 Review and Preview 10-2 Correlation 10-3 Regression
  • 3. Section 10.2-3 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Key Concept In part 1 of this section introduces the linear correlation coefficient, r, which is a number that measures how well paired sample data fit a straight-line pattern when graphed. Using paired sample data (sometimes called bivariate data), we find the value of r (usually using technology), then we use that value to conclude that there is (or is not) a linear correlation between the two variables.
  • 4. Section 10.2-4 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Key Concept In this section we consider only linear relationships, which means that when graphed, the points approximate a straight-line pattern. In Part 2, we discuss methods of hypothesis testing for correlation.
  • 5. Section 10.2-5 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Part 1: Basic Concepts of Correlation
  • 6. Section 10.2-6 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Definition A correlation exists between two variables when the values of one are somehow associated with the values of the other in some way. A linear correlation exists between two variables when there is a correlation and the plotted points of paired data result in a pattern that can be approximated by a straight line.
  • 7. Section 10.2-7 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Exploring the Data We can often see a relationship between two variables by constructing a scatterplot. The following slides show scatterplots with different characteristics.
  • 8. Section 10.2-8 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Scatterplots of Paired Data
  • 9. Section 10.2-9 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Scatterplots of Paired Data
  • 10. Section 10.2-10 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Requirements for Linear Correlation 1. The sample of paired (x, y) data is a simple random sample of quantitative data. 2. Visual examination of the scatterplot must confirm that the points approximate a straight-line pattern. 3. The outliers must be removed if they are known to be errors. The effects of any other outliers should be considered by calculating r with and without the outliers included.
  • 11. Section 10.2-11 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Notation for the Linear Correlation Coefficient 2 number of pairs of sample data denotes the addition of the items indicated sum of all -values indicates that each -value should be squared and then those squares add n x x x x      2 ed indicates that each -value should be added and the total then squared indicates each -value is multiplied by its corresponding -value. Then sum those up. linear correlation x x xy x y r   coefficient for sample data linear correlation coefficient for a population of paired data 
  • 12. Section 10.2-12 Copyright © 2014, 2012, 2010 Pearson Education, Inc. The linear correlation coefficient r measures the strength of a linear relationship between the paired values in a sample. Here are two formulas: Formula Zx = (x – xbar)/sx Zy = (y – ybar)/sy
  • 13. Section 10.2-13 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Interpreting r Using Table A-6: If the absolute value of the computed value of r, exceeds the value in Table A-6, conclude that there is a linear correlation. Otherwise, there is not sufficient evidence to support the conclusion of a linear correlation. Using Software: If the computed P-value is less than or equal to the significance level, conclude that there is a linear correlation. Otherwise, there is not sufficient evidence to support the conclusion of a linear correlation. P Value <= alpha maka ada korelasi
  • 14. Section 10.2-14 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Properties of the Linear Correlation Coefficient r 1. – 1 ≤ r ≤ 1 2. If all values of either variable are converted to a different scale, the value of r does not change. 3. The value of r is not affected by the choice of x and y. Interchange all x- and y-values and the value of r will not change. 4. r measures strength of a linear relationship. 5. r is very sensitive to outliers, which can dramatically affect the value of r.
  • 15. Section 10.2-15 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Example The paired shoe / height data from five males are listed below. Use a computer or a calculator to find the value of the correlation coefficient r.
  • 16. Section 10.2-16 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Example - Continued Requirement Check: The data are a simple random sample of quantitative data, the plotted points appear to roughly approximate a straight-line pattern, and there are no outliers.
  • 17. Section 10.2-17 Copyright © 2014, 2012, 2010 Pearson Education, Inc. FORMULA 10.1
  • 18. Section 10.2-18 Copyright © 2014, 2012, 2010 Pearson Education, Inc. FORMULA 10.2 Xbar 30.04 Sx 1.668 Ybar 177.3 Sy 4.874
  • 19. Section 10.2-19 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Example - Continued A few technologies are displayed below, used to calculate the value of r.
  • 20. Section 10.2-20 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Is There a Linear Correlation? We found previously for the shoe and height example that r = 0.591. We now proceed to interpret its meaning. Our goal is to decide whether or not there appears to be a linear correlation between shoe print lengths and heights of people. We can base our interpretation on a P-value or a critical value from Table A-6.
  • 21. Section 10.2-21 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Interpreting the Linear Correlation Coefficient r Using computer software: If the P-value is less than the level of significance, conclude there is a linear correlation. Our example with technologies provided a P-value of 0.294. Because that P-value is not less than the significance level of 0.05, we conclude there is not sufficient evidence to support the conclusion that there is a linear correlation between shoe print length and heights of people.
  • 22. Section 10.2-22 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Interpreting the Linear Correlation Coefficient r Using Table A-6: Table A-6 yields r = 0.878 for five pairs of data and a 0.05 level of significance. Since our correlation was r = 0.591, we conclude there is not sufficient evidence to support the claim of a linear correlation.
  • 23. Section 10.2-23 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Interpreting r: Explained Variation The value of r2 is the proportion of the variation in y that is explained by the linear relationship between x and y.
  • 24. Section 10.2-24 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Example We found previously for the shoe and height example that r = 0.591. With r = 0.591, we get r2 = 0.349. We conclude that about 34.9% of the variation in height can be explained by the linear relationship between lengths of shoe prints and heights.
  • 25. Section 10.2-25 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Common Errors Involving Correlation 1. Causation: It is wrong to conclude that correlation implies causality. 2. Averages: Averages suppress individual variation and may inflate the correlation coefficient. 3. Linearity: There may be some relationship between x and y even when there is no linear correlation.
  • 26. Section 10.2-26 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Caution Know that correlation does not imply causality.
  • 27. Section 10.2-27 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Part 2: Formal Hypothesis Test
  • 28. Section 10.2-28 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Formal Hypothesis Test We wish to determine whether there is a significant linear correlation between two variables. Notation: n = number of pairs of sample data r = linear correlation coefficient for a sample of paired data ρ = linear correlation coefficient for a population of paired data
  • 29. Section 10.2-29 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Hypothesis Test for Correlation Requirements 1. The sample of paired (x, y) data is a simple random sample of quantitative data. 2. Visual examination of the scatterplot must confirm that the points approximate a straight-line pattern. 3. The outliers must be removed if they are known to be errors. The effects of any other outliers should be considered by calculating r with and without the outliers included.
  • 30. Section 10.2-30 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Hypothesis Test for Correlation Hypotheses Critical Values: Refer to Table A-6. P-values: Refer to technology. Test Statistic: r 0 1 : 0 (There is no linear correlation.) : 0 (There is a linear correlation.) H H    
  • 31. Section 10.2-31 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Hypothesis Test for Correlation If | r | > critical value from Table A-6, reject the null hypothesis and conclude that there is sufficient evidence to support the claim of a linear correlation. If | r | ≤ critical value from Table A-6, fail to reject the null hypothesis and conclude that there is not sufficient evidence to support the claim of a linear correlation.
  • 32. Section 10.2-32 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Example We found previously for the shoe and height example that r = 0.591. Conduct a formal hypothesis test of the claim that there is a linear correlation between the two variables. Use a 0.05 significance level.
  • 33. Section 10.2-33 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Example - Continued We test the claim: With the test statistic r = 0.591 from the earlier example. The critical values of r = ± 0.878 are found in Table A-6 with n = 5 and α = 0.05. We fail to reject the null and conclude there is not sufficient evidence to support the claim of a linear correlation. 0 1 : 0 (There is no linear correlation) : 0 (There is a linear correlation) H H    
  • 34. Section 10.2-34 Copyright © 2014, 2012, 2010 Pearson Education, Inc. P-Value Method for a Hypothesis Test for Linear Correlation 2 1 2 r t r n    The test statistic is below, use n – 2 degrees of freedom. P-values can be found using software or Table A-3.
  • 35. Section 10.2-35 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Example Continuing the same example, we calculate the test statistic: Table A-3 shows this test statistic yields a P-value that is greater than 0.20. Technology provides the P-value as 0.2937. 2 2 0.591 1.269 1 1 0.591 2 5 2 r t r n       
  • 36. Section 10.2-36 Copyright © 2014, 2012, 2010 Pearson Education, Inc. Example - Continued Because the P-value of 0.2937 is greater than the significance level of 0.05, we fail to reject the null hypothesis. We conclude there is not sufficient evidence to support the claim of a linear correlation between shoe print length and heights.
  • 37. Section 10.2-37 Copyright © 2014, 2012, 2010 Pearson Education, Inc. One-Tailed Tests One-tailed tests can occur with a claim of a positive linear correlation or a claim of a negative linear correlation. In such cases, the hypotheses will be as shown here. For these one-tailed tests, the P-value method can be used as in earlier chapters.
  • 38. Section 10.2-38 Copyright © 2014, 2012, 2010 Pearson Education, Inc.
  • 39. Section 10.2-39 Copyright © 2014, 2012, 2010 Pearson Education, Inc.
  • 40. Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. 10.1 - 40 SYARAT KORELASI HIPOTESIS STATISTICS KEPUTUSAN & KESIMPULAN • Pasangan data (x,y) merupakan simpel random sampling dari data kuantitatif • Sebaran (x,y) cenderung membentuk garis lurus • Data bebas dari outlier  Claim to correlation H0 : = 0 (tdk berkorelasi linier) Ha : ≠ 0 (berkorelasi linier)  Claim to negative correlation H0 : ≥ 0 Ha :  < 0 • Claim to positif correlation H0 : ≥ 0 Ha :  > 0  Dengan P-Value df = n - 2 Tabel t NB: r di cari dengan rumus Pearson Reject H0: (berkorelasi) jika P-value ≤ Fail to Reject H0: (tidak berkorelasi) jika P-value >   Dengan Critical Value: Gunakan tabel Korelasi Pearson (A-5) rtabel = r; n Reject H0: Jika | r | > rtabel/kritis Atau 1) r > rtabel 2) –r < - rtabel Fail to Reject H0: -rtabel ≤ rhitung ≤ rtabel UJI HIPOTESIS KORELASI PEARSON