SlideShare a Scribd company logo
Simple Regression and
Correlation Analysis
Pendahuluan
• Regression and correlation often prove vital in identifying
the nature of the relationship among the business and
economic variables that decision makers work with on a
daily basis or in engineering to make a decision.
• Regression and correlation analysis recognize that there
may be a determinable and quantifiable relationship
between two or more variables.
• Regression analysis was first developed by the English
scientist Sir Francis Galton (1822-1911)
 XfY   nXXXfY ,, 21 
Pendahuluan
• Y disebut sebagai variable dependent (terikat, tak
bebas), regressand variable, explained variable.
• X disebut sebagai variabel independent (variabel bebas),
regressor variable, explanatory variable.
• Regression and correlation are actually two different but
closely related concepts.
• Regression is a quantitative expression of the basic
nature of the relationship between the dependent and
independent variable.
• Correlation, on the other hand, determines the strength
of the relationship.
The Basic Objective of Regression Analysis
• Relationships between variables are either deterministic
or stochastic (random).
• Deterministic relationship can be expressed by a
mathematical model and there is no error.
• Model diatas menyatakan hubungan secara populasi
antara variabel X dan Y.
  XY 10
deterministic
component
random
component
The Basic Objective of Regression Analysis
• When estimating the true, but unknown, population
regression line with our sample regression
line , we are trying to find that line which
passes through the means of the various distributions of
Y-values for each X-value.
• Dalam menaksir paramater-parameternya, terdapat
beberapa asumsi (asumsi dalam OLS) :
– The error term is a random variable and is normally distributed.
– Any two errors are independent of each other.
– All error have the same variance.
– The means of Y-values all lie on a straight line.
XY 10  
XY 10
ˆˆˆ  
• Metode yang digunakan yaitu OLS (Ordinary Least
Square), yaitu meminimumkan error yang terjadi.
• Nilai dan diperoleh dari :
XY 10   XY ˆˆˆˆ
10  
xy 10
ˆˆ  
n
x
x
n
yx
yx
n
i
in
i
i
n
i
n
i
i
n
i
i
ii
2
1
1
2
1
11
1
ˆ






























0
ˆ 1
ˆ
The Basic Objective of Regression Analysis
Hydrocarbon Level (X) in % Purity (Y) in %
0.99 90.01
1.02 89.05
1.15 91.43
1.29 93.74
1.46 96.73
1.36 94.45
0.87 87.59
1.23 91.77
1.55 99.42
1.40 93.65
1.19 93.54
1.15 92.52
0.98 90.56
1.01 89.54
1.11 89.85
1.20 90.39
Contoh :
Advertising (X) in $1000 Passengers (Y) in 1000
10 15
12 17
8 13
17 23
10 16
15 21
10 14
14 20
19 24
10 17
11 16
13 18
16 23
10 15
12 16
Contoh :
• Notasi-notasi :
The Basic Objective of Regression Analysis
n
x
xS
n
i
in
i
ixx
2
1
1
2








 

n
yx
yxS
n
i
i
n
i
in
i
iixy














 

11
1
 

n
i
iiE yySS
1
2
ˆ
2
ˆ 2


n
SSE

  2
1
2
1
2
ynyyySS
n
i
i
n
i
iT   
 

n
i
iR yySS
1
2
ˆ
ERT SSSSSS 
The Standard Error of The Estimate : A
Measure of Goodness of Fit
• The standard error of the estimate, Se, is a measure of
the average amount by which the actual observations for
Y vary around the regression line.
• Dalam data, hal ini identik dengan standar deviasi data.
• The standard error of the estimate dihitung :
2

n
SSE
MSE
MSESe 
 

n
i
iiE yySS
1
2
ˆ
The Standard Error of The Estimate : A
Measure of Goodness of Fit
• Sebagai latihan, hitunglah MSE untuk contoh yang
terakhir.
• Interpretasi yang disajikan, memiliki arti yang sama
dengan standard deviasi data ( ).X
Correlation dan Coefficient of
determination
• Coefficient of determination dirumuskan :
• The coefficient of determination measures the
explanatory power of the regression model by measuring
what portion of the change in Y is explained by the
change X.
• Semakin besar nilai coefficient determination, maka
makin baik.
• Nilai coefficient determination : 0-1.
T
E
T
R
SS
SS
SS
SS
R  12
• Hitunglah nilai coefficient of determination untuk contoh
terakhir.
• Interpretasi : ..... percent of the change in number of
passengers is explained by changes in advertising
expenditures.
• Correlation analysis is measure of strength of that
relationship
• Koefisien of korelasi :
– Bernilai
– r > 0, maka berkembang ke arah yang sama.
– r < 0, maka berkembang ke arah yang berbeda.
– r = 0, maka tidak ada hubungan.
2
Rr 
11  r
Correlation dan Coefficient of
determination
Uji Koefisien Regresi
• Hipotesis :
• Hitung t0, yaitu
• Tolak H0 jika
0:
0:
11
10




H
H
xx
o
S
t
2
1
ˆ
ˆ



2,
2


n
o tt 
Uji ANOVA
• Hipotesis : H0 = X tidak mempengaruhi Y.
H1 = X mempengaruhi Y.
• Tolak H0 jika 2,1,  no FF 

More Related Content

What's hot

Regression analysis
Regression analysisRegression analysis
Regression analysis
Avijit Famous
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
saba khan
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
University of Jaffna
 
Regression analysis in R
Regression analysis in RRegression analysis in R
Regression analysis in R
Alichy Sowmya
 
Regression ppt
Regression pptRegression ppt
Regression ppt
Shraddha Tiwari
 
Regression and corelation (Biostatistics)
Regression and corelation (Biostatistics)Regression and corelation (Biostatistics)
Regression and corelation (Biostatistics)
Muhammadasif909
 
Simple linear regressionn and Correlation
Simple linear regressionn and CorrelationSimple linear regressionn and Correlation
Simple linear regressionn and Correlation
Southern Range, Berhampur, Odisha
 
Regression presentation
Regression presentationRegression presentation
Regression presentation
Allame Tabatabaei
 
Regression
RegressionRegression
Regression
Regent University
 
Bivariate
BivariateBivariate
Bivariate
Vikas Saini
 
Regression
RegressionRegression
Regression
LavanyaK75
 
Correlation and Regression
Correlation and RegressionCorrelation and Regression
Correlation and Regression
Shubham Mehta
 
Lecture 4
Lecture 4Lecture 4
Lecture 4
Nika Gigashvili
 
correlation and regression
correlation and regressioncorrelation and regression
correlation and regression
Keyur Tejani
 
multiple regression
multiple regressionmultiple regression
multiple regression
Priya Sharma
 
regression and correlation
regression and correlationregression and correlation
regression and correlation
Priya Sharma
 
Lesson 8 Linear Correlation And Regression
Lesson 8 Linear Correlation And RegressionLesson 8 Linear Correlation And Regression
Lesson 8 Linear Correlation And Regression
Sumit Prajapati
 
Stat 1163 -correlation and regression
Stat 1163 -correlation and regressionStat 1163 -correlation and regression
Stat 1163 -correlation and regression
Khulna University
 

What's hot (18)

Regression analysis
Regression analysisRegression analysis
Regression analysis
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
Regression analysis in R
Regression analysis in RRegression analysis in R
Regression analysis in R
 
Regression ppt
Regression pptRegression ppt
Regression ppt
 
Regression and corelation (Biostatistics)
Regression and corelation (Biostatistics)Regression and corelation (Biostatistics)
Regression and corelation (Biostatistics)
 
Simple linear regressionn and Correlation
Simple linear regressionn and CorrelationSimple linear regressionn and Correlation
Simple linear regressionn and Correlation
 
Regression presentation
Regression presentationRegression presentation
Regression presentation
 
Regression
RegressionRegression
Regression
 
Bivariate
BivariateBivariate
Bivariate
 
Regression
RegressionRegression
Regression
 
Correlation and Regression
Correlation and RegressionCorrelation and Regression
Correlation and Regression
 
Lecture 4
Lecture 4Lecture 4
Lecture 4
 
correlation and regression
correlation and regressioncorrelation and regression
correlation and regression
 
multiple regression
multiple regressionmultiple regression
multiple regression
 
regression and correlation
regression and correlationregression and correlation
regression and correlation
 
Lesson 8 Linear Correlation And Regression
Lesson 8 Linear Correlation And RegressionLesson 8 Linear Correlation And Regression
Lesson 8 Linear Correlation And Regression
 
Stat 1163 -correlation and regression
Stat 1163 -correlation and regressionStat 1163 -correlation and regression
Stat 1163 -correlation and regression
 

Similar to 11. simple regression and correlation analysis

A presentation for Multiple linear regression.ppt
A presentation for Multiple linear regression.pptA presentation for Multiple linear regression.ppt
A presentation for Multiple linear regression.ppt
vigia41
 
Research Methodology-Chapter 14
Research Methodology-Chapter 14Research Methodology-Chapter 14
Research Methodology-Chapter 14
Javed Iqbal Kamyana
 
STATISTICAL REGRESSION MODELS
STATISTICAL REGRESSION MODELSSTATISTICAL REGRESSION MODELS
STATISTICAL REGRESSION MODELS
Aneesa K Ayoob
 
Regression &amp; correlation coefficient
Regression &amp; correlation coefficientRegression &amp; correlation coefficient
Regression &amp; correlation coefficient
MuhamamdZiaSamad
 
Regression and Co-Relation
Regression and Co-RelationRegression and Co-Relation
Regression and Co-Relation
nuwan udugampala
 
REGRESSION METasdfghjklmjhgftrHODS1.pptx
REGRESSION METasdfghjklmjhgftrHODS1.pptxREGRESSION METasdfghjklmjhgftrHODS1.pptx
REGRESSION METasdfghjklmjhgftrHODS1.pptx
cajativ595
 
Unit-III Correlation and Regression.pptx
Unit-III Correlation and Regression.pptxUnit-III Correlation and Regression.pptx
Unit-III Correlation and Regression.pptx
Anusuya123
 
Unit 1 Correlation- BSRM.pdf
Unit 1 Correlation- BSRM.pdfUnit 1 Correlation- BSRM.pdf
Unit 1 Correlation- BSRM.pdf
Ravinandan A P
 
Correlation & Regression Analysis using SPSS
Correlation & Regression Analysis  using SPSSCorrelation & Regression Analysis  using SPSS
Correlation & Regression Analysis using SPSS
Parag Shah
 
CORRELATION AND REGRESSION.pptx
CORRELATION AND REGRESSION.pptxCORRELATION AND REGRESSION.pptx
CORRELATION AND REGRESSION.pptx
Vitalis Adongo
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
Dr.ammara khakwani
 
12 rhl gta
12 rhl gta12 rhl gta
12 rhl gta
Nabhoneil Basu
 
Chapter 10
Chapter 10Chapter 10
Chapter 10
guest3720ca
 
Chapter 10
Chapter 10Chapter 10
Chapter 10
Rose Jenkins
 
Regression analysis ppt
Regression analysis pptRegression analysis ppt
Regression analysis ppt
Elkana Rorio
 
P G STAT 531 Lecture 10 Regression
P G STAT 531 Lecture 10 RegressionP G STAT 531 Lecture 10 Regression
P G STAT 531 Lecture 10 Regression
Aashish Patel
 
SPSS
SPSSSPSS
Linear Regression | Machine Learning | Data Science
Linear Regression | Machine Learning | Data ScienceLinear Regression | Machine Learning | Data Science
Linear Regression | Machine Learning | Data Science
Sumit Pandey
 
Linear regression
Linear regressionLinear regression
Linear regression
Regent University
 
linear model multiple predictors.pdf
linear model multiple predictors.pdflinear model multiple predictors.pdf
linear model multiple predictors.pdf
ssuser7d5314
 

Similar to 11. simple regression and correlation analysis (20)

A presentation for Multiple linear regression.ppt
A presentation for Multiple linear regression.pptA presentation for Multiple linear regression.ppt
A presentation for Multiple linear regression.ppt
 
Research Methodology-Chapter 14
Research Methodology-Chapter 14Research Methodology-Chapter 14
Research Methodology-Chapter 14
 
STATISTICAL REGRESSION MODELS
STATISTICAL REGRESSION MODELSSTATISTICAL REGRESSION MODELS
STATISTICAL REGRESSION MODELS
 
Regression &amp; correlation coefficient
Regression &amp; correlation coefficientRegression &amp; correlation coefficient
Regression &amp; correlation coefficient
 
Regression and Co-Relation
Regression and Co-RelationRegression and Co-Relation
Regression and Co-Relation
 
REGRESSION METasdfghjklmjhgftrHODS1.pptx
REGRESSION METasdfghjklmjhgftrHODS1.pptxREGRESSION METasdfghjklmjhgftrHODS1.pptx
REGRESSION METasdfghjklmjhgftrHODS1.pptx
 
Unit-III Correlation and Regression.pptx
Unit-III Correlation and Regression.pptxUnit-III Correlation and Regression.pptx
Unit-III Correlation and Regression.pptx
 
Unit 1 Correlation- BSRM.pdf
Unit 1 Correlation- BSRM.pdfUnit 1 Correlation- BSRM.pdf
Unit 1 Correlation- BSRM.pdf
 
Correlation & Regression Analysis using SPSS
Correlation & Regression Analysis  using SPSSCorrelation & Regression Analysis  using SPSS
Correlation & Regression Analysis using SPSS
 
CORRELATION AND REGRESSION.pptx
CORRELATION AND REGRESSION.pptxCORRELATION AND REGRESSION.pptx
CORRELATION AND REGRESSION.pptx
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
12 rhl gta
12 rhl gta12 rhl gta
12 rhl gta
 
Chapter 10
Chapter 10Chapter 10
Chapter 10
 
Chapter 10
Chapter 10Chapter 10
Chapter 10
 
Regression analysis ppt
Regression analysis pptRegression analysis ppt
Regression analysis ppt
 
P G STAT 531 Lecture 10 Regression
P G STAT 531 Lecture 10 RegressionP G STAT 531 Lecture 10 Regression
P G STAT 531 Lecture 10 Regression
 
SPSS
SPSSSPSS
SPSS
 
Linear Regression | Machine Learning | Data Science
Linear Regression | Machine Learning | Data ScienceLinear Regression | Machine Learning | Data Science
Linear Regression | Machine Learning | Data Science
 
Linear regression
Linear regressionLinear regression
Linear regression
 
linear model multiple predictors.pdf
linear model multiple predictors.pdflinear model multiple predictors.pdf
linear model multiple predictors.pdf
 

Recently uploaded

11.1 Role of physical biological in deterioration of grains.pdf
11.1 Role of physical biological in deterioration of grains.pdf11.1 Role of physical biological in deterioration of grains.pdf
11.1 Role of physical biological in deterioration of grains.pdf
PirithiRaju
 
HOW DO ORGANISMS REPRODUCE?reproduction part 1
HOW DO ORGANISMS REPRODUCE?reproduction part 1HOW DO ORGANISMS REPRODUCE?reproduction part 1
HOW DO ORGANISMS REPRODUCE?reproduction part 1
Shashank Shekhar Pandey
 
23PH301 - Optics - Optical Lenses.pptx
23PH301 - Optics  -  Optical Lenses.pptx23PH301 - Optics  -  Optical Lenses.pptx
23PH301 - Optics - Optical Lenses.pptx
RDhivya6
 
Bob Reedy - Nitrate in Texas Groundwater.pdf
Bob Reedy - Nitrate in Texas Groundwater.pdfBob Reedy - Nitrate in Texas Groundwater.pdf
Bob Reedy - Nitrate in Texas Groundwater.pdf
Texas Alliance of Groundwater Districts
 
ESR spectroscopy in liquid food and beverages.pptx
ESR spectroscopy in liquid food and beverages.pptxESR spectroscopy in liquid food and beverages.pptx
ESR spectroscopy in liquid food and beverages.pptx
PRIYANKA PATEL
 
Pests of Storage_Identification_Dr.UPR.pdf
Pests of Storage_Identification_Dr.UPR.pdfPests of Storage_Identification_Dr.UPR.pdf
Pests of Storage_Identification_Dr.UPR.pdf
PirithiRaju
 
ESA/ACT Science Coffee: Diego Blas - Gravitational wave detection with orbita...
ESA/ACT Science Coffee: Diego Blas - Gravitational wave detection with orbita...ESA/ACT Science Coffee: Diego Blas - Gravitational wave detection with orbita...
ESA/ACT Science Coffee: Diego Blas - Gravitational wave detection with orbita...
Advanced-Concepts-Team
 
Basics of crystallography, crystal systems, classes and different forms
Basics of crystallography, crystal systems, classes and different formsBasics of crystallography, crystal systems, classes and different forms
Basics of crystallography, crystal systems, classes and different forms
MaheshaNanjegowda
 
The cost of acquiring information by natural selection
The cost of acquiring information by natural selectionThe cost of acquiring information by natural selection
The cost of acquiring information by natural selection
Carl Bergstrom
 
20240520 Planning a Circuit Simulator in JavaScript.pptx
20240520 Planning a Circuit Simulator in JavaScript.pptx20240520 Planning a Circuit Simulator in JavaScript.pptx
20240520 Planning a Circuit Simulator in JavaScript.pptx
Sharon Liu
 
Direct Seeded Rice - Climate Smart Agriculture
Direct Seeded Rice - Climate Smart AgricultureDirect Seeded Rice - Climate Smart Agriculture
Direct Seeded Rice - Climate Smart Agriculture
International Food Policy Research Institute- South Asia Office
 
Sharlene Leurig - Enabling Onsite Water Use with Net Zero Water
Sharlene Leurig - Enabling Onsite Water Use with Net Zero WaterSharlene Leurig - Enabling Onsite Water Use with Net Zero Water
Sharlene Leurig - Enabling Onsite Water Use with Net Zero Water
Texas Alliance of Groundwater Districts
 
Katherine Romanak - Geologic CO2 Storage.pdf
Katherine Romanak - Geologic CO2 Storage.pdfKatherine Romanak - Geologic CO2 Storage.pdf
Katherine Romanak - Geologic CO2 Storage.pdf
Texas Alliance of Groundwater Districts
 
Mending Clothing to Support Sustainable Fashion_CIMaR 2024.pdf
Mending Clothing to Support Sustainable Fashion_CIMaR 2024.pdfMending Clothing to Support Sustainable Fashion_CIMaR 2024.pdf
Mending Clothing to Support Sustainable Fashion_CIMaR 2024.pdf
Selcen Ozturkcan
 
aziz sancar nobel prize winner: from mardin to nobel
aziz sancar nobel prize winner: from mardin to nobelaziz sancar nobel prize winner: from mardin to nobel
aziz sancar nobel prize winner: from mardin to nobel
İsa Badur
 
(June 12, 2024) Webinar: Development of PET theranostics targeting the molecu...
(June 12, 2024) Webinar: Development of PET theranostics targeting the molecu...(June 12, 2024) Webinar: Development of PET theranostics targeting the molecu...
(June 12, 2024) Webinar: Development of PET theranostics targeting the molecu...
Scintica Instrumentation
 
快速办理(UAM毕业证书)马德里自治大学毕业证学位证一模一样
快速办理(UAM毕业证书)马德里自治大学毕业证学位证一模一样快速办理(UAM毕业证书)马德里自治大学毕业证学位证一模一样
快速办理(UAM毕业证书)马德里自治大学毕业证学位证一模一样
hozt8xgk
 
NuGOweek 2024 Ghent programme overview flyer
NuGOweek 2024 Ghent programme overview flyerNuGOweek 2024 Ghent programme overview flyer
NuGOweek 2024 Ghent programme overview flyer
pablovgd
 
Micronuclei test.M.sc.zoology.fisheries.
Micronuclei test.M.sc.zoology.fisheries.Micronuclei test.M.sc.zoology.fisheries.
Micronuclei test.M.sc.zoology.fisheries.
Aditi Bajpai
 
waterlessdyeingtechnolgyusing carbon dioxide chemicalspdf
waterlessdyeingtechnolgyusing carbon dioxide chemicalspdfwaterlessdyeingtechnolgyusing carbon dioxide chemicalspdf
waterlessdyeingtechnolgyusing carbon dioxide chemicalspdf
LengamoLAppostilic
 

Recently uploaded (20)

11.1 Role of physical biological in deterioration of grains.pdf
11.1 Role of physical biological in deterioration of grains.pdf11.1 Role of physical biological in deterioration of grains.pdf
11.1 Role of physical biological in deterioration of grains.pdf
 
HOW DO ORGANISMS REPRODUCE?reproduction part 1
HOW DO ORGANISMS REPRODUCE?reproduction part 1HOW DO ORGANISMS REPRODUCE?reproduction part 1
HOW DO ORGANISMS REPRODUCE?reproduction part 1
 
23PH301 - Optics - Optical Lenses.pptx
23PH301 - Optics  -  Optical Lenses.pptx23PH301 - Optics  -  Optical Lenses.pptx
23PH301 - Optics - Optical Lenses.pptx
 
Bob Reedy - Nitrate in Texas Groundwater.pdf
Bob Reedy - Nitrate in Texas Groundwater.pdfBob Reedy - Nitrate in Texas Groundwater.pdf
Bob Reedy - Nitrate in Texas Groundwater.pdf
 
ESR spectroscopy in liquid food and beverages.pptx
ESR spectroscopy in liquid food and beverages.pptxESR spectroscopy in liquid food and beverages.pptx
ESR spectroscopy in liquid food and beverages.pptx
 
Pests of Storage_Identification_Dr.UPR.pdf
Pests of Storage_Identification_Dr.UPR.pdfPests of Storage_Identification_Dr.UPR.pdf
Pests of Storage_Identification_Dr.UPR.pdf
 
ESA/ACT Science Coffee: Diego Blas - Gravitational wave detection with orbita...
ESA/ACT Science Coffee: Diego Blas - Gravitational wave detection with orbita...ESA/ACT Science Coffee: Diego Blas - Gravitational wave detection with orbita...
ESA/ACT Science Coffee: Diego Blas - Gravitational wave detection with orbita...
 
Basics of crystallography, crystal systems, classes and different forms
Basics of crystallography, crystal systems, classes and different formsBasics of crystallography, crystal systems, classes and different forms
Basics of crystallography, crystal systems, classes and different forms
 
The cost of acquiring information by natural selection
The cost of acquiring information by natural selectionThe cost of acquiring information by natural selection
The cost of acquiring information by natural selection
 
20240520 Planning a Circuit Simulator in JavaScript.pptx
20240520 Planning a Circuit Simulator in JavaScript.pptx20240520 Planning a Circuit Simulator in JavaScript.pptx
20240520 Planning a Circuit Simulator in JavaScript.pptx
 
Direct Seeded Rice - Climate Smart Agriculture
Direct Seeded Rice - Climate Smart AgricultureDirect Seeded Rice - Climate Smart Agriculture
Direct Seeded Rice - Climate Smart Agriculture
 
Sharlene Leurig - Enabling Onsite Water Use with Net Zero Water
Sharlene Leurig - Enabling Onsite Water Use with Net Zero WaterSharlene Leurig - Enabling Onsite Water Use with Net Zero Water
Sharlene Leurig - Enabling Onsite Water Use with Net Zero Water
 
Katherine Romanak - Geologic CO2 Storage.pdf
Katherine Romanak - Geologic CO2 Storage.pdfKatherine Romanak - Geologic CO2 Storage.pdf
Katherine Romanak - Geologic CO2 Storage.pdf
 
Mending Clothing to Support Sustainable Fashion_CIMaR 2024.pdf
Mending Clothing to Support Sustainable Fashion_CIMaR 2024.pdfMending Clothing to Support Sustainable Fashion_CIMaR 2024.pdf
Mending Clothing to Support Sustainable Fashion_CIMaR 2024.pdf
 
aziz sancar nobel prize winner: from mardin to nobel
aziz sancar nobel prize winner: from mardin to nobelaziz sancar nobel prize winner: from mardin to nobel
aziz sancar nobel prize winner: from mardin to nobel
 
(June 12, 2024) Webinar: Development of PET theranostics targeting the molecu...
(June 12, 2024) Webinar: Development of PET theranostics targeting the molecu...(June 12, 2024) Webinar: Development of PET theranostics targeting the molecu...
(June 12, 2024) Webinar: Development of PET theranostics targeting the molecu...
 
快速办理(UAM毕业证书)马德里自治大学毕业证学位证一模一样
快速办理(UAM毕业证书)马德里自治大学毕业证学位证一模一样快速办理(UAM毕业证书)马德里自治大学毕业证学位证一模一样
快速办理(UAM毕业证书)马德里自治大学毕业证学位证一模一样
 
NuGOweek 2024 Ghent programme overview flyer
NuGOweek 2024 Ghent programme overview flyerNuGOweek 2024 Ghent programme overview flyer
NuGOweek 2024 Ghent programme overview flyer
 
Micronuclei test.M.sc.zoology.fisheries.
Micronuclei test.M.sc.zoology.fisheries.Micronuclei test.M.sc.zoology.fisheries.
Micronuclei test.M.sc.zoology.fisheries.
 
waterlessdyeingtechnolgyusing carbon dioxide chemicalspdf
waterlessdyeingtechnolgyusing carbon dioxide chemicalspdfwaterlessdyeingtechnolgyusing carbon dioxide chemicalspdf
waterlessdyeingtechnolgyusing carbon dioxide chemicalspdf
 

11. simple regression and correlation analysis

  • 2. Pendahuluan • Regression and correlation often prove vital in identifying the nature of the relationship among the business and economic variables that decision makers work with on a daily basis or in engineering to make a decision. • Regression and correlation analysis recognize that there may be a determinable and quantifiable relationship between two or more variables. • Regression analysis was first developed by the English scientist Sir Francis Galton (1822-1911)  XfY   nXXXfY ,, 21 
  • 3. Pendahuluan • Y disebut sebagai variable dependent (terikat, tak bebas), regressand variable, explained variable. • X disebut sebagai variabel independent (variabel bebas), regressor variable, explanatory variable. • Regression and correlation are actually two different but closely related concepts. • Regression is a quantitative expression of the basic nature of the relationship between the dependent and independent variable. • Correlation, on the other hand, determines the strength of the relationship.
  • 4. The Basic Objective of Regression Analysis • Relationships between variables are either deterministic or stochastic (random). • Deterministic relationship can be expressed by a mathematical model and there is no error. • Model diatas menyatakan hubungan secara populasi antara variabel X dan Y.   XY 10 deterministic component random component
  • 5. The Basic Objective of Regression Analysis • When estimating the true, but unknown, population regression line with our sample regression line , we are trying to find that line which passes through the means of the various distributions of Y-values for each X-value. • Dalam menaksir paramater-parameternya, terdapat beberapa asumsi (asumsi dalam OLS) : – The error term is a random variable and is normally distributed. – Any two errors are independent of each other. – All error have the same variance. – The means of Y-values all lie on a straight line. XY 10   XY 10 ˆˆˆ  
  • 6. • Metode yang digunakan yaitu OLS (Ordinary Least Square), yaitu meminimumkan error yang terjadi. • Nilai dan diperoleh dari : XY 10   XY ˆˆˆˆ 10   xy 10 ˆˆ   n x x n yx yx n i in i i n i n i i n i i ii 2 1 1 2 1 11 1 ˆ                               0 ˆ 1 ˆ The Basic Objective of Regression Analysis
  • 7. Hydrocarbon Level (X) in % Purity (Y) in % 0.99 90.01 1.02 89.05 1.15 91.43 1.29 93.74 1.46 96.73 1.36 94.45 0.87 87.59 1.23 91.77 1.55 99.42 1.40 93.65 1.19 93.54 1.15 92.52 0.98 90.56 1.01 89.54 1.11 89.85 1.20 90.39 Contoh :
  • 8. Advertising (X) in $1000 Passengers (Y) in 1000 10 15 12 17 8 13 17 23 10 16 15 21 10 14 14 20 19 24 10 17 11 16 13 18 16 23 10 15 12 16 Contoh :
  • 9. • Notasi-notasi : The Basic Objective of Regression Analysis n x xS n i in i ixx 2 1 1 2            n yx yxS n i i n i in i iixy                  11 1    n i iiE yySS 1 2 ˆ 2 ˆ 2   n SSE    2 1 2 1 2 ynyyySS n i i n i iT       n i iR yySS 1 2 ˆ ERT SSSSSS 
  • 10. The Standard Error of The Estimate : A Measure of Goodness of Fit • The standard error of the estimate, Se, is a measure of the average amount by which the actual observations for Y vary around the regression line. • Dalam data, hal ini identik dengan standar deviasi data. • The standard error of the estimate dihitung : 2  n SSE MSE MSESe     n i iiE yySS 1 2 ˆ
  • 11. The Standard Error of The Estimate : A Measure of Goodness of Fit • Sebagai latihan, hitunglah MSE untuk contoh yang terakhir. • Interpretasi yang disajikan, memiliki arti yang sama dengan standard deviasi data ( ).X
  • 12. Correlation dan Coefficient of determination • Coefficient of determination dirumuskan : • The coefficient of determination measures the explanatory power of the regression model by measuring what portion of the change in Y is explained by the change X. • Semakin besar nilai coefficient determination, maka makin baik. • Nilai coefficient determination : 0-1. T E T R SS SS SS SS R  12
  • 13. • Hitunglah nilai coefficient of determination untuk contoh terakhir. • Interpretasi : ..... percent of the change in number of passengers is explained by changes in advertising expenditures. • Correlation analysis is measure of strength of that relationship • Koefisien of korelasi : – Bernilai – r > 0, maka berkembang ke arah yang sama. – r < 0, maka berkembang ke arah yang berbeda. – r = 0, maka tidak ada hubungan. 2 Rr  11  r Correlation dan Coefficient of determination
  • 14. Uji Koefisien Regresi • Hipotesis : • Hitung t0, yaitu • Tolak H0 jika 0: 0: 11 10     H H xx o S t 2 1 ˆ ˆ    2, 2   n o tt 
  • 15. Uji ANOVA • Hipotesis : H0 = X tidak mempengaruhi Y. H1 = X mempengaruhi Y. • Tolak H0 jika 2,1,  no FF 