SlideShare a Scribd company logo
9
Most read
14
Most read
18
Most read
Regression
Regression
• Regression is a statistical method used to understand and quantify
the relationship between two or more variables.
• It helps us predict one variable based on the values of other
variables. It mean that one variable are Independent and other
variable are dependent,.
• Simple words, In regression, one thing impact on other but other not
impact on one.
Examples of Regression
• The Example of regression are the relationship between the
Temperature and the sales of ice cream in a particular area.
• Ice-cream is a dependent variable and Temperature in independent
variable and simple way to predict ice-cream sales based on the
temperature.
• If the temperature increase, the ice-cream sales increase and if the
temperature is low, the ice-cream sales will be low.
Dependent Variable
• The dependent variable is what you're trying to find out or measure.
• It "depends" on other factors. It's like the answer or the result.
 Example:
• If you're studying how the amount of sunlight affects plant growth,
the plant growth is the dependent variable. It depends on the
amount of sunlight.
Independent Variable
• The independent variable is what you change or control in an
experiment.
 Example:
• How the amount of sunlight affects plant growth:
• Dependent Variable: Plant growth
• Independent Variable: Amount of sunlight
Cont.….
• The independent variable is the amount of sunlight because it's what
you are changing or manipulating to observe its effect on the
dependent variable, which is plant growth.
Types of Regression
• Two Main Types of Regression are;
• Linear Regression
• Multiple Regression
Linear Regression
• Simple linear regression has only one x and one y variable.
• Linear regression is like drawing a straight line through a bunch of
points on a graph.
• It helps us understand the average relationship between two things.
• For Example, the number of hours students study and their exam
scores.
Multiple Regression
• Multiple linear regression uses two or more independent variables
to predict the outcome
• Multiple regression is like extending linear regression when there
are more than one variables influencing the outcome.
• Multiple linear regression has one y and two or more x variables.
Example
• For Example; Predicting House Price
• Imagine you want to predict the price of a house. Instead of just
looking at one factor like the size of the house, you consider
multiple factors:
• Size of the House (in square feet)
• Number of Bedrooms
Cont.…
• Distance to the City Center (in miles)
• The price of a house depends on its size, the number of bedrooms,
and the distance to the city center."
Regression Equation
• A regression equation is a equation that best describes the linear
relationship between the two variables.
• It is expressed by the means of an equation of the form:
 X on Y
 Y on X
Regression Equation
• The Regression equation of X on Y is
X=a + bY
• Y = Independent Variable
• a = intercept
• b = regression coefficient
• X = dependent Variable
Cont.…
• The Regression equation of Y on X is
Y=a + bX
• Y = Dependent Variable
• a = intercept
• b = regression coefficient
• X = Independent Variable
Formula
On X on Y
x = a +by
a = -b
b =
Least Square Method
• The Regression equation of Y on X is
Y=a + Bx
Where
• Y = Dependent Variable
• a = intercept
• b = regression coefficient
• X = Independent Variable
Question
• From the following data obtain the two regression equations using
the method of least squares.
X Y
3 10
5 12
6 15
9 18
10 20
12 22
15 27
20 30
22 32
28 34
Solution
• Find Regression Equation on X on Y
X = a + by
a = -b
b =
3 10 9 100 30
5 12 25 144 60
6 15 36 225 90
9 18 81 324 162
10 20 100 400 200
12 22 144 484 264
15 27 225 729 405
20 30 400 900 600
22 32 484 1024 704
28 34 784 1156 952
2288 5486 3467
b = ?
b =
b = = 0.93
a = ?
a =
= = =
= = 22
a =
a =
a = -7.46
So put the values in Regression Line X on Y
X = a + by
And Regression line is
X = -7.46 + 0.9y
THANK YOU!🙂
Any Question?

More Related Content

PPTX
Regression
PDF
Role of regression in statistics (2)
PDF
Regression
PPTX
Regression
PPTX
Regression of research methodlogyyy.pptx
 
PDF
Regression Analysis-Machine Learning -Different Types
PPT
Simple linear regression
PPTX
Linear regression aims to find the "best-fit" linear line
Regression
Role of regression in statistics (2)
Regression
Regression
Regression of research methodlogyyy.pptx
 
Regression Analysis-Machine Learning -Different Types
Simple linear regression
Linear regression aims to find the "best-fit" linear line

Similar to Regression with Examples and Question and Its Types (20)

PPTX
chapter 3 regression for quantitative analysis.pptx
PDF
P G STAT 531 Lecture 10 Regression
PPTX
Lecture 8 Linear and Multiple Regression (1).pptx
PPT
Regression Analysis-Economic Statistics.ppt
PPTX
REGRESSION ANALYSIS THEORY EXPLAINED HERE
PPTX
Regression analysis in Research Methodology.pptx
PPTX
Unit 7b Regression Analyss.pptxbhjjjjjjk
PPTX
Linear Regression Analysis method of Forecasting ,:- Management principle and...
PPTX
regression analysis presentation slides.
PDF
MachineLearning_Unit-II.FHDGFHJKpptx.pdf
PPT
Regression Ayalysis (2).ppt
PPTX
Regression analysis
PPTX
Regression analysis
PPTX
Regression
PPTX
Regression
PDF
regressionanalysis-110723130213-phpapp02.pdf
PDF
Machine-Learning-Unit2Machine Learning-Machine Learning--Regression.pdf
PPTX
Statr session 23 and 24
PDF
Concept of Regression in Research Methodology.pdf
chapter 3 regression for quantitative analysis.pptx
P G STAT 531 Lecture 10 Regression
Lecture 8 Linear and Multiple Regression (1).pptx
Regression Analysis-Economic Statistics.ppt
REGRESSION ANALYSIS THEORY EXPLAINED HERE
Regression analysis in Research Methodology.pptx
Unit 7b Regression Analyss.pptxbhjjjjjjk
Linear Regression Analysis method of Forecasting ,:- Management principle and...
regression analysis presentation slides.
MachineLearning_Unit-II.FHDGFHJKpptx.pdf
Regression Ayalysis (2).ppt
Regression analysis
Regression analysis
Regression
Regression
regressionanalysis-110723130213-phpapp02.pdf
Machine-Learning-Unit2Machine Learning-Machine Learning--Regression.pdf
Statr session 23 and 24
Concept of Regression in Research Methodology.pdf
Ad

More from Arooj Fatima (9)

PDF
Tourism Development in Developed vs Developing Countries: Strategies, Impacts...
PDF
Salt Mines and Biodiversity: Historical Impact, Biotic & Abiotic Factors Expl...
PDF
Top 50 Keyboard Shortcuts to Work Faster Like a Pro
PPTX
Map Projection in ArcGIS Steps by Step fulls
PPTX
Hypothesis and Its Types with Easy Examples
PPTX
Probability and its Types with easy Examples
PPTX
Spatial Distribution of Petrol Pump in Punjab Province, Pakistan
PPTX
Sustainable Urban Development with examples
PPTX
Correlation and Its Types with Questions and Examples
Tourism Development in Developed vs Developing Countries: Strategies, Impacts...
Salt Mines and Biodiversity: Historical Impact, Biotic & Abiotic Factors Expl...
Top 50 Keyboard Shortcuts to Work Faster Like a Pro
Map Projection in ArcGIS Steps by Step fulls
Hypothesis and Its Types with Easy Examples
Probability and its Types with easy Examples
Spatial Distribution of Petrol Pump in Punjab Province, Pakistan
Sustainable Urban Development with examples
Correlation and Its Types with Questions and Examples
Ad

Recently uploaded (20)

PPTX
CHAPTER IV. MAN AND BIOSPHERE AND ITS TOTALITY.pptx
PDF
Computing-Curriculum for Schools in Ghana
PDF
advance database management system book.pdf
PDF
LDMMIA Reiki Yoga Finals Review Spring Summer
PDF
SOIL: Factor, Horizon, Process, Classification, Degradation, Conservation
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PDF
RMMM.pdf make it easy to upload and study
PPTX
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
LNK 2025 (2).pdf MWEHEHEHEHEHEHEHEHEHEHE
PPTX
Digestion and Absorption of Carbohydrates, Proteina and Fats
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
 
PPTX
Orientation - ARALprogram of Deped to the Parents.pptx
PDF
What if we spent less time fighting change, and more time building what’s rig...
PDF
Practical Manual AGRO-233 Principles and Practices of Natural Farming
PDF
A systematic review of self-coping strategies used by university students to ...
PPTX
Introduction to Building Materials
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PDF
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
PPTX
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
CHAPTER IV. MAN AND BIOSPHERE AND ITS TOTALITY.pptx
Computing-Curriculum for Schools in Ghana
advance database management system book.pdf
LDMMIA Reiki Yoga Finals Review Spring Summer
SOIL: Factor, Horizon, Process, Classification, Degradation, Conservation
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
RMMM.pdf make it easy to upload and study
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
Supply Chain Operations Speaking Notes -ICLT Program
LNK 2025 (2).pdf MWEHEHEHEHEHEHEHEHEHEHE
Digestion and Absorption of Carbohydrates, Proteina and Fats
202450812 BayCHI UCSC-SV 20250812 v17.pptx
 
Orientation - ARALprogram of Deped to the Parents.pptx
What if we spent less time fighting change, and more time building what’s rig...
Practical Manual AGRO-233 Principles and Practices of Natural Farming
A systematic review of self-coping strategies used by university students to ...
Introduction to Building Materials
Chinmaya Tiranga quiz Grand Finale.pdf
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx

Regression with Examples and Question and Its Types

  • 2. Regression • Regression is a statistical method used to understand and quantify the relationship between two or more variables. • It helps us predict one variable based on the values of other variables. It mean that one variable are Independent and other variable are dependent,. • Simple words, In regression, one thing impact on other but other not impact on one.
  • 3. Examples of Regression • The Example of regression are the relationship between the Temperature and the sales of ice cream in a particular area. • Ice-cream is a dependent variable and Temperature in independent variable and simple way to predict ice-cream sales based on the temperature. • If the temperature increase, the ice-cream sales increase and if the temperature is low, the ice-cream sales will be low.
  • 4. Dependent Variable • The dependent variable is what you're trying to find out or measure. • It "depends" on other factors. It's like the answer or the result.  Example: • If you're studying how the amount of sunlight affects plant growth, the plant growth is the dependent variable. It depends on the amount of sunlight.
  • 5. Independent Variable • The independent variable is what you change or control in an experiment.  Example: • How the amount of sunlight affects plant growth: • Dependent Variable: Plant growth • Independent Variable: Amount of sunlight
  • 6. Cont.…. • The independent variable is the amount of sunlight because it's what you are changing or manipulating to observe its effect on the dependent variable, which is plant growth.
  • 7. Types of Regression • Two Main Types of Regression are; • Linear Regression • Multiple Regression
  • 8. Linear Regression • Simple linear regression has only one x and one y variable. • Linear regression is like drawing a straight line through a bunch of points on a graph. • It helps us understand the average relationship between two things. • For Example, the number of hours students study and their exam scores.
  • 9. Multiple Regression • Multiple linear regression uses two or more independent variables to predict the outcome • Multiple regression is like extending linear regression when there are more than one variables influencing the outcome. • Multiple linear regression has one y and two or more x variables.
  • 10. Example • For Example; Predicting House Price • Imagine you want to predict the price of a house. Instead of just looking at one factor like the size of the house, you consider multiple factors: • Size of the House (in square feet) • Number of Bedrooms
  • 11. Cont.… • Distance to the City Center (in miles) • The price of a house depends on its size, the number of bedrooms, and the distance to the city center."
  • 12. Regression Equation • A regression equation is a equation that best describes the linear relationship between the two variables. • It is expressed by the means of an equation of the form:  X on Y  Y on X
  • 13. Regression Equation • The Regression equation of X on Y is X=a + bY • Y = Independent Variable • a = intercept • b = regression coefficient • X = dependent Variable
  • 14. Cont.… • The Regression equation of Y on X is Y=a + bX • Y = Dependent Variable • a = intercept • b = regression coefficient • X = Independent Variable
  • 15. Formula On X on Y x = a +by a = -b b =
  • 16. Least Square Method • The Regression equation of Y on X is Y=a + Bx Where • Y = Dependent Variable • a = intercept • b = regression coefficient • X = Independent Variable
  • 17. Question • From the following data obtain the two regression equations using the method of least squares.
  • 18. X Y 3 10 5 12 6 15 9 18 10 20 12 22 15 27 20 30 22 32 28 34
  • 19. Solution • Find Regression Equation on X on Y X = a + by a = -b b =
  • 20. 3 10 9 100 30 5 12 25 144 60 6 15 36 225 90 9 18 81 324 162 10 20 100 400 200 12 22 144 484 264 15 27 225 729 405 20 30 400 900 600 22 32 484 1024 704 28 34 784 1156 952 2288 5486 3467
  • 21. b = ? b = b = = 0.93 a = ? a = = = = = = 22 a = a = a = -7.46
  • 22. So put the values in Regression Line X on Y X = a + by And Regression line is X = -7.46 + 0.9y