SlideShare a Scribd company logo
1 of 31
Program: Pharm-D 4th
Semester: II (2019-20)
Course: Bio-Statistics
Course code: PHAR-03428
Class Teacher: DR. LIAQUAT AHMAD
email: liaquatahmad@uvas.edu.pk
Lecture # 25-27
Simple Regression Definition
A regression model is a mathematical
equation that describes the relationship
between two or more variables. A
simple regression model includes only
two variables: one independent and one
dependent. The dependent variable is
the one being explained, and the
independent variable is the one used to
explain the variation in the dependent
variable.
Linear Regression Definition
Simple regression model that gives a straight-line
relationship between two variables is called a linear
regression model.
For example the relationship between food
expenditure (dependent variable) and income
(independent variable)
There is a relationship between CGPA and the time
to study.
Linear means straight line
Multiple Regression
Multiple regression analysis is a straight forward
extension of simple regression analysis which
allows more than one independent variable.
OR
When we are considering the relationship
between one dependent variable and more than
one independent variable, we use Multiple
Regression.
Calculate regression line for the following data using
reticulocytes (x) and lymphocytes (Y). Also calculate
standard error of estimate and r2.
Linear Regression Model
The regression model is
y = a + bx + Є,
a is called the y-intercept or constant term, b is
the slope, and Є is the random error term. The
dependent and independent variables are y and x,
respectively.
SIMPLE LINEAR REGRESSION
ANALYSIS
y = a + bx
Y - is the dependent variable
a is the constant term known as intercept
B is slope of the line or the regression coefficient
x – is the independent variable
SIMPLE LINEAR REGRESSION
ANALYSIS
In the model
ŷ = a + bx,
a and b, which are calculated using sample data,
are called the estimates of a and b
=
Purpose of Simple Linear Regression
The purpose of simple linear regression analysis
is to answer three questions :
Is there a relationship between the two variables?
How strong is the relationship (e.g. trivial, weak,
or strong)?
What is the direction of the relationship (high
scores are predictive of high or low scores)?
Interpreting the Regression
Equation: the Intercept
The intercept is the point on the vertical axis
where the regression line crosses the axis. It is
the predicted value for the dependent variable
when the independent variable has a value of
zero. This may or may not be useful information
depending on the context of the problem.
Interpreting the Regression
Equation: the Slope
The slope is interpreted as the amount of change in
the predicted value of the dependent variable
associated with a one unit change in the value of the
independent variable. If the slope has a negative
sign, the direction of the relationship is negative or
inverse, meaning that the scores on the two
variables move in opposite directions. If the slope
has a positive sign, the direction of the relationship
is positive or direct, meaning that the scores on the
two variables move in the same direction.
Example
Using X as the independent and Y the dependent variable
Interpretation of a and b cont.
Interpretation of b
The value of b in the regression model gives the
change in y due to change of one unit in x
We can state that, on average, a 1 increase in age
of a person will increase the weight by
Weight = 4.675 + 0.92 (1)
= 5.595
Interpreting the Regression
Equation: the Slope equals 0
If there is no relationship between two variables,
the slope of the regression line is zero and the
regression line is parallel to the horizontal axis.
A slope of zero means that the predicted value of
the dependent variable will not change, no matter
what value of the independent variable is used.
Error Sum of Squares (SSE)
The error sum of squares, denoted SSE, is
the values of a and b that give the minimum SSE
are called the least square estimates of A and B,
and the regression line obtained with these
estimates is called the least square line.
the least squares regression line ŷ = a + bx
Standard Deviation of Regression Line
or Standard error of estimate
Standard Error of estimate
COEFFICIENT OF DETERMINATION
The coefficient of determination, denoted by r2,
represents the proportion of SST that is
explained by the use of the regression model.
The computational formula for r2 is and 0 ≤ r2 ≤
1
Example # 2
Statistics

More Related Content

Similar to Simple Linear Regression explanation.pptx

ML-UNIT-IV complete notes download here
ML-UNIT-IV  complete notes download hereML-UNIT-IV  complete notes download here
ML-UNIT-IV complete notes download herekeerthanakshatriya20
 
Regression analysis ppt
Regression analysis pptRegression analysis ppt
Regression analysis pptElkana Rorio
 
Linear regression analysis
Linear regression analysisLinear regression analysis
Linear regression analysisNimrita Koul
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regressionAntony Raj
 
Linear Regression | Machine Learning | Data Science
Linear Regression | Machine Learning | Data ScienceLinear Regression | Machine Learning | Data Science
Linear Regression | Machine Learning | Data ScienceSumit Pandey
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regressionAntony Raj
 
Correlation and Regression ppt
Correlation and Regression pptCorrelation and Regression ppt
Correlation and Regression pptSantosh Bhaskar
 
CORRELATION AND REGRESSION.pptx
CORRELATION AND REGRESSION.pptxCORRELATION AND REGRESSION.pptx
CORRELATION AND REGRESSION.pptxRohit77460
 
SM_d89ccf05-7de1-4a30-a134-3143e9b3bf3f_38.pptx
SM_d89ccf05-7de1-4a30-a134-3143e9b3bf3f_38.pptxSM_d89ccf05-7de1-4a30-a134-3143e9b3bf3f_38.pptx
SM_d89ccf05-7de1-4a30-a134-3143e9b3bf3f_38.pptxManjulasingh17
 
Simple correlation & Regression analysis
Simple correlation & Regression analysisSimple correlation & Regression analysis
Simple correlation & Regression analysisAfra Fathima
 
Chapter III.pptx
Chapter III.pptxChapter III.pptx
Chapter III.pptxBeamlak5
 
Regression Analysis
Regression AnalysisRegression Analysis
Regression AnalysisSalim Azad
 

Similar to Simple Linear Regression explanation.pptx (20)

Correlation
CorrelationCorrelation
Correlation
 
Regression -Linear.pptx
Regression -Linear.pptxRegression -Linear.pptx
Regression -Linear.pptx
 
ML-UNIT-IV complete notes download here
ML-UNIT-IV  complete notes download hereML-UNIT-IV  complete notes download here
ML-UNIT-IV complete notes download here
 
Abs regression
Abs regressionAbs regression
Abs regression
 
Regression analysis ppt
Regression analysis pptRegression analysis ppt
Regression analysis ppt
 
Regression
RegressionRegression
Regression
 
Linear regression analysis
Linear regression analysisLinear regression analysis
Linear regression analysis
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regression
 
Correlation and Regression
Correlation and Regression Correlation and Regression
Correlation and Regression
 
Linear Regression | Machine Learning | Data Science
Linear Regression | Machine Learning | Data ScienceLinear Regression | Machine Learning | Data Science
Linear Regression | Machine Learning | Data Science
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regression
 
Correlation and Regression ppt
Correlation and Regression pptCorrelation and Regression ppt
Correlation and Regression ppt
 
CORRELATION AND REGRESSION.pptx
CORRELATION AND REGRESSION.pptxCORRELATION AND REGRESSION.pptx
CORRELATION AND REGRESSION.pptx
 
2-20-04.ppt
2-20-04.ppt2-20-04.ppt
2-20-04.ppt
 
SM_d89ccf05-7de1-4a30-a134-3143e9b3bf3f_38.pptx
SM_d89ccf05-7de1-4a30-a134-3143e9b3bf3f_38.pptxSM_d89ccf05-7de1-4a30-a134-3143e9b3bf3f_38.pptx
SM_d89ccf05-7de1-4a30-a134-3143e9b3bf3f_38.pptx
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
Simple correlation & Regression analysis
Simple correlation & Regression analysisSimple correlation & Regression analysis
Simple correlation & Regression analysis
 
Chapter III.pptx
Chapter III.pptxChapter III.pptx
Chapter III.pptx
 
Regression Analysis
Regression AnalysisRegression Analysis
Regression Analysis
 

More from UVAS

Cumulative Frequency polygon explanation.pdf
Cumulative Frequency polygon explanation.pdfCumulative Frequency polygon explanation.pdf
Cumulative Frequency polygon explanation.pdfUVAS
 
Sampling detail explanation statistics.pptx
Sampling detail explanation statistics.pptxSampling detail explanation statistics.pptx
Sampling detail explanation statistics.pptxUVAS
 
Promotion detail explanation marketing.pptx
Promotion detail explanation marketing.pptxPromotion detail explanation marketing.pptx
Promotion detail explanation marketing.pptxUVAS
 
Place - channels of drug distribution.pptx
Place - channels of drug distribution.pptxPlace - channels of drug distribution.pptx
Place - channels of drug distribution.pptxUVAS
 
Detailing explanation detail topic .pptx
Detailing explanation detail topic .pptxDetailing explanation detail topic .pptx
Detailing explanation detail topic .pptxUVAS
 
Sales and other forms of promotion .pptx
Sales and other forms of promotion .pptxSales and other forms of promotion .pptx
Sales and other forms of promotion .pptxUVAS
 
Business communication explanation .pptx
Business communication explanation .pptxBusiness communication explanation .pptx
Business communication explanation .pptxUVAS
 
Staffing detail explanation of marketing.pptx
Staffing detail explanation of marketing.pptxStaffing detail explanation of marketing.pptx
Staffing detail explanation of marketing.pptxUVAS
 
Advertisement explanation in detail .pptx
Advertisement explanation in detail .pptxAdvertisement explanation in detail .pptx
Advertisement explanation in detail .pptxUVAS
 
Business Management explanation detail.pptx
Business Management explanation detail.pptxBusiness Management explanation detail.pptx
Business Management explanation detail.pptxUVAS
 
Basic functions of marketing explanation.pptx
Basic functions of marketing explanation.pptxBasic functions of marketing explanation.pptx
Basic functions of marketing explanation.pptxUVAS
 
Strategies for successful business and group meetings.pptx
Strategies for successful business and group meetings.pptxStrategies for successful business and group meetings.pptx
Strategies for successful business and group meetings.pptxUVAS
 
Managing retail pharmacy marketing. pptx
Managing retail pharmacy marketing. pptxManaging retail pharmacy marketing. pptx
Managing retail pharmacy marketing. pptxUVAS
 
Frequency distribution explanation PPT.pdf
Frequency distribution explanation PPT.pdfFrequency distribution explanation PPT.pdf
Frequency distribution explanation PPT.pdfUVAS
 
Graphical Representation of data detail.pdf
Graphical Representation of data detail.pdfGraphical Representation of data detail.pdf
Graphical Representation of data detail.pdfUVAS
 
Confidence Interval Estimation detail.pptx
Confidence Interval Estimation detail.pptxConfidence Interval Estimation detail.pptx
Confidence Interval Estimation detail.pptxUVAS
 
Testing of Hypothesis using Z dist..pptx
Testing of Hypothesis  using Z dist..pptxTesting of Hypothesis  using Z dist..pptx
Testing of Hypothesis using Z dist..pptxUVAS
 
Binomial Probability Distribution statistics.pdf
Binomial Probability Distribution statistics.pdfBinomial Probability Distribution statistics.pdf
Binomial Probability Distribution statistics.pdfUVAS
 
Curve Fitting detail explanation stat.pdf
Curve Fitting detail explanation stat.pdfCurve Fitting detail explanation stat.pdf
Curve Fitting detail explanation stat.pdfUVAS
 
Measures of Dispersion Properties of Var etc.pdf
Measures of Dispersion Properties of Var etc.pdfMeasures of Dispersion Properties of Var etc.pdf
Measures of Dispersion Properties of Var etc.pdfUVAS
 

More from UVAS (20)

Cumulative Frequency polygon explanation.pdf
Cumulative Frequency polygon explanation.pdfCumulative Frequency polygon explanation.pdf
Cumulative Frequency polygon explanation.pdf
 
Sampling detail explanation statistics.pptx
Sampling detail explanation statistics.pptxSampling detail explanation statistics.pptx
Sampling detail explanation statistics.pptx
 
Promotion detail explanation marketing.pptx
Promotion detail explanation marketing.pptxPromotion detail explanation marketing.pptx
Promotion detail explanation marketing.pptx
 
Place - channels of drug distribution.pptx
Place - channels of drug distribution.pptxPlace - channels of drug distribution.pptx
Place - channels of drug distribution.pptx
 
Detailing explanation detail topic .pptx
Detailing explanation detail topic .pptxDetailing explanation detail topic .pptx
Detailing explanation detail topic .pptx
 
Sales and other forms of promotion .pptx
Sales and other forms of promotion .pptxSales and other forms of promotion .pptx
Sales and other forms of promotion .pptx
 
Business communication explanation .pptx
Business communication explanation .pptxBusiness communication explanation .pptx
Business communication explanation .pptx
 
Staffing detail explanation of marketing.pptx
Staffing detail explanation of marketing.pptxStaffing detail explanation of marketing.pptx
Staffing detail explanation of marketing.pptx
 
Advertisement explanation in detail .pptx
Advertisement explanation in detail .pptxAdvertisement explanation in detail .pptx
Advertisement explanation in detail .pptx
 
Business Management explanation detail.pptx
Business Management explanation detail.pptxBusiness Management explanation detail.pptx
Business Management explanation detail.pptx
 
Basic functions of marketing explanation.pptx
Basic functions of marketing explanation.pptxBasic functions of marketing explanation.pptx
Basic functions of marketing explanation.pptx
 
Strategies for successful business and group meetings.pptx
Strategies for successful business and group meetings.pptxStrategies for successful business and group meetings.pptx
Strategies for successful business and group meetings.pptx
 
Managing retail pharmacy marketing. pptx
Managing retail pharmacy marketing. pptxManaging retail pharmacy marketing. pptx
Managing retail pharmacy marketing. pptx
 
Frequency distribution explanation PPT.pdf
Frequency distribution explanation PPT.pdfFrequency distribution explanation PPT.pdf
Frequency distribution explanation PPT.pdf
 
Graphical Representation of data detail.pdf
Graphical Representation of data detail.pdfGraphical Representation of data detail.pdf
Graphical Representation of data detail.pdf
 
Confidence Interval Estimation detail.pptx
Confidence Interval Estimation detail.pptxConfidence Interval Estimation detail.pptx
Confidence Interval Estimation detail.pptx
 
Testing of Hypothesis using Z dist..pptx
Testing of Hypothesis  using Z dist..pptxTesting of Hypothesis  using Z dist..pptx
Testing of Hypothesis using Z dist..pptx
 
Binomial Probability Distribution statistics.pdf
Binomial Probability Distribution statistics.pdfBinomial Probability Distribution statistics.pdf
Binomial Probability Distribution statistics.pdf
 
Curve Fitting detail explanation stat.pdf
Curve Fitting detail explanation stat.pdfCurve Fitting detail explanation stat.pdf
Curve Fitting detail explanation stat.pdf
 
Measures of Dispersion Properties of Var etc.pdf
Measures of Dispersion Properties of Var etc.pdfMeasures of Dispersion Properties of Var etc.pdf
Measures of Dispersion Properties of Var etc.pdf
 

Recently uploaded

Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptxENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptxAnaBeatriceAblay2
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxUnboundStockton
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,Virag Sontakke
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 

Recently uploaded (20)

Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptxENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docx
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 

Simple Linear Regression explanation.pptx

  • 1. Program: Pharm-D 4th Semester: II (2019-20) Course: Bio-Statistics Course code: PHAR-03428 Class Teacher: DR. LIAQUAT AHMAD email: liaquatahmad@uvas.edu.pk Lecture # 25-27
  • 2. Simple Regression Definition A regression model is a mathematical equation that describes the relationship between two or more variables. A simple regression model includes only two variables: one independent and one dependent. The dependent variable is the one being explained, and the independent variable is the one used to explain the variation in the dependent variable.
  • 3. Linear Regression Definition Simple regression model that gives a straight-line relationship between two variables is called a linear regression model. For example the relationship between food expenditure (dependent variable) and income (independent variable) There is a relationship between CGPA and the time to study. Linear means straight line
  • 4. Multiple Regression Multiple regression analysis is a straight forward extension of simple regression analysis which allows more than one independent variable. OR When we are considering the relationship between one dependent variable and more than one independent variable, we use Multiple Regression.
  • 5.
  • 6.
  • 7. Calculate regression line for the following data using reticulocytes (x) and lymphocytes (Y). Also calculate standard error of estimate and r2.
  • 8. Linear Regression Model The regression model is y = a + bx + Є, a is called the y-intercept or constant term, b is the slope, and Є is the random error term. The dependent and independent variables are y and x, respectively.
  • 9. SIMPLE LINEAR REGRESSION ANALYSIS y = a + bx Y - is the dependent variable a is the constant term known as intercept B is slope of the line or the regression coefficient x – is the independent variable
  • 10. SIMPLE LINEAR REGRESSION ANALYSIS In the model ŷ = a + bx, a and b, which are calculated using sample data, are called the estimates of a and b =
  • 11.
  • 12.
  • 13. Purpose of Simple Linear Regression The purpose of simple linear regression analysis is to answer three questions : Is there a relationship between the two variables? How strong is the relationship (e.g. trivial, weak, or strong)? What is the direction of the relationship (high scores are predictive of high or low scores)?
  • 14. Interpreting the Regression Equation: the Intercept The intercept is the point on the vertical axis where the regression line crosses the axis. It is the predicted value for the dependent variable when the independent variable has a value of zero. This may or may not be useful information depending on the context of the problem.
  • 15. Interpreting the Regression Equation: the Slope The slope is interpreted as the amount of change in the predicted value of the dependent variable associated with a one unit change in the value of the independent variable. If the slope has a negative sign, the direction of the relationship is negative or inverse, meaning that the scores on the two variables move in opposite directions. If the slope has a positive sign, the direction of the relationship is positive or direct, meaning that the scores on the two variables move in the same direction.
  • 16. Example Using X as the independent and Y the dependent variable
  • 17.
  • 18.
  • 19.
  • 20. Interpretation of a and b cont. Interpretation of b The value of b in the regression model gives the change in y due to change of one unit in x We can state that, on average, a 1 increase in age of a person will increase the weight by Weight = 4.675 + 0.92 (1) = 5.595
  • 21. Interpreting the Regression Equation: the Slope equals 0 If there is no relationship between two variables, the slope of the regression line is zero and the regression line is parallel to the horizontal axis. A slope of zero means that the predicted value of the dependent variable will not change, no matter what value of the independent variable is used.
  • 22. Error Sum of Squares (SSE) The error sum of squares, denoted SSE, is the values of a and b that give the minimum SSE are called the least square estimates of A and B, and the regression line obtained with these estimates is called the least square line. the least squares regression line ŷ = a + bx
  • 23. Standard Deviation of Regression Line or Standard error of estimate
  • 24.
  • 25. Standard Error of estimate
  • 26. COEFFICIENT OF DETERMINATION The coefficient of determination, denoted by r2, represents the proportion of SST that is explained by the use of the regression model. The computational formula for r2 is and 0 ≤ r2 ≤ 1
  • 27.
  • 28.
  • 30.