SlideShare a Scribd company logo
Muhammad Qasim 
Aroj Bashir 
Dept. Environmental Sciences 
University of Gujrat
What is Regression 
What is Multi-Regression 
What is ANOVA & Two Way ANOVA 
Difference Between Multi-Regression & Two way 
ANOVA. 
Example of Multi Regression 
Example of Two ay ANOVA
Regression is the relationship between 
one dependent variable (usually denoted 
by Y) and a series of other changing 
variables (known as independent 
variables). 
two purposes of regression procedures— 
prediction and explanation. 
Example: The price of a commodity, interest 
rates, particular industries or sectors 
influence the price movement of an asset. 
Types of Regression: 
1- Liner Regression: 
Linear regression uses one independent 
variable to explain and/or predict the 
outcome of Y. General Form is, 
Linear Regression: Y = a + bX + u
Multiple regression uses two or more 
independent variables to predict the 
outcome. 
Y=a + b1X1 + b2X2 + b3X3 
There are several different kinds of 
multiple regressions—simultaneous, 
stepwise, and hierarchical multiple 
regression. 
In simultaneous (aka, standard) multiple 
regression, all the independent variables 
are considered at the same time.
Stepwise multiple regression 
In the computer determines the order 
in which the independent variables 
become part of the equation. 
In hierarchical multiple regression 
The researcher determines the order 
that the independent variables are 
entered in the equation. The order for 
entering the variables should be based 
on theory. 
It is possible to use nominal level data 
as an independent variable. For 
example, gender (female and male) 
can be used as an independent 
variable.
Analysis of variance is a method for 
splitting the total variation of our data 
into meaningful components that 
measure different source of variation. 
Two meaningful components 
1- Measuring the variation due to 
experimental error 
2- Measuring the variation due to 
experimental error plus any variation 
due to the different variable. 
Two Types: 
OneWay ANOVA---Single Criterion 
TwoWay ANOVA--- Two Criterion
Two-way (or multi-way) ANOVA is an 
appropriate analysis method for a study with 
a quantitative outcome and two (or more) 
categorical explanatory variables. 
Suppose we now have two categorical 
explanatory variables 
Is there a significant X1 effect? 
Is there a significant X2 effect? 
Are there significant interaction effects? 
If X1 has k levels and X2 has m levels, then 
the analysis is often referred to as a “k by m 
ANOVA” or “k x mANOVA”
S.No Multiple Regression TwoWay ANOVA 
1 One or more continuous 
predictor variables 
One or more categorical 
variables 
2 Shows relationship 
between variables 
Compares means 
3 Regression technique 
produces adjusted F or t 
statistics 
ANOVA technique produces 
adjusted F statistics, and depending 
on the software 
4 Predict the duration of child 
feeding in weeks using 
mother's age as a predictor 
variable 
Duration of child feeding in weeks 
using mother's marital status (single, 
married, divorced, widowed),
Example: 
In an experiment conducted to 
determine which of 3 
missile system is preferable, 
the propellant burning rate 
for 24 static firings was 
measured. Four propellant 
type were used. The 
experiment yielded 
duplicate observations of 
burnings rates at each 
combinations of the 
treatments. The data, after 
coding, were recorded as 
follow? 
Missile 
System 
Propellant Type 
b1 b2 b3 b4 
a1 
34 30.1 29.8 29 
32.7 32.8 26.7 28.9 
a2 
32 30.2 28.7 27.6 
33.2 29.8 28.1 27.8 
a3 
28.4 27.3 29.7 28.8 
29.3 28.9 27.3 29.1
Solution 
1. Hypothesis 
2. Level of Significance 
3. Critical Region 
4. Test Statics 
5. Computations 
6. Decision
Hypothesis 
’: There is no difference in the mean propellant burning rate when 
different missile systems are used. 
A- H0 
’’: There is no difference in the mean propellant burning rate of the 4th 
propellant types. 
B -H0 
’’’: There is no interaction between the different missile systems and the 
different propellant types 
Level of Significance 
C- H0 
0.05 is the level of significance 
Critical Region 
Value compression of computed f & tabulated f 
f > 3.13, f > 3.52, f > 2.59
Test Statics 
Sum of Square colum : SSC= Ƹci2/ni - (Ƹci)2/N 
Sum of Square of Row : SSR= Ƹri2/mi - (Ƹci)2/N 
Interaction : SS(RC)= Ƹ(viti)/r - (SSC+SSR+(Ƹci)2/N 
Sum of Square Error: SSE= SST-SSC-SSR-SS(RC) 
Sum of Square of Total : SST= Ƹxi2 - (Ƹci)2)/N
Computations 
SSC= Ƹci2/ni - (Ƹci)2/N 
= 126336.5/6 – 504384.04/24 
=21056.08-21016.00167 
= 40.0783333 
Missile 
System 
Propellant Type 
b1 b2 b3 b4 Ƹri Ƹri2 
a1 
34 30.1 29.8 29 
244 59536 
32.7 32.8 26.7 28.9 
a2 
32 30.2 28.7 27.6 
237.4 56358.76 
33.2 29.8 28.1 27.8 
a3 
28.4 27.3 29.7 28.8 
228.8 52349.44 
29.3 28.9 27.3 29.1 
Ƹci 189.6 179.1 170.3 171.2 710.2168244.2 
Ƹci2 35948.16 32076.81 29002.09 29309.44 126336.5
Computations 
SSR= Ƹri2/mi - (Ƹci)2/N 
= 168244.2/8 – 504384.04/24 
=21030.525-21016.00167 
= 14.52333 
Missile 
System 
Propellant Type 
b1 b2 b3 b4 Ƹri Ƹri2 
a1 
34 30.1 29.8 29 
244 59536 
32.7 32.8 26.7 28.9 
a2 
32 30.2 28.7 27.6 
237.4 56358. 
76 
33.2 29.8 28.1 27.8 
a3 
28.4 27.3 29.7 28.8 
228.8 52349. 
44 
29.3 28.9 27.3 29.1 
Ƹci 189.6 179.1 170.3 171.2 710.2 
168244 
.2 
Ƹci2 35948. 
16 
32076. 
81 
29002. 
09 
29309. 
44 
126336 
.5
Computations 
SS(RC)= Ƹ(viti)/r - (SSC+SSR+(Ƹci)2/N) 
= 42185.54/ –(40.0783333 + 14.52333 +504384.04/2) 
=21092.77-21070.6 
= 22.1666667 Formulated Table 
Missile 
System 
Propellant Type 
A B C D 
1 66.7 62.9 56.5 57.9 
2 65.2 60 56.8 55.4 
3 57.7 56.2 57 57.9 
Ƹ(viti)/r : 42185.54
Computations 
SST= Ƹxi2 - (Ƹci)2)/N 
= (34.02+32.72+30.12+………28.82+29.12) - 
504384.04/24 
=21107.68 - 21016.00167 
= 91.67833 
Missile 
System 
Propellant 
Type 
b1 b2 b3 b4 Ƹri 
Ƹri 
2 
a1 
34 30.1 29.8 29 
244 59536 
32.7 32.8 26.7 28.9 
a2 
32 30.2 28.7 27.6 237. 
4 
56358. 
76 
33.2 29.8 28.1 27.8 
a3 
28.4 27.3 29.7 28.8 228. 
8 
52349. 
44 
29.3 28.9 27.3 29.1 
Ƹci 
189. 
6 
179. 
1 
170. 
3 
171. 
2 
710 
.2 
16824 
4.2 
Ƹci2 35948. 
16 
32076. 
81 
29002. 
09 
29309. 
44 
12633 
6.5
Computation 
SSE= SST-SSC-SSR-SS(RC) 
= 91.67833- 40.0783333- 14.52333- 22.1666667 
= 14.91 
ANOVA TABLE 
Source of 
Variation 
d.f 
Sum of Square 
(SS) 
Mean 
Sequare 
(MS) 
Computed 
f 
f 
Crit. 
SSC 3 40.0783333 13.35 17.024 3.13 
SSR 2 14.52333 7.261 9.254 3.52 
SS(RS) 6 22.1666667 3.694 4.7024 2.63 
SSE 19 14.91 0.7847 
SST 24 91.67833 3.81993
ANOVA TABLE 
Source of 
Variation 
d.f 
Sum of Square 
(SS) 
Mean 
Sequare 
(MS) 
Computed 
f 
f 
Crit. 
SSC 3 40.0783333 13.35 17.024 3.13 
SSR 2 14.52333 7.261 9.254 3.52 
SS(RS) 6 22.1666667 3.694 4.7024 2.63 
SSE 19 14.91 0.7847 
SST 24 91.67833 3.81993 
Decision 
Our null hypothesis accepted and mean propellant rates are 
used
Multiple Regression & Two Way Anvoa by Muhammad Qasim , Aroj Bashir

More Related Content

PPT
Econometric modelling
PDF
Lecture notes on Johansen cointegration
PDF
J41017380
PDF
Cointegration analysis: Modelling the complex interdependencies between finan...
DOCX
Granger causality testing
PDF
An alternative scheme for approximating a periodic function
PDF
Admissions in India 2015
Econometric modelling
Lecture notes on Johansen cointegration
J41017380
Cointegration analysis: Modelling the complex interdependencies between finan...
Granger causality testing
An alternative scheme for approximating a periodic function
Admissions in India 2015

What's hot (11)

PDF
Formulario estadistica
PPT
Co-integration
PDF
Granger Causality Test: A Useful Descriptive Tool for Time Series Data
PPTX
Distributed lag model
PDF
PDF
Abrigo and love_2015_
PPTX
Controllability of Linear Dynamical System
PDF
IFAC2008art
PPTX
Introduction to mathematical control theory - Dr. Purnima Pandit
PDF
A Regularization Approach to the Reconciliation of Constrained Data Sets
PDF
Unsteady Free Convection MHD Flow of an Incompressible Electrically Conductin...
Formulario estadistica
Co-integration
Granger Causality Test: A Useful Descriptive Tool for Time Series Data
Distributed lag model
Abrigo and love_2015_
Controllability of Linear Dynamical System
IFAC2008art
Introduction to mathematical control theory - Dr. Purnima Pandit
A Regularization Approach to the Reconciliation of Constrained Data Sets
Unsteady Free Convection MHD Flow of an Incompressible Electrically Conductin...
Ad

Viewers also liked (7)

PPTX
Regression vs ANOVA
PPT
Unit 9 lesson 1
PPT
multiple regression
PDF
Analysis of Variance (ANOVA)
PPT
Regression analysis ppt
PPTX
Analysis of variance (ANOVA)
PDF
Data Science - Part IV - Regression Analysis & ANOVA
Regression vs ANOVA
Unit 9 lesson 1
multiple regression
Analysis of Variance (ANOVA)
Regression analysis ppt
Analysis of variance (ANOVA)
Data Science - Part IV - Regression Analysis & ANOVA
Ad

Similar to Multiple Regression & Two Way Anvoa by Muhammad Qasim , Aroj Bashir (20)

PPTX
SAS Notes
PPTX
Hypothesis Testing: Central Tendency – Normal (Compare 2+ Factors)
PPTX
TWO WAY ANOVA.pptx biostatistics and reasearch
PDF
Group 5 - Regression Analysis.pdf
PDF
Application of Statistical and mathematical equations in Chemistry Part 2
PPTX
Hypothesis Testing: Relationships (Compare 2+ Factors)
DOCX
Annova test
PPT
regression analysis .ppt
PPTX
Regression Analysis presentation by Al Arizmendez and Cathryn Lottier
PPT
Cairo 02 Stat Inference
PDF
Forecasting Academic Performance using Multiple Linear Regression
PPTX
Epidemiological study design and it's significance
PPTX
statistics linear progression
PPTX
Applied Statistics And Doe Mayank
PPTX
01_SLR_final (1).pptx
PPTX
Regression analysis
PPT
UNIT 2 TWO WAY ANOVA.ppt
PPTX
Presentation1.pptx
SAS Notes
Hypothesis Testing: Central Tendency – Normal (Compare 2+ Factors)
TWO WAY ANOVA.pptx biostatistics and reasearch
Group 5 - Regression Analysis.pdf
Application of Statistical and mathematical equations in Chemistry Part 2
Hypothesis Testing: Relationships (Compare 2+ Factors)
Annova test
regression analysis .ppt
Regression Analysis presentation by Al Arizmendez and Cathryn Lottier
Cairo 02 Stat Inference
Forecasting Academic Performance using Multiple Linear Regression
Epidemiological study design and it's significance
statistics linear progression
Applied Statistics And Doe Mayank
01_SLR_final (1).pptx
Regression analysis
UNIT 2 TWO WAY ANOVA.ppt
Presentation1.pptx

More from Muhammad Qasim (11)

PDF
Renewable energy resources in Pakistan
PPTX
HAZARDOUS SUBSTANCE RULES, 2003 by Muhammad Qasim, Aroj Bashir University of ...
PPTX
Sampling of Atmospheric Volatile Organic Compounds (VOCS) by Muhammad Qasim, ...
PPTX
Insect Modeling by Muhammad Qasim, Aroj Bashir
PPTX
Aids by Muhammad Qasim, Aroj Bashir
PPTX
Climate Change and Agriculture by Muhammad Qasim & Aroj Bashir
PPTX
Watershed Managment by Muhammad Qasim & Aroj Bashir
PPTX
MORPHOLOGY Muhammad Qasim Department of Environmental Science University of G...
PPTX
Importance of Environmental Journalism in Pakistan
PDF
Comparison betwwn pakistan environmental protection act 1997 and punjab envir...
PDF
Critics of punjab envirnmental protection act 1997
Renewable energy resources in Pakistan
HAZARDOUS SUBSTANCE RULES, 2003 by Muhammad Qasim, Aroj Bashir University of ...
Sampling of Atmospheric Volatile Organic Compounds (VOCS) by Muhammad Qasim, ...
Insect Modeling by Muhammad Qasim, Aroj Bashir
Aids by Muhammad Qasim, Aroj Bashir
Climate Change and Agriculture by Muhammad Qasim & Aroj Bashir
Watershed Managment by Muhammad Qasim & Aroj Bashir
MORPHOLOGY Muhammad Qasim Department of Environmental Science University of G...
Importance of Environmental Journalism in Pakistan
Comparison betwwn pakistan environmental protection act 1997 and punjab envir...
Critics of punjab envirnmental protection act 1997

Recently uploaded (20)

PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
PDF
Weekly quiz Compilation Jan -July 25.pdf
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPTX
Cell Types and Its function , kingdom of life
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
Orientation - ARALprogram of Deped to the Parents.pptx
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
Classroom Observation Tools for Teachers
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
Complications of Minimal Access Surgery at WLH
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
Yogi Goddess Pres Conference Studio Updates
Final Presentation General Medicine 03-08-2024.pptx
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
Chinmaya Tiranga quiz Grand Finale.pdf
human mycosis Human fungal infections are called human mycosis..pptx
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
Weekly quiz Compilation Jan -July 25.pdf
2.FourierTransform-ShortQuestionswithAnswers.pdf
Cell Types and Its function , kingdom of life
Abdominal Access Techniques with Prof. Dr. R K Mishra
Orientation - ARALprogram of Deped to the Parents.pptx
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Supply Chain Operations Speaking Notes -ICLT Program
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Classroom Observation Tools for Teachers
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Complications of Minimal Access Surgery at WLH
VCE English Exam - Section C Student Revision Booklet
Yogi Goddess Pres Conference Studio Updates

Multiple Regression & Two Way Anvoa by Muhammad Qasim , Aroj Bashir

  • 1. Muhammad Qasim Aroj Bashir Dept. Environmental Sciences University of Gujrat
  • 2. What is Regression What is Multi-Regression What is ANOVA & Two Way ANOVA Difference Between Multi-Regression & Two way ANOVA. Example of Multi Regression Example of Two ay ANOVA
  • 3. Regression is the relationship between one dependent variable (usually denoted by Y) and a series of other changing variables (known as independent variables). two purposes of regression procedures— prediction and explanation. Example: The price of a commodity, interest rates, particular industries or sectors influence the price movement of an asset. Types of Regression: 1- Liner Regression: Linear regression uses one independent variable to explain and/or predict the outcome of Y. General Form is, Linear Regression: Y = a + bX + u
  • 4. Multiple regression uses two or more independent variables to predict the outcome. Y=a + b1X1 + b2X2 + b3X3 There are several different kinds of multiple regressions—simultaneous, stepwise, and hierarchical multiple regression. In simultaneous (aka, standard) multiple regression, all the independent variables are considered at the same time.
  • 5. Stepwise multiple regression In the computer determines the order in which the independent variables become part of the equation. In hierarchical multiple regression The researcher determines the order that the independent variables are entered in the equation. The order for entering the variables should be based on theory. It is possible to use nominal level data as an independent variable. For example, gender (female and male) can be used as an independent variable.
  • 6. Analysis of variance is a method for splitting the total variation of our data into meaningful components that measure different source of variation. Two meaningful components 1- Measuring the variation due to experimental error 2- Measuring the variation due to experimental error plus any variation due to the different variable. Two Types: OneWay ANOVA---Single Criterion TwoWay ANOVA--- Two Criterion
  • 7. Two-way (or multi-way) ANOVA is an appropriate analysis method for a study with a quantitative outcome and two (or more) categorical explanatory variables. Suppose we now have two categorical explanatory variables Is there a significant X1 effect? Is there a significant X2 effect? Are there significant interaction effects? If X1 has k levels and X2 has m levels, then the analysis is often referred to as a “k by m ANOVA” or “k x mANOVA”
  • 8. S.No Multiple Regression TwoWay ANOVA 1 One or more continuous predictor variables One or more categorical variables 2 Shows relationship between variables Compares means 3 Regression technique produces adjusted F or t statistics ANOVA technique produces adjusted F statistics, and depending on the software 4 Predict the duration of child feeding in weeks using mother's age as a predictor variable Duration of child feeding in weeks using mother's marital status (single, married, divorced, widowed),
  • 9. Example: In an experiment conducted to determine which of 3 missile system is preferable, the propellant burning rate for 24 static firings was measured. Four propellant type were used. The experiment yielded duplicate observations of burnings rates at each combinations of the treatments. The data, after coding, were recorded as follow? Missile System Propellant Type b1 b2 b3 b4 a1 34 30.1 29.8 29 32.7 32.8 26.7 28.9 a2 32 30.2 28.7 27.6 33.2 29.8 28.1 27.8 a3 28.4 27.3 29.7 28.8 29.3 28.9 27.3 29.1
  • 10. Solution 1. Hypothesis 2. Level of Significance 3. Critical Region 4. Test Statics 5. Computations 6. Decision
  • 11. Hypothesis ’: There is no difference in the mean propellant burning rate when different missile systems are used. A- H0 ’’: There is no difference in the mean propellant burning rate of the 4th propellant types. B -H0 ’’’: There is no interaction between the different missile systems and the different propellant types Level of Significance C- H0 0.05 is the level of significance Critical Region Value compression of computed f & tabulated f f > 3.13, f > 3.52, f > 2.59
  • 12. Test Statics Sum of Square colum : SSC= Ƹci2/ni - (Ƹci)2/N Sum of Square of Row : SSR= Ƹri2/mi - (Ƹci)2/N Interaction : SS(RC)= Ƹ(viti)/r - (SSC+SSR+(Ƹci)2/N Sum of Square Error: SSE= SST-SSC-SSR-SS(RC) Sum of Square of Total : SST= Ƹxi2 - (Ƹci)2)/N
  • 13. Computations SSC= Ƹci2/ni - (Ƹci)2/N = 126336.5/6 – 504384.04/24 =21056.08-21016.00167 = 40.0783333 Missile System Propellant Type b1 b2 b3 b4 Ƹri Ƹri2 a1 34 30.1 29.8 29 244 59536 32.7 32.8 26.7 28.9 a2 32 30.2 28.7 27.6 237.4 56358.76 33.2 29.8 28.1 27.8 a3 28.4 27.3 29.7 28.8 228.8 52349.44 29.3 28.9 27.3 29.1 Ƹci 189.6 179.1 170.3 171.2 710.2168244.2 Ƹci2 35948.16 32076.81 29002.09 29309.44 126336.5
  • 14. Computations SSR= Ƹri2/mi - (Ƹci)2/N = 168244.2/8 – 504384.04/24 =21030.525-21016.00167 = 14.52333 Missile System Propellant Type b1 b2 b3 b4 Ƹri Ƹri2 a1 34 30.1 29.8 29 244 59536 32.7 32.8 26.7 28.9 a2 32 30.2 28.7 27.6 237.4 56358. 76 33.2 29.8 28.1 27.8 a3 28.4 27.3 29.7 28.8 228.8 52349. 44 29.3 28.9 27.3 29.1 Ƹci 189.6 179.1 170.3 171.2 710.2 168244 .2 Ƹci2 35948. 16 32076. 81 29002. 09 29309. 44 126336 .5
  • 15. Computations SS(RC)= Ƹ(viti)/r - (SSC+SSR+(Ƹci)2/N) = 42185.54/ –(40.0783333 + 14.52333 +504384.04/2) =21092.77-21070.6 = 22.1666667 Formulated Table Missile System Propellant Type A B C D 1 66.7 62.9 56.5 57.9 2 65.2 60 56.8 55.4 3 57.7 56.2 57 57.9 Ƹ(viti)/r : 42185.54
  • 16. Computations SST= Ƹxi2 - (Ƹci)2)/N = (34.02+32.72+30.12+………28.82+29.12) - 504384.04/24 =21107.68 - 21016.00167 = 91.67833 Missile System Propellant Type b1 b2 b3 b4 Ƹri Ƹri 2 a1 34 30.1 29.8 29 244 59536 32.7 32.8 26.7 28.9 a2 32 30.2 28.7 27.6 237. 4 56358. 76 33.2 29.8 28.1 27.8 a3 28.4 27.3 29.7 28.8 228. 8 52349. 44 29.3 28.9 27.3 29.1 Ƹci 189. 6 179. 1 170. 3 171. 2 710 .2 16824 4.2 Ƹci2 35948. 16 32076. 81 29002. 09 29309. 44 12633 6.5
  • 17. Computation SSE= SST-SSC-SSR-SS(RC) = 91.67833- 40.0783333- 14.52333- 22.1666667 = 14.91 ANOVA TABLE Source of Variation d.f Sum of Square (SS) Mean Sequare (MS) Computed f f Crit. SSC 3 40.0783333 13.35 17.024 3.13 SSR 2 14.52333 7.261 9.254 3.52 SS(RS) 6 22.1666667 3.694 4.7024 2.63 SSE 19 14.91 0.7847 SST 24 91.67833 3.81993
  • 18. ANOVA TABLE Source of Variation d.f Sum of Square (SS) Mean Sequare (MS) Computed f f Crit. SSC 3 40.0783333 13.35 17.024 3.13 SSR 2 14.52333 7.261 9.254 3.52 SS(RS) 6 22.1666667 3.694 4.7024 2.63 SSE 19 14.91 0.7847 SST 24 91.67833 3.81993 Decision Our null hypothesis accepted and mean propellant rates are used