SlideShare ist ein Scribd-Unternehmen logo
1 von 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

Weitere ähnliche Inhalte

Was ist angesagt?

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
 

Was ist angesagt? (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...
 

Andere mochten auch

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
 

Andere mochten auch (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
 

Ähnlich wie 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
 

Ähnlich wie 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
 

Mehr von 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
 

Mehr von 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
 

Kürzlich hochgeladen

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
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
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
 
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
 
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
 
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
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
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
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
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
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 

Kürzlich hochgeladen (20)

Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.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
 
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 🔝✔️✔️
 
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
 
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
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
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
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
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
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 

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