SlideShare a Scribd company logo
1 of 19
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

What's hot

Granger Causality Test: A Useful Descriptive Tool for Time Series Data
Granger Causality Test: A Useful Descriptive Tool for Time  Series DataGranger Causality Test: A Useful Descriptive Tool for Time  Series Data
Granger Causality Test: A Useful Descriptive Tool for Time Series DataIJMER
 
Distributed lag model
Distributed lag modelDistributed lag model
Distributed lag modelPawan Kawan
 
Abrigo and love_2015_
Abrigo and love_2015_Abrigo and love_2015_
Abrigo and love_2015_Murtaza Khan
 
Controllability of Linear Dynamical System
Controllability of  Linear Dynamical SystemControllability of  Linear Dynamical System
Controllability of Linear Dynamical SystemPurnima Pandit
 
IFAC2008art
IFAC2008artIFAC2008art
IFAC2008artYuri Kim
 
Introduction to mathematical control theory - Dr. Purnima Pandit
Introduction to mathematical control theory - Dr. Purnima PanditIntroduction to mathematical control theory - Dr. Purnima Pandit
Introduction to mathematical control theory - Dr. Purnima PanditPurnima Pandit
 
A Regularization Approach to the Reconciliation of Constrained Data Sets
A Regularization Approach to the Reconciliation of Constrained Data SetsA Regularization Approach to the Reconciliation of Constrained Data Sets
A Regularization Approach to the Reconciliation of Constrained Data SetsAlkis Vazacopoulos
 
Unsteady Free Convection MHD Flow of an Incompressible Electrically Conductin...
Unsteady Free Convection MHD Flow of an Incompressible Electrically Conductin...Unsteady Free Convection MHD Flow of an Incompressible Electrically Conductin...
Unsteady Free Convection MHD Flow of an Incompressible Electrically Conductin...IJERA Editor
 

What's hot (11)

Formulario estadistica
Formulario   estadisticaFormulario   estadistica
Formulario estadistica
 
Co-integration
Co-integration Co-integration
Co-integration
 
Granger Causality Test: A Useful Descriptive Tool for Time Series Data
Granger Causality Test: A Useful Descriptive Tool for Time  Series DataGranger Causality Test: A Useful Descriptive Tool for Time  Series Data
Granger Causality Test: A Useful Descriptive Tool for Time Series Data
 
Distributed lag model
Distributed lag modelDistributed lag model
Distributed lag model
 
riassunto
riassuntoriassunto
riassunto
 
Abrigo and love_2015_
Abrigo and love_2015_Abrigo and love_2015_
Abrigo and love_2015_
 
Controllability of Linear Dynamical System
Controllability of  Linear Dynamical SystemControllability of  Linear Dynamical System
Controllability of Linear Dynamical System
 
IFAC2008art
IFAC2008artIFAC2008art
IFAC2008art
 
Introduction to mathematical control theory - Dr. Purnima Pandit
Introduction to mathematical control theory - Dr. Purnima PanditIntroduction to mathematical control theory - Dr. Purnima Pandit
Introduction to mathematical control theory - Dr. Purnima Pandit
 
A Regularization Approach to the Reconciliation of Constrained Data Sets
A Regularization Approach to the Reconciliation of Constrained Data SetsA Regularization Approach to the Reconciliation of Constrained Data Sets
A Regularization Approach to the Reconciliation of Constrained Data Sets
 
Unsteady Free Convection MHD Flow of an Incompressible Electrically Conductin...
Unsteady Free Convection MHD Flow of an Incompressible Electrically Conductin...Unsteady Free Convection MHD Flow of an Incompressible Electrically Conductin...
Unsteady Free Convection MHD Flow of an Incompressible Electrically Conductin...
 

Viewers also liked

Unit 9 lesson 1
Unit 9 lesson 1Unit 9 lesson 1
Unit 9 lesson 1VMRoberts
 
multiple regression
multiple regressionmultiple regression
multiple regressionPriya Sharma
 
Regression analysis ppt
Regression analysis pptRegression analysis ppt
Regression analysis pptElkana Rorio
 
Analysis of variance (ANOVA)
Analysis of variance (ANOVA)Analysis of variance (ANOVA)
Analysis of variance (ANOVA)Sneh Kumari
 
Data Science - Part IV - Regression Analysis & ANOVA
Data Science - Part IV - Regression Analysis & ANOVAData Science - Part IV - Regression Analysis & ANOVA
Data Science - Part IV - Regression Analysis & ANOVADerek Kane
 

Viewers also liked (7)

Regression vs ANOVA
Regression vs ANOVARegression vs ANOVA
Regression vs ANOVA
 
Unit 9 lesson 1
Unit 9 lesson 1Unit 9 lesson 1
Unit 9 lesson 1
 
multiple regression
multiple regressionmultiple regression
multiple regression
 
Analysis of Variance (ANOVA)
Analysis of Variance (ANOVA)Analysis of Variance (ANOVA)
Analysis of Variance (ANOVA)
 
Regression analysis ppt
Regression analysis pptRegression analysis ppt
Regression analysis ppt
 
Analysis of variance (ANOVA)
Analysis of variance (ANOVA)Analysis of variance (ANOVA)
Analysis of variance (ANOVA)
 
Data Science - Part IV - Regression Analysis & ANOVA
Data Science - Part IV - Regression Analysis & ANOVAData Science - Part IV - Regression Analysis & ANOVA
Data Science - Part IV - Regression Analysis & ANOVA
 

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

Quantitative Analysis for Emperical Research
Quantitative Analysis for Emperical ResearchQuantitative Analysis for Emperical Research
Quantitative Analysis for Emperical ResearchAmit Kamble
 
Statistics - ONE WAY ANOVA
Statistics - ONE WAY ANOVAStatistics - ONE WAY ANOVA
Statistics - ONE WAY ANOVASimranSayed1
 
one way anova.pptx
one way anova.pptxone way anova.pptx
one way anova.pptxSoujanyaLk1
 
Evaluation of Vibrational Behavior for A System With TwoDegree-of-Freedom Und...
Evaluation of Vibrational Behavior for A System With TwoDegree-of-Freedom Und...Evaluation of Vibrational Behavior for A System With TwoDegree-of-Freedom Und...
Evaluation of Vibrational Behavior for A System With TwoDegree-of-Freedom Und...IJERA Editor
 
5. One Way and Two Way Classification Analysis of Variance - P10A,P10B,P11A,P...
5. One Way and Two Way Classification Analysis of Variance - P10A,P10B,P11A,P...5. One Way and Two Way Classification Analysis of Variance - P10A,P10B,P11A,P...
5. One Way and Two Way Classification Analysis of Variance - P10A,P10B,P11A,P...RheaTiemsem1
 
Measure of dispersion by Neeraj Bhandari ( Surkhet.Nepal )
Measure of dispersion by Neeraj Bhandari ( Surkhet.Nepal )Measure of dispersion by Neeraj Bhandari ( Surkhet.Nepal )
Measure of dispersion by Neeraj Bhandari ( Surkhet.Nepal )Neeraj Bhandari
 
Tugasan kumpulan anova
Tugasan kumpulan anovaTugasan kumpulan anova
Tugasan kumpulan anovapraba karan
 
1 FACULTY OF SCIENCE AND ENGINEERING SCHOOL OF COMPUT.docx
1  FACULTY OF SCIENCE AND ENGINEERING SCHOOL OF COMPUT.docx1  FACULTY OF SCIENCE AND ENGINEERING SCHOOL OF COMPUT.docx
1 FACULTY OF SCIENCE AND ENGINEERING SCHOOL OF COMPUT.docxmercysuttle
 
Development of a test statistic for testing equality of two means under unequ...
Development of a test statistic for testing equality of two means under unequ...Development of a test statistic for testing equality of two means under unequ...
Development of a test statistic for testing equality of two means under unequ...Alexander Decker
 
Variance component analysis by paravayya c pujeri
Variance component analysis by paravayya c pujeriVariance component analysis by paravayya c pujeri
Variance component analysis by paravayya c pujeriParavayya Pujeri
 

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

Anova.ppt
Anova.pptAnova.ppt
Anova.ppt
 
Quantitative Analysis for Emperical Research
Quantitative Analysis for Emperical ResearchQuantitative Analysis for Emperical Research
Quantitative Analysis for Emperical Research
 
Statistics - ONE WAY ANOVA
Statistics - ONE WAY ANOVAStatistics - ONE WAY ANOVA
Statistics - ONE WAY ANOVA
 
one way anova.pptx
one way anova.pptxone way anova.pptx
one way anova.pptx
 
lecture12.ppt
lecture12.pptlecture12.ppt
lecture12.ppt
 
lecture12.ppt
lecture12.pptlecture12.ppt
lecture12.ppt
 
Evaluation of Vibrational Behavior for A System With TwoDegree-of-Freedom Und...
Evaluation of Vibrational Behavior for A System With TwoDegree-of-Freedom Und...Evaluation of Vibrational Behavior for A System With TwoDegree-of-Freedom Und...
Evaluation of Vibrational Behavior for A System With TwoDegree-of-Freedom Und...
 
Forecast2007
Forecast2007Forecast2007
Forecast2007
 
5. One Way and Two Way Classification Analysis of Variance - P10A,P10B,P11A,P...
5. One Way and Two Way Classification Analysis of Variance - P10A,P10B,P11A,P...5. One Way and Two Way Classification Analysis of Variance - P10A,P10B,P11A,P...
5. One Way and Two Way Classification Analysis of Variance - P10A,P10B,P11A,P...
 
Measure of dispersion by Neeraj Bhandari ( Surkhet.Nepal )
Measure of dispersion by Neeraj Bhandari ( Surkhet.Nepal )Measure of dispersion by Neeraj Bhandari ( Surkhet.Nepal )
Measure of dispersion by Neeraj Bhandari ( Surkhet.Nepal )
 
Anova; analysis of variance
Anova; analysis of varianceAnova; analysis of variance
Anova; analysis of variance
 
Tugasan kumpulan anova
Tugasan kumpulan anovaTugasan kumpulan anova
Tugasan kumpulan anova
 
Ch11
Ch11Ch11
Ch11
 
Analysis of variance anova
Analysis of variance anovaAnalysis of variance anova
Analysis of variance anova
 
1 FACULTY OF SCIENCE AND ENGINEERING SCHOOL OF COMPUT.docx
1  FACULTY OF SCIENCE AND ENGINEERING SCHOOL OF COMPUT.docx1  FACULTY OF SCIENCE AND ENGINEERING SCHOOL OF COMPUT.docx
1 FACULTY OF SCIENCE AND ENGINEERING SCHOOL OF COMPUT.docx
 
Development of a test statistic for testing equality of two means under unequ...
Development of a test statistic for testing equality of two means under unequ...Development of a test statistic for testing equality of two means under unequ...
Development of a test statistic for testing equality of two means under unequ...
 
Variance component analysis by paravayya c pujeri
Variance component analysis by paravayya c pujeriVariance component analysis by paravayya c pujeri
Variance component analysis by paravayya c pujeri
 
Unit3
Unit3Unit3
Unit3
 
1789 1800
1789 18001789 1800
1789 1800
 
1789 1800
1789 18001789 1800
1789 1800
 

More from Muhammad Qasim

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

More from Muhammad Qasim (11)

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

Recently uploaded

General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024Janet Corral
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
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
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 

Recently uploaded (20)

General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
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
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 

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