尊敬的 微信汇率:1円 ≈ 0.046166 元 支付宝汇率:1円 ≈ 0.046257元 [退出登录]
SlideShare a Scribd company logo
SIMPLE LINEAR REGRESSION(PA297Statistics for Public Administrator) Reporters:  	Atty. Gener R. Gayam, CPA Agapito “pete” M. Cagampang, PM 	Raymond B. Cabling, MD Presented to: Dr. Maria Theresa P. Pelones
SIMPLE LINEAR REGRESSION The Scatter Diagram 	In solving problems that concern estimation and forecasting, a scatter diagram can be used as a graphical approach. This technique consists of joining the points corresponding to the paired scores of dependent and independent variables which are commonly represented by X and Y on the X – y coordinate system. 	Below is an illustration of a scatter diagram using the data in Table 6.1. This table shows the data about the six years working experience and the income of eight employees in a big industrial corporation.
Table 6.1
Figure 6.1 – A Scatter Diagram for Table 6.1 Data X X X X X X X X
For you to roughly predict the value of a dependent variable, such as years of working experience, from the dependent variable, which is income, your next step is to draw a trend line. This is a line passing through the series of points such that the total vertical measurement of the points below this line is more or less equal to the total measurements of the points  above the line. If these requirements are satisfied, you draw a correct trend Y. The illustration is shown in figure 6.1
Figure 6.2 - A trend line drawn on the linear direction between working experience and income of eight employees Trend Line
	Using the trend line draw in Figure 6.1 above, the value estimated for Y when X is 16, is 18. You should not fail to remember that if a “straight line” appears to describe the relationship, the algebraic approach called the regression formula can be used as explained in the next topic.
a = Ῡ - bX B. The Least Square Linear Regression Equation The least square linear regression equation can be understood through this formula known from algebra. 			Y = a + bx 	For instance the Y = a+bx in figure 6.1 in that line that gives the smallest sum of the squares of the vertical measurements or distance of the points from the line. 	In solving the regression equations, you need to solve first,
ΣX = 62  ΣY = 90 X = 7.75 Y = 11.25 Example: Solve the least squares regression line for the data scores in Table 6.1.
Solution:
After solving the values of b and a, your regression equation obtained from Table 6.1 is.
Now, we are interested in the distance of the Y values from Y₁ the corresponding ordinate of the regression line. Here, we are going to base our measure of dispersion or variation around the regression line on the distance (Y₁ ‒ Y)². This can be well understood by this standard error of estimate formula given below. Se =     Σ(Yi ‒ Ŷ)² 	 	              n ‒ 2 √ C. The standard Error of Estimate
However, this formula entails a very tedious process of computing the standard error of estimate, so that the formula by Basil P. Korin (1977), which is easier to solve suggested as follows: 		Se =        ΣYi² ‒ a(Yi) ‒ b(Xi ‒ Yi) 		    n ‒ 2 	Note: 	The symbol a and b stand for the intercept and the slope of the regression line. √
√ Example: 	Solve the standard error of estimate for the regression line which was derived from the data in Table 6.1. 		Se =      Σ(Yi ‒ Ŷ)² 	 	                  n ‒ 2
Step 1 – Compute the value of Y at each of the X values. 	Example: 			Y = 6.68 + .59 (2) 			   = 6.68 + 1.18 			   = 7.68 Do the rest by following the same procedure. Step 2 – Get the difference between (Yi ‒ Ŷ). 	Example: 			8 – 7.86 = .14 Step 3 – Square all the difference Yi ‒ Ŷ. 	Example: 			(.14)² = .0196
√ √ √ √ Step 4 – Apply the formula. 	Se =      Σ(Yi ‒ Ŷ)² 	 	      n ‒ 2 	     =       16.692 		     8 – 2 	     = 	  16.692 		       6 	     =	  2.782 	     =  1.67
Solution 2: 		Se =        ΣYi² ‒ a(Yi) ‒ b(Xi ‒ Yi) 		       n ‒ 2
√ √ √ √ √ Step 1 – Square Y₁  	Example: 		(8²) = 64 Step 2 – Multiply XiYi 	Example: 		2 X 8 = 16 Step 3 – Get the sum of Yi² and XiYi Step 4 – Apply the formula 			=      1084 – 6.68 (90) – .59 (791) 				            n – 2 			=      1084 – 601.2 – 466.69 				          8 – 2 			=      1084 – 1067.89 			                   8 – 2 			=      16.11 			            6 			=      2.685 			=   1.64
The standard error of estimate is interpreted as the standard deviation. For example, if we measure vertically three standard errors from the regression line above and below, we will find that the same value of X will always fall between the upper and lower 3Se Limits. 	In the example above of the standard error of estimate which is 1.64 you will come up with 4.92 units (3) (1.64) above and below the regression line. This means that these “bounds” of 4.92 unit above and below the regression line pertain to all observations taken for that particular sample. If you draw two parallel lines, each of them lying one Se from the regression line, you will expect two thirds of the observations falling between these bounds. See Figure 6.1 for the illustration of the data in Table 6.1.
Y = 6.68 + .59 X Figure 6.3 – A regression Line with One Standard Error Distance

More Related Content

What's hot

Linear regression theory
Linear regression theoryLinear regression theory
Linear regression theory
Saurav Mukherjee
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
Shameer P Hamsa
 
multiple linear regression
multiple linear regressionmultiple linear regression
multiple linear regression
Akhilesh Joshi
 
Simple linear regression (final)
Simple linear regression (final)Simple linear regression (final)
Simple linear regression (final)
Harsh Upadhyay
 
Logistic Regression Analysis
Logistic Regression AnalysisLogistic Regression Analysis
Logistic Regression Analysis
COSTARCH Analytical Consulting (P) Ltd.
 
Simple lin regress_inference
Simple lin regress_inferenceSimple lin regress_inference
Simple lin regress_inference
Kemal İnciroğlu
 
Linear Regression Algorithm | Linear Regression in R | Data Science Training ...
Linear Regression Algorithm | Linear Regression in R | Data Science Training ...Linear Regression Algorithm | Linear Regression in R | Data Science Training ...
Linear Regression Algorithm | Linear Regression in R | Data Science Training ...
Edureka!
 
Simple linear regression
Simple linear regressionSimple linear regression
Simple linear regression
pankaj8108
 
Logistic regression
Logistic regressionLogistic regression
Logistic regression
Khaled Abd Elaziz
 
ML - Multiple Linear Regression
ML - Multiple Linear RegressionML - Multiple Linear Regression
ML - Multiple Linear Regression
Andrew Ferlitsch
 
Ml3 logistic regression-and_classification_error_metrics
Ml3 logistic regression-and_classification_error_metricsMl3 logistic regression-and_classification_error_metrics
Ml3 logistic regression-and_classification_error_metrics
ankit_ppt
 
Multinomial Logistic Regression Analysis
Multinomial Logistic Regression AnalysisMultinomial Logistic Regression Analysis
Multinomial Logistic Regression Analysis
HARISH Kumar H R
 
Basics of Regression analysis
 Basics of Regression analysis Basics of Regression analysis
Basics of Regression analysis
Mahak Vijayvargiya
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
Ravi shankar
 
Least Squares Regression Method | Edureka
Least Squares Regression Method | EdurekaLeast Squares Regression Method | Edureka
Least Squares Regression Method | Edureka
Edureka!
 
Regression Analysis
Regression AnalysisRegression Analysis
Regression Analysis
Shiela Vinarao
 
Non Linear Equation
Non Linear EquationNon Linear Equation
Non Linear Equation
MdAlAmin187
 
Regression analysis in excel
Regression analysis in excelRegression analysis in excel
Regression analysis in excel
Awais Salman
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
saba khan
 
Linear regression
Linear regressionLinear regression
Linear regression
Carlo Magno
 

What's hot (20)

Linear regression theory
Linear regression theoryLinear regression theory
Linear regression theory
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
multiple linear regression
multiple linear regressionmultiple linear regression
multiple linear regression
 
Simple linear regression (final)
Simple linear regression (final)Simple linear regression (final)
Simple linear regression (final)
 
Logistic Regression Analysis
Logistic Regression AnalysisLogistic Regression Analysis
Logistic Regression Analysis
 
Simple lin regress_inference
Simple lin regress_inferenceSimple lin regress_inference
Simple lin regress_inference
 
Linear Regression Algorithm | Linear Regression in R | Data Science Training ...
Linear Regression Algorithm | Linear Regression in R | Data Science Training ...Linear Regression Algorithm | Linear Regression in R | Data Science Training ...
Linear Regression Algorithm | Linear Regression in R | Data Science Training ...
 
Simple linear regression
Simple linear regressionSimple linear regression
Simple linear regression
 
Logistic regression
Logistic regressionLogistic regression
Logistic regression
 
ML - Multiple Linear Regression
ML - Multiple Linear RegressionML - Multiple Linear Regression
ML - Multiple Linear Regression
 
Ml3 logistic regression-and_classification_error_metrics
Ml3 logistic regression-and_classification_error_metricsMl3 logistic regression-and_classification_error_metrics
Ml3 logistic regression-and_classification_error_metrics
 
Multinomial Logistic Regression Analysis
Multinomial Logistic Regression AnalysisMultinomial Logistic Regression Analysis
Multinomial Logistic Regression Analysis
 
Basics of Regression analysis
 Basics of Regression analysis Basics of Regression analysis
Basics of Regression analysis
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
Least Squares Regression Method | Edureka
Least Squares Regression Method | EdurekaLeast Squares Regression Method | Edureka
Least Squares Regression Method | Edureka
 
Regression Analysis
Regression AnalysisRegression Analysis
Regression Analysis
 
Non Linear Equation
Non Linear EquationNon Linear Equation
Non Linear Equation
 
Regression analysis in excel
Regression analysis in excelRegression analysis in excel
Regression analysis in excel
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
Linear regression
Linear regressionLinear regression
Linear regression
 

Similar to Simple linear regression

Simple linear regression
Simple linear regressionSimple linear regression
Simple linear regression
Maria Theresa
 
Regression
RegressionRegression
ML Module 3.pdf
ML Module 3.pdfML Module 3.pdf
ML Module 3.pdf
Shiwani Gupta
 
Corr-and-Regress (1).ppt
Corr-and-Regress (1).pptCorr-and-Regress (1).ppt
Corr-and-Regress (1).ppt
MuhammadAftab89
 
Corr-and-Regress.ppt
Corr-and-Regress.pptCorr-and-Regress.ppt
Corr-and-Regress.ppt
BAGARAGAZAROMUALD2
 
Cr-and-Regress.ppt
Cr-and-Regress.pptCr-and-Regress.ppt
Cr-and-Regress.ppt
RidaIrfan10
 
Correlation & Regression for Statistics Social Science
Correlation & Regression for Statistics Social ScienceCorrelation & Regression for Statistics Social Science
Correlation & Regression for Statistics Social Science
ssuser71ac73
 
Corr-and-Regress.ppt
Corr-and-Regress.pptCorr-and-Regress.ppt
Corr-and-Regress.ppt
HarunorRashid74
 
Corr-and-Regress.ppt
Corr-and-Regress.pptCorr-and-Regress.ppt
Corr-and-Regress.ppt
krunal soni
 
Corr-and-Regress.ppt
Corr-and-Regress.pptCorr-and-Regress.ppt
Corr-and-Regress.ppt
MoinPasha12
 
Corr And Regress
Corr And RegressCorr And Regress
Corr And Regress
rishi.indian
 
Correlation by Neeraj Bhandari ( Surkhet.Nepal )
Correlation by Neeraj Bhandari ( Surkhet.Nepal )Correlation by Neeraj Bhandari ( Surkhet.Nepal )
Correlation by Neeraj Bhandari ( Surkhet.Nepal )
Neeraj Bhandari
 
REGRESSION ANALYSIS
REGRESSION ANALYSISREGRESSION ANALYSIS
REGRESSION ANALYSIS
ONE Virtual Services
 
Regression
RegressionRegression
Regression
LavanyaK75
 
Regression Ayalysis (2).ppt
Regression Ayalysis (2).pptRegression Ayalysis (2).ppt
Regression Ayalysis (2).ppt
DeepThinker15
 
Chapter5
Chapter5Chapter5
Regression analysis by Muthama JM
Regression analysis by Muthama JMRegression analysis by Muthama JM
Regression analysis by Muthama JM
Japheth Muthama
 
Regression Analysis by Muthama JM
Regression Analysis by Muthama JM Regression Analysis by Muthama JM
Regression Analysis by Muthama JM
Japheth Muthama
 
Bba 3274 qm week 6 part 1 regression models
Bba 3274 qm week 6 part 1 regression modelsBba 3274 qm week 6 part 1 regression models
Bba 3274 qm week 6 part 1 regression models
Stephen Ong
 
Regression Analysis
Regression AnalysisRegression Analysis
Regression Analysis
Muhammad Fazeel
 

Similar to Simple linear regression (20)

Simple linear regression
Simple linear regressionSimple linear regression
Simple linear regression
 
Regression
RegressionRegression
Regression
 
ML Module 3.pdf
ML Module 3.pdfML Module 3.pdf
ML Module 3.pdf
 
Corr-and-Regress (1).ppt
Corr-and-Regress (1).pptCorr-and-Regress (1).ppt
Corr-and-Regress (1).ppt
 
Corr-and-Regress.ppt
Corr-and-Regress.pptCorr-and-Regress.ppt
Corr-and-Regress.ppt
 
Cr-and-Regress.ppt
Cr-and-Regress.pptCr-and-Regress.ppt
Cr-and-Regress.ppt
 
Correlation & Regression for Statistics Social Science
Correlation & Regression for Statistics Social ScienceCorrelation & Regression for Statistics Social Science
Correlation & Regression for Statistics Social Science
 
Corr-and-Regress.ppt
Corr-and-Regress.pptCorr-and-Regress.ppt
Corr-and-Regress.ppt
 
Corr-and-Regress.ppt
Corr-and-Regress.pptCorr-and-Regress.ppt
Corr-and-Regress.ppt
 
Corr-and-Regress.ppt
Corr-and-Regress.pptCorr-and-Regress.ppt
Corr-and-Regress.ppt
 
Corr And Regress
Corr And RegressCorr And Regress
Corr And Regress
 
Correlation by Neeraj Bhandari ( Surkhet.Nepal )
Correlation by Neeraj Bhandari ( Surkhet.Nepal )Correlation by Neeraj Bhandari ( Surkhet.Nepal )
Correlation by Neeraj Bhandari ( Surkhet.Nepal )
 
REGRESSION ANALYSIS
REGRESSION ANALYSISREGRESSION ANALYSIS
REGRESSION ANALYSIS
 
Regression
RegressionRegression
Regression
 
Regression Ayalysis (2).ppt
Regression Ayalysis (2).pptRegression Ayalysis (2).ppt
Regression Ayalysis (2).ppt
 
Chapter5
Chapter5Chapter5
Chapter5
 
Regression analysis by Muthama JM
Regression analysis by Muthama JMRegression analysis by Muthama JM
Regression analysis by Muthama JM
 
Regression Analysis by Muthama JM
Regression Analysis by Muthama JM Regression Analysis by Muthama JM
Regression Analysis by Muthama JM
 
Bba 3274 qm week 6 part 1 regression models
Bba 3274 qm week 6 part 1 regression modelsBba 3274 qm week 6 part 1 regression models
Bba 3274 qm week 6 part 1 regression models
 
Regression Analysis
Regression AnalysisRegression Analysis
Regression Analysis
 

More from Maria Theresa

Syllabus educ200 methods of research
Syllabus educ200 methods of researchSyllabus educ200 methods of research
Syllabus educ200 methods of research
Maria Theresa
 
ED197 episodes 1 12 (manual)
ED197 episodes 1 12 (manual)ED197 episodes 1 12 (manual)
ED197 episodes 1 12 (manual)
Maria Theresa
 
Module 5 a job induction & orientation
Module 5 a  job induction & orientationModule 5 a  job induction & orientation
Module 5 a job induction & orientation
Maria Theresa
 
Module2 human resource information system
Module2  human resource information systemModule2  human resource information system
Module2 human resource information system
Maria Theresa
 
Module 1 human resource management
Module 1  human resource managementModule 1  human resource management
Module 1 human resource management
Maria Theresa
 
Tarpaulin making contest
Tarpaulin making contestTarpaulin making contest
Tarpaulin making contest
Maria Theresa
 
Documentary film
Documentary filmDocumentary film
Documentary film
Maria Theresa
 
Fs 2 episode 1
Fs 2 episode 1Fs 2 episode 1
Fs 2 episode 1
Maria Theresa
 
Fs 2 episode 7
Fs 2 episode 7Fs 2 episode 7
Fs 2 episode 7
Maria Theresa
 
Fs 2 episode 6
Fs 2 episode 6Fs 2 episode 6
Fs 2 episode 6
Maria Theresa
 
Fs 2 episode 6
Fs 2 episode 6Fs 2 episode 6
Fs 2 episode 6
Maria Theresa
 
Fs 2 episode 5
Fs 2 episode 5Fs 2 episode 5
Fs 2 episode 5
Maria Theresa
 
Fs 2 episode 4
Fs 2 episode 4Fs 2 episode 4
Fs 2 episode 4
Maria Theresa
 
Fs 2 episode 3
Fs 2 episode 3Fs 2 episode 3
Fs 2 episode 3
Maria Theresa
 
Fs 2 episode 2
Fs 2 episode 2Fs 2 episode 2
Fs 2 episode 2
Maria Theresa
 
Fs 2 episode 1
Fs 2 episode 1Fs 2 episode 1
Fs 2 episode 1
Maria Theresa
 
Topic 1 ed105 b introduction
Topic 1 ed105 b introductionTopic 1 ed105 b introduction
Topic 1 ed105 b introduction
Maria Theresa
 
Exercise (t able and mail merge)
Exercise (t able and mail merge)Exercise (t able and mail merge)
Exercise (t able and mail merge)
Maria Theresa
 
Sample format for appendices & bibliography
Sample format for appendices & bibliographySample format for appendices & bibliography
Sample format for appendices & bibliography
Maria Theresa
 
Title page final format
Title page final formatTitle page final format
Title page final format
Maria Theresa
 

More from Maria Theresa (20)

Syllabus educ200 methods of research
Syllabus educ200 methods of researchSyllabus educ200 methods of research
Syllabus educ200 methods of research
 
ED197 episodes 1 12 (manual)
ED197 episodes 1 12 (manual)ED197 episodes 1 12 (manual)
ED197 episodes 1 12 (manual)
 
Module 5 a job induction & orientation
Module 5 a  job induction & orientationModule 5 a  job induction & orientation
Module 5 a job induction & orientation
 
Module2 human resource information system
Module2  human resource information systemModule2  human resource information system
Module2 human resource information system
 
Module 1 human resource management
Module 1  human resource managementModule 1  human resource management
Module 1 human resource management
 
Tarpaulin making contest
Tarpaulin making contestTarpaulin making contest
Tarpaulin making contest
 
Documentary film
Documentary filmDocumentary film
Documentary film
 
Fs 2 episode 1
Fs 2 episode 1Fs 2 episode 1
Fs 2 episode 1
 
Fs 2 episode 7
Fs 2 episode 7Fs 2 episode 7
Fs 2 episode 7
 
Fs 2 episode 6
Fs 2 episode 6Fs 2 episode 6
Fs 2 episode 6
 
Fs 2 episode 6
Fs 2 episode 6Fs 2 episode 6
Fs 2 episode 6
 
Fs 2 episode 5
Fs 2 episode 5Fs 2 episode 5
Fs 2 episode 5
 
Fs 2 episode 4
Fs 2 episode 4Fs 2 episode 4
Fs 2 episode 4
 
Fs 2 episode 3
Fs 2 episode 3Fs 2 episode 3
Fs 2 episode 3
 
Fs 2 episode 2
Fs 2 episode 2Fs 2 episode 2
Fs 2 episode 2
 
Fs 2 episode 1
Fs 2 episode 1Fs 2 episode 1
Fs 2 episode 1
 
Topic 1 ed105 b introduction
Topic 1 ed105 b introductionTopic 1 ed105 b introduction
Topic 1 ed105 b introduction
 
Exercise (t able and mail merge)
Exercise (t able and mail merge)Exercise (t able and mail merge)
Exercise (t able and mail merge)
 
Sample format for appendices & bibliography
Sample format for appendices & bibliographySample format for appendices & bibliography
Sample format for appendices & bibliography
 
Title page final format
Title page final formatTitle page final format
Title page final format
 

Recently uploaded

Multivendor cloud production with VSF TR-11 - there and back again
Multivendor cloud production with VSF TR-11 - there and back againMultivendor cloud production with VSF TR-11 - there and back again
Multivendor cloud production with VSF TR-11 - there and back again
Kieran Kunhya
 
Elasticity vs. State? Exploring Kafka Streams Cassandra State Store
Elasticity vs. State? Exploring Kafka Streams Cassandra State StoreElasticity vs. State? Exploring Kafka Streams Cassandra State Store
Elasticity vs. State? Exploring Kafka Streams Cassandra State Store
ScyllaDB
 
ScyllaDB Leaps Forward with Dor Laor, CEO of ScyllaDB
ScyllaDB Leaps Forward with Dor Laor, CEO of ScyllaDBScyllaDB Leaps Forward with Dor Laor, CEO of ScyllaDB
ScyllaDB Leaps Forward with Dor Laor, CEO of ScyllaDB
ScyllaDB
 
QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...
QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...
QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...
AlexanderRichford
 
Guidelines for Effective Data Visualization
Guidelines for Effective Data VisualizationGuidelines for Effective Data Visualization
Guidelines for Effective Data Visualization
UmmeSalmaM1
 
New ThousandEyes Product Features and Release Highlights: June 2024
New ThousandEyes Product Features and Release Highlights: June 2024New ThousandEyes Product Features and Release Highlights: June 2024
New ThousandEyes Product Features and Release Highlights: June 2024
ThousandEyes
 
Northern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving | Modern Metal Trim, Nameplates and Appliance PanelsNorthern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving
 
Lee Barnes - Path to Becoming an Effective Test Automation Engineer.pdf
Lee Barnes - Path to Becoming an Effective Test Automation Engineer.pdfLee Barnes - Path to Becoming an Effective Test Automation Engineer.pdf
Lee Barnes - Path to Becoming an Effective Test Automation Engineer.pdf
leebarnesutopia
 
Radically Outperforming DynamoDB @ Digital Turbine with SADA and Google Cloud
Radically Outperforming DynamoDB @ Digital Turbine with SADA and Google CloudRadically Outperforming DynamoDB @ Digital Turbine with SADA and Google Cloud
Radically Outperforming DynamoDB @ Digital Turbine with SADA and Google Cloud
ScyllaDB
 
Communications Mining Series - Zero to Hero - Session 2
Communications Mining Series - Zero to Hero - Session 2Communications Mining Series - Zero to Hero - Session 2
Communications Mining Series - Zero to Hero - Session 2
DianaGray10
 
So You've Lost Quorum: Lessons From Accidental Downtime
So You've Lost Quorum: Lessons From Accidental DowntimeSo You've Lost Quorum: Lessons From Accidental Downtime
So You've Lost Quorum: Lessons From Accidental Downtime
ScyllaDB
 
QA or the Highway - Component Testing: Bridging the gap between frontend appl...
QA or the Highway - Component Testing: Bridging the gap between frontend appl...QA or the Highway - Component Testing: Bridging the gap between frontend appl...
QA or the Highway - Component Testing: Bridging the gap between frontend appl...
zjhamm304
 
Introducing BoxLang : A new JVM language for productivity and modularity!
Introducing BoxLang : A new JVM language for productivity and modularity!Introducing BoxLang : A new JVM language for productivity and modularity!
Introducing BoxLang : A new JVM language for productivity and modularity!
Ortus Solutions, Corp
 
An Introduction to All Data Enterprise Integration
An Introduction to All Data Enterprise IntegrationAn Introduction to All Data Enterprise Integration
An Introduction to All Data Enterprise Integration
Safe Software
 
Discover the Unseen: Tailored Recommendation of Unwatched Content
Discover the Unseen: Tailored Recommendation of Unwatched ContentDiscover the Unseen: Tailored Recommendation of Unwatched Content
Discover the Unseen: Tailored Recommendation of Unwatched Content
ScyllaDB
 
DynamoDB to ScyllaDB: Technical Comparison and the Path to Success
DynamoDB to ScyllaDB: Technical Comparison and the Path to SuccessDynamoDB to ScyllaDB: Technical Comparison and the Path to Success
DynamoDB to ScyllaDB: Technical Comparison and the Path to Success
ScyllaDB
 
Must Know Postgres Extension for DBA and Developer during Migration
Must Know Postgres Extension for DBA and Developer during MigrationMust Know Postgres Extension for DBA and Developer during Migration
Must Know Postgres Extension for DBA and Developer during Migration
Mydbops
 
Cyber Recovery Wargame
Cyber Recovery WargameCyber Recovery Wargame
Cyber Recovery Wargame
Databarracks
 
MongoDB to ScyllaDB: Technical Comparison and the Path to Success
MongoDB to ScyllaDB: Technical Comparison and the Path to SuccessMongoDB to ScyllaDB: Technical Comparison and the Path to Success
MongoDB to ScyllaDB: Technical Comparison and the Path to Success
ScyllaDB
 
ThousandEyes New Product Features and Release Highlights: June 2024
ThousandEyes New Product Features and Release Highlights: June 2024ThousandEyes New Product Features and Release Highlights: June 2024
ThousandEyes New Product Features and Release Highlights: June 2024
ThousandEyes
 

Recently uploaded (20)

Multivendor cloud production with VSF TR-11 - there and back again
Multivendor cloud production with VSF TR-11 - there and back againMultivendor cloud production with VSF TR-11 - there and back again
Multivendor cloud production with VSF TR-11 - there and back again
 
Elasticity vs. State? Exploring Kafka Streams Cassandra State Store
Elasticity vs. State? Exploring Kafka Streams Cassandra State StoreElasticity vs. State? Exploring Kafka Streams Cassandra State Store
Elasticity vs. State? Exploring Kafka Streams Cassandra State Store
 
ScyllaDB Leaps Forward with Dor Laor, CEO of ScyllaDB
ScyllaDB Leaps Forward with Dor Laor, CEO of ScyllaDBScyllaDB Leaps Forward with Dor Laor, CEO of ScyllaDB
ScyllaDB Leaps Forward with Dor Laor, CEO of ScyllaDB
 
QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...
QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...
QR Secure: A Hybrid Approach Using Machine Learning and Security Validation F...
 
Guidelines for Effective Data Visualization
Guidelines for Effective Data VisualizationGuidelines for Effective Data Visualization
Guidelines for Effective Data Visualization
 
New ThousandEyes Product Features and Release Highlights: June 2024
New ThousandEyes Product Features and Release Highlights: June 2024New ThousandEyes Product Features and Release Highlights: June 2024
New ThousandEyes Product Features and Release Highlights: June 2024
 
Northern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving | Modern Metal Trim, Nameplates and Appliance PanelsNorthern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
Northern Engraving | Modern Metal Trim, Nameplates and Appliance Panels
 
Lee Barnes - Path to Becoming an Effective Test Automation Engineer.pdf
Lee Barnes - Path to Becoming an Effective Test Automation Engineer.pdfLee Barnes - Path to Becoming an Effective Test Automation Engineer.pdf
Lee Barnes - Path to Becoming an Effective Test Automation Engineer.pdf
 
Radically Outperforming DynamoDB @ Digital Turbine with SADA and Google Cloud
Radically Outperforming DynamoDB @ Digital Turbine with SADA and Google CloudRadically Outperforming DynamoDB @ Digital Turbine with SADA and Google Cloud
Radically Outperforming DynamoDB @ Digital Turbine with SADA and Google Cloud
 
Communications Mining Series - Zero to Hero - Session 2
Communications Mining Series - Zero to Hero - Session 2Communications Mining Series - Zero to Hero - Session 2
Communications Mining Series - Zero to Hero - Session 2
 
So You've Lost Quorum: Lessons From Accidental Downtime
So You've Lost Quorum: Lessons From Accidental DowntimeSo You've Lost Quorum: Lessons From Accidental Downtime
So You've Lost Quorum: Lessons From Accidental Downtime
 
QA or the Highway - Component Testing: Bridging the gap between frontend appl...
QA or the Highway - Component Testing: Bridging the gap between frontend appl...QA or the Highway - Component Testing: Bridging the gap between frontend appl...
QA or the Highway - Component Testing: Bridging the gap between frontend appl...
 
Introducing BoxLang : A new JVM language for productivity and modularity!
Introducing BoxLang : A new JVM language for productivity and modularity!Introducing BoxLang : A new JVM language for productivity and modularity!
Introducing BoxLang : A new JVM language for productivity and modularity!
 
An Introduction to All Data Enterprise Integration
An Introduction to All Data Enterprise IntegrationAn Introduction to All Data Enterprise Integration
An Introduction to All Data Enterprise Integration
 
Discover the Unseen: Tailored Recommendation of Unwatched Content
Discover the Unseen: Tailored Recommendation of Unwatched ContentDiscover the Unseen: Tailored Recommendation of Unwatched Content
Discover the Unseen: Tailored Recommendation of Unwatched Content
 
DynamoDB to ScyllaDB: Technical Comparison and the Path to Success
DynamoDB to ScyllaDB: Technical Comparison and the Path to SuccessDynamoDB to ScyllaDB: Technical Comparison and the Path to Success
DynamoDB to ScyllaDB: Technical Comparison and the Path to Success
 
Must Know Postgres Extension for DBA and Developer during Migration
Must Know Postgres Extension for DBA and Developer during MigrationMust Know Postgres Extension for DBA and Developer during Migration
Must Know Postgres Extension for DBA and Developer during Migration
 
Cyber Recovery Wargame
Cyber Recovery WargameCyber Recovery Wargame
Cyber Recovery Wargame
 
MongoDB to ScyllaDB: Technical Comparison and the Path to Success
MongoDB to ScyllaDB: Technical Comparison and the Path to SuccessMongoDB to ScyllaDB: Technical Comparison and the Path to Success
MongoDB to ScyllaDB: Technical Comparison and the Path to Success
 
ThousandEyes New Product Features and Release Highlights: June 2024
ThousandEyes New Product Features and Release Highlights: June 2024ThousandEyes New Product Features and Release Highlights: June 2024
ThousandEyes New Product Features and Release Highlights: June 2024
 

Simple linear regression

  • 1. SIMPLE LINEAR REGRESSION(PA297Statistics for Public Administrator) Reporters: Atty. Gener R. Gayam, CPA Agapito “pete” M. Cagampang, PM Raymond B. Cabling, MD Presented to: Dr. Maria Theresa P. Pelones
  • 2. SIMPLE LINEAR REGRESSION The Scatter Diagram In solving problems that concern estimation and forecasting, a scatter diagram can be used as a graphical approach. This technique consists of joining the points corresponding to the paired scores of dependent and independent variables which are commonly represented by X and Y on the X – y coordinate system. Below is an illustration of a scatter diagram using the data in Table 6.1. This table shows the data about the six years working experience and the income of eight employees in a big industrial corporation.
  • 4. Figure 6.1 – A Scatter Diagram for Table 6.1 Data X X X X X X X X
  • 5. For you to roughly predict the value of a dependent variable, such as years of working experience, from the dependent variable, which is income, your next step is to draw a trend line. This is a line passing through the series of points such that the total vertical measurement of the points below this line is more or less equal to the total measurements of the points above the line. If these requirements are satisfied, you draw a correct trend Y. The illustration is shown in figure 6.1
  • 6. Figure 6.2 - A trend line drawn on the linear direction between working experience and income of eight employees Trend Line
  • 7. Using the trend line draw in Figure 6.1 above, the value estimated for Y when X is 16, is 18. You should not fail to remember that if a “straight line” appears to describe the relationship, the algebraic approach called the regression formula can be used as explained in the next topic.
  • 8. a = Ῡ - bX B. The Least Square Linear Regression Equation The least square linear regression equation can be understood through this formula known from algebra. Y = a + bx For instance the Y = a+bx in figure 6.1 in that line that gives the smallest sum of the squares of the vertical measurements or distance of the points from the line. In solving the regression equations, you need to solve first,
  • 9. ΣX = 62 ΣY = 90 X = 7.75 Y = 11.25 Example: Solve the least squares regression line for the data scores in Table 6.1.
  • 11. After solving the values of b and a, your regression equation obtained from Table 6.1 is.
  • 12. Now, we are interested in the distance of the Y values from Y₁ the corresponding ordinate of the regression line. Here, we are going to base our measure of dispersion or variation around the regression line on the distance (Y₁ ‒ Y)². This can be well understood by this standard error of estimate formula given below. Se = Σ(Yi ‒ Ŷ)² n ‒ 2 √ C. The standard Error of Estimate
  • 13. However, this formula entails a very tedious process of computing the standard error of estimate, so that the formula by Basil P. Korin (1977), which is easier to solve suggested as follows: Se = ΣYi² ‒ a(Yi) ‒ b(Xi ‒ Yi) n ‒ 2 Note: The symbol a and b stand for the intercept and the slope of the regression line. √
  • 14. √ Example: Solve the standard error of estimate for the regression line which was derived from the data in Table 6.1. Se = Σ(Yi ‒ Ŷ)² n ‒ 2
  • 15. Step 1 – Compute the value of Y at each of the X values. Example: Y = 6.68 + .59 (2) = 6.68 + 1.18 = 7.68 Do the rest by following the same procedure. Step 2 – Get the difference between (Yi ‒ Ŷ). Example: 8 – 7.86 = .14 Step 3 – Square all the difference Yi ‒ Ŷ. Example: (.14)² = .0196
  • 16. √ √ √ √ Step 4 – Apply the formula. Se = Σ(Yi ‒ Ŷ)² n ‒ 2 = 16.692 8 – 2 = 16.692 6 = 2.782 = 1.67
  • 17. Solution 2: Se = ΣYi² ‒ a(Yi) ‒ b(Xi ‒ Yi) n ‒ 2
  • 18. √ √ √ √ √ Step 1 – Square Y₁ Example: (8²) = 64 Step 2 – Multiply XiYi Example: 2 X 8 = 16 Step 3 – Get the sum of Yi² and XiYi Step 4 – Apply the formula = 1084 – 6.68 (90) – .59 (791) n – 2 = 1084 – 601.2 – 466.69 8 – 2 = 1084 – 1067.89 8 – 2 = 16.11 6 = 2.685 = 1.64
  • 19. The standard error of estimate is interpreted as the standard deviation. For example, if we measure vertically three standard errors from the regression line above and below, we will find that the same value of X will always fall between the upper and lower 3Se Limits. In the example above of the standard error of estimate which is 1.64 you will come up with 4.92 units (3) (1.64) above and below the regression line. This means that these “bounds” of 4.92 unit above and below the regression line pertain to all observations taken for that particular sample. If you draw two parallel lines, each of them lying one Se from the regression line, you will expect two thirds of the observations falling between these bounds. See Figure 6.1 for the illustration of the data in Table 6.1.
  • 20. Y = 6.68 + .59 X Figure 6.3 – A regression Line with One Standard Error Distance
  翻译: