SlideShare a Scribd company logo
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.
Simple Linear Regression explanation.pptx
Simple Linear Regression explanation.pptx
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
=
Simple Linear Regression explanation.pptx
Simple Linear Regression explanation.pptx
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
Simple Linear Regression explanation.pptx
Simple Linear Regression explanation.pptx
Simple Linear Regression explanation.pptx
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
Simple Linear Regression explanation.pptx
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
Simple Linear Regression explanation.pptx
Simple Linear Regression explanation.pptx
Example # 2
Simple Linear Regression explanation.pptx
Statistics

More Related Content

PPTX
Dummy variables
PDF
PPT
Simple linear regression
PPTX
Testing of Hypothesis.pptx
PPT
Chap003 Forecasting
PPTX
Harassment
PPTX
Simple Linear Regression: Step-By-Step
Dummy variables
Simple linear regression
Testing of Hypothesis.pptx
Chap003 Forecasting
Harassment
Simple Linear Regression: Step-By-Step

What's hot (20)

PPTX
Regression Analysis
PDF
Introduction to correlation and regression analysis
PDF
Simple linear regression
PPTX
Introduction to Maximum Likelihood Estimator
PPTX
Regression analysis in R
PPTX
Basics of Regression analysis
PPTX
Statistical inference: Estimation
PPTX
Regression analysis
PPTX
Statistics-Regression analysis
PPT
Fundamentals Probability 08072009
PPTX
Linear Regression
PPTX
Polynomial regression
PPT
Probability Distribution
PPT
Logistic Regression.ppt
PDF
Logistic Regression Analysis
PPT
correlation and regression
PPTX
Lesson 2 stationary_time_series
PPT
Regression analysis
PPTX
Linear Regression Analysis | Linear Regression in Python | Machine Learning A...
PPTX
F test and ANOVA
Regression Analysis
Introduction to correlation and regression analysis
Simple linear regression
Introduction to Maximum Likelihood Estimator
Regression analysis in R
Basics of Regression analysis
Statistical inference: Estimation
Regression analysis
Statistics-Regression analysis
Fundamentals Probability 08072009
Linear Regression
Polynomial regression
Probability Distribution
Logistic Regression.ppt
Logistic Regression Analysis
correlation and regression
Lesson 2 stationary_time_series
Regression analysis
Linear Regression Analysis | Linear Regression in Python | Machine Learning A...
F test and ANOVA
Ad

Similar to Simple Linear Regression explanation.pptx (20)

PDF
Simple Linear Regression detail explanation.pdf
PPTX
Dependance Technique, Regression & Correlation
PDF
P G STAT 531 Lecture 10 Regression
PPT
Regression
PPTX
STATISTICAL REGRESSION MODELS
PDF
linear_regression_notes.pdf
PPT
Correlation
PPT
Regression
PPTX
Dr Amita Marwha -correlation coeeficient and partial.pptx
PPT
Coefficient of Correlation Pearsons .ppt
PPTX
Correlation
PPTX
Regression , Types of Regression, Application of Regression, methods
PPTX
Regression -Linear.pptx
PPTX
ML-UNIT-IV complete notes download here
PPTX
Abs regression
PPTX
DrSoomro_2588_20292_1_Lecture 9 (1).pptx
PPT
Regression analysis ppt
PPTX
Regression
PPTX
Linear regression analysis
PPTX
Correlation and regression
Simple Linear Regression detail explanation.pdf
Dependance Technique, Regression & Correlation
P G STAT 531 Lecture 10 Regression
Regression
STATISTICAL REGRESSION MODELS
linear_regression_notes.pdf
Correlation
Regression
Dr Amita Marwha -correlation coeeficient and partial.pptx
Coefficient of Correlation Pearsons .ppt
Correlation
Regression , Types of Regression, Application of Regression, methods
Regression -Linear.pptx
ML-UNIT-IV complete notes download here
Abs regression
DrSoomro_2588_20292_1_Lecture 9 (1).pptx
Regression analysis ppt
Regression
Linear regression analysis
Correlation and regression
Ad

More from UVAS (20)

PDF
Cumulative Frequency polygon explanation.pdf
PPTX
Sampling detail explanation statistics.pptx
PPTX
Promotion detail explanation marketing.pptx
PPTX
Place - channels of drug distribution.pptx
PPTX
Detailing explanation detail topic .pptx
PPTX
Sales and other forms of promotion .pptx
PPTX
Business communication explanation .pptx
PPTX
Staffing detail explanation of marketing.pptx
PPTX
Advertisement explanation in detail .pptx
PPTX
Business Management explanation detail.pptx
PPTX
Basic functions of marketing explanation.pptx
PPTX
Strategies for successful business and group meetings.pptx
PPTX
Managing retail pharmacy marketing. pptx
PDF
Frequency distribution explanation PPT.pdf
PDF
Graphical Representation of data detail.pdf
PPTX
Confidence Interval Estimation detail.pptx
PPTX
Testing of Hypothesis using Z dist..pptx
PDF
Binomial Probability Distribution statistics.pdf
PDF
Curve Fitting detail explanation stat.pdf
PDF
Measures of Dispersion Properties of Var etc.pdf
Cumulative Frequency polygon explanation.pdf
Sampling detail explanation statistics.pptx
Promotion detail explanation marketing.pptx
Place - channels of drug distribution.pptx
Detailing explanation detail topic .pptx
Sales and other forms of promotion .pptx
Business communication explanation .pptx
Staffing detail explanation of marketing.pptx
Advertisement explanation in detail .pptx
Business Management explanation detail.pptx
Basic functions of marketing explanation.pptx
Strategies for successful business and group meetings.pptx
Managing retail pharmacy marketing. pptx
Frequency distribution explanation PPT.pdf
Graphical Representation of data detail.pdf
Confidence Interval Estimation detail.pptx
Testing of Hypothesis using Z dist..pptx
Binomial Probability Distribution statistics.pdf
Curve Fitting detail explanation stat.pdf
Measures of Dispersion Properties of Var etc.pdf

Recently uploaded (20)

PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PPTX
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
Business Ethics Teaching Materials for college
PDF
RMMM.pdf make it easy to upload and study
PDF
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
PDF
01-Introduction-to-Information-Management.pdf
PDF
O7-L3 Supply Chain Operations - ICLT Program
PPTX
Institutional Correction lecture only . . .
PPTX
PPH.pptx obstetrics and gynecology in nursing
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPTX
master seminar digital applications in india
PPTX
Cell Types and Its function , kingdom of life
PDF
Basic Mud Logging Guide for educational purpose
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
Pre independence Education in Inndia.pdf
PDF
Complications of Minimal Access Surgery at WLH
PPTX
Pharma ospi slides which help in ospi learning
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PPTX
Cell Structure & Organelles in detailed.
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
TR - Agricultural Crops Production NC III.pdf
Business Ethics Teaching Materials for college
RMMM.pdf make it easy to upload and study
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
01-Introduction-to-Information-Management.pdf
O7-L3 Supply Chain Operations - ICLT Program
Institutional Correction lecture only . . .
PPH.pptx obstetrics and gynecology in nursing
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
master seminar digital applications in india
Cell Types and Its function , kingdom of life
Basic Mud Logging Guide for educational purpose
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Pre independence Education in Inndia.pdf
Complications of Minimal Access Surgery at WLH
Pharma ospi slides which help in ospi learning
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
Cell Structure & Organelles in detailed.

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.
  • 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 =
  • 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
  • 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
  • 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