SlideShare a Scribd company logo
1 of 13
Nested Designs


Study vs Control Site
Nested Experiments
• In some two-factor experiments the level of one
  factor , say B, is not “cross” or “cross classified”
  with the other factor, say A, but is “NESTED”
  with it.
• The levels of B are different for different levels of
  A.
• For example: 2 Areas (Study vs Control)
• 4 sites per area, each with 5 replicates.
• There is no link from any sites on one area to any
  sites on another area.
• That is, there are 8 sites, not 2.

       Study Area (A)                         Control Area (B)

S1(A) S2(A) S3(A)       S4(A)        S5(B) S6(B)      S7(B)   S8(B)

 X        X        X       X             X     X        X        X
 X        X        X       X             X     X        X        X
 X        X        X       X             X     X        X        X
 X        X        X       X             X     X        X        X
 X        X        X       X             X     X        X        X

X = replications

Number of sites (S)/replications need not be equal with each sites.
Analysis is carried out using a nested ANOVA not a
two-way ANOVA.
• A Nested design is not the same as a two-way
  ANOVA which is represented by:

            A1            A2          A3
      B1   XXXXX        XXXXX       XXXXX
      B2   XXXXX        XXXXX       XXXXX
      B3   XXXXX        XXXXX       XXXXX

 Nested, or hierarchical designs are very common in
 environmental effects monitoring studies. There
 are several “Study” and several “Control” Areas.
Objective
• The nested design allows us to test two things: (1)
  difference between “Study” and “Control” areas,
  and (2) the variability of the sites within areas.
• If we fail to find a significant variability among
  the sites within areas, then a significant difference
  between areas would suggest that there is an
  environmental impact.
• In other words, the variability is due to differences
  between areas and not to variability among the
  sites.
• In this kind of situation, however, it is highly
  likely that we will find variability among the sites.

• Even if it should be significant, however, we can
  still test to see whether the difference between the
  areas is significantly larger than the variability
  among the sites with areas.
Statistical Model

       Yijk = µ + ρi + τ(i)j + ε(ij)k

i indexes “A” (often called the “major factor”)
(i)j indexes “B” within “A” (B is often called the
“minor factor”)
(ij)k indexes replication
i = 1, 2, …, M
j = 1, 2, …, m
k = 1, 2, …, n
Model (continue)

Yijk = Y + ( Yi.. − Y ) + ( Yij. − Yi.. ) + ( Yijk − Yij. )


and


∑ ∑ ∑ ( Yijk − Y ) = ∑ ∑ ∑ ( Yi.. − Y ) + ∑ ∑ ∑ ( Yij. − Yi.. )
                          2                              2                 2
 i   j k                        i       j k                      i   j k

                               + ∑ ∑ ∑ ( Yijk − Yij. )       2
                                    i    j k
Model (continue)

Or,
TSS = SSA + SS(A)B+ SSWerror

          m.n ∑ ( Yi.. − Y ) + n ∑ ∑ (Yij. − Yi.. ) + ∑ ∑ ∑ (Yijk − Yij. ) 2
              M            2    M    m           2   M    m     n

             i =1               i =1 j =1            i =1 j =1 k =1
      =




Degrees of freedom:
M.m.n -1 = (M-1) + M(m-1) + Mm(n-1)
Example

     M=3, m=4, n=3; 3 Areas, 4 sites within each area, 3
     replications per site, total of (M.m.n = 36) data points

        M1                      M2                     M3              Areas
1      2     3    4    5    6        7    8     9    10   11    12     Sites
10     12    8    13   11   13       9    10    13   14     7   10
14     8     10   12   14   11       10    9    10   13     9    7     Repl.
9      10    12   11   8    9        8     8    16   12     5    4
                                                                       Yij.
11     10    10   12   11   11       9     9    13   13     7    7
        10.75                    10.0                 10.0      Yi..
                                 10.25     Y
Example (continue)
SSA = 4 x 3 [(10.75-10.25)2 + (10.0-10.25)2 + (10.0-10.25)2]
     = 12 (0.25 + 0.0625 + 0.625) = 4.5


SS(A)B = 3 [(11-10.75)2 + (10-10.75)2 + (10-10.75)2 + (12-10.75)2 +
           (11-10)2 + (11-10)2 + (9-10)2 + (9-10)2 +
           (13-10)2 + (13-10)2 + (7-10)2 + (7-10)2]
      = 3 (42.75) = 128.25


TSS = 240.75
SSWerror= 108.0
ANOVA Table for Example

Nested ANOVA: Observations versus Area, Sites
Source    DF       SS             MS      F   P
Area       2     4.50            2.25 0.158 0.856
Sites (A)B 9   128.25           14.25 3.167 0.012**
Error     24   108.00            4.50
Total     35   240.75

What are the “proper” ratios?
                                          = MSA/MS(A)B
E(MSA) = σ2 + V(A)B + VA
E(MS(A)B)= σ2 + V(A)B
                                = MS(A)B/MSWerror
E(MSWerror) = σ2
Summary

• Nested designs are very common in environmental
  monitoring
• It is a refinement of the one-way ANOVA
• All assumptions of ANOVA hold: normality of
  residuals, constant variance, etc.
• Can be easily computed using MINITAB.
• Need to be careful about the proper ratio of the
  Mean squares.
• Always use graphical methods e.g. boxplots and
  normal plots as visual aids to aid analysis.

More Related Content

What's hot

11.application of matrix algebra to multivariate data using standardize scores
11.application of matrix algebra to multivariate data using standardize scores11.application of matrix algebra to multivariate data using standardize scores
11.application of matrix algebra to multivariate data using standardize scoresAlexander Decker
 
Application of matrix algebra to multivariate data using standardize scores
Application of matrix algebra to multivariate data using standardize scoresApplication of matrix algebra to multivariate data using standardize scores
Application of matrix algebra to multivariate data using standardize scoresAlexander Decker
 
Lesson 6 differentials parametric-curvature
Lesson 6 differentials parametric-curvatureLesson 6 differentials parametric-curvature
Lesson 6 differentials parametric-curvatureLawrence De Vera
 
Parent functions and Transformations
Parent functions and TransformationsParent functions and Transformations
Parent functions and Transformationstoni dimella
 
6th math c2 -l41--jan7
6th math c2 -l41--jan76th math c2 -l41--jan7
6th math c2 -l41--jan7jdurst65
 
Lesson 10 techniques of integration
Lesson 10 techniques of integrationLesson 10 techniques of integration
Lesson 10 techniques of integrationLawrence De Vera
 
Paraproducts with general dilations
Paraproducts with general dilationsParaproducts with general dilations
Paraproducts with general dilationsVjekoslavKovac1
 
A four dimensional analysis of agricultural data
A four dimensional analysis of agricultural dataA four dimensional analysis of agricultural data
A four dimensional analysis of agricultural dataMargaret Donald
 
2013_Talk.Regensburg.DPG
2013_Talk.Regensburg.DPG2013_Talk.Regensburg.DPG
2013_Talk.Regensburg.DPGStephan Hensel
 
On maximal and variational Fourier restriction
On maximal and variational Fourier restrictionOn maximal and variational Fourier restriction
On maximal and variational Fourier restrictionVjekoslavKovac1
 
Lab mannual ncert 1
Lab mannual ncert 1Lab mannual ncert 1
Lab mannual ncert 1Himani Asija
 
Some Examples of Scaling Sets
Some Examples of Scaling SetsSome Examples of Scaling Sets
Some Examples of Scaling SetsVjekoslavKovac1
 
Dialation reflection translation by sarah walpole xi socail 2
Dialation reflection translation by sarah walpole xi socail 2Dialation reflection translation by sarah walpole xi socail 2
Dialation reflection translation by sarah walpole xi socail 2SarahWalpole2
 
2 d transformation
2 d transformation2 d transformation
2 d transformationAnkit Garg
 
CAR Models for Agricultural data
CAR Models for Agricultural dataCAR Models for Agricultural data
CAR Models for Agricultural dataMargaret Donald
 
Inverse trigonometric functions
Inverse trigonometric functionsInverse trigonometric functions
Inverse trigonometric functionsLeo Crisologo
 

What's hot (19)

11.application of matrix algebra to multivariate data using standardize scores
11.application of matrix algebra to multivariate data using standardize scores11.application of matrix algebra to multivariate data using standardize scores
11.application of matrix algebra to multivariate data using standardize scores
 
Application of matrix algebra to multivariate data using standardize scores
Application of matrix algebra to multivariate data using standardize scoresApplication of matrix algebra to multivariate data using standardize scores
Application of matrix algebra to multivariate data using standardize scores
 
Lesson 6 differentials parametric-curvature
Lesson 6 differentials parametric-curvatureLesson 6 differentials parametric-curvature
Lesson 6 differentials parametric-curvature
 
Parent functions and Transformations
Parent functions and TransformationsParent functions and Transformations
Parent functions and Transformations
 
6th math c2 -l41--jan7
6th math c2 -l41--jan76th math c2 -l41--jan7
6th math c2 -l41--jan7
 
Lesson 10 techniques of integration
Lesson 10 techniques of integrationLesson 10 techniques of integration
Lesson 10 techniques of integration
 
Paraproducts with general dilations
Paraproducts with general dilationsParaproducts with general dilations
Paraproducts with general dilations
 
A four dimensional analysis of agricultural data
A four dimensional analysis of agricultural dataA four dimensional analysis of agricultural data
A four dimensional analysis of agricultural data
 
Math assessment
Math assessmentMath assessment
Math assessment
 
Curve sketching
Curve sketchingCurve sketching
Curve sketching
 
2013_Talk.Regensburg.DPG
2013_Talk.Regensburg.DPG2013_Talk.Regensburg.DPG
2013_Talk.Regensburg.DPG
 
On maximal and variational Fourier restriction
On maximal and variational Fourier restrictionOn maximal and variational Fourier restriction
On maximal and variational Fourier restriction
 
Lab mannual ncert 1
Lab mannual ncert 1Lab mannual ncert 1
Lab mannual ncert 1
 
X10664 (ma8452)
X10664 (ma8452)X10664 (ma8452)
X10664 (ma8452)
 
Some Examples of Scaling Sets
Some Examples of Scaling SetsSome Examples of Scaling Sets
Some Examples of Scaling Sets
 
Dialation reflection translation by sarah walpole xi socail 2
Dialation reflection translation by sarah walpole xi socail 2Dialation reflection translation by sarah walpole xi socail 2
Dialation reflection translation by sarah walpole xi socail 2
 
2 d transformation
2 d transformation2 d transformation
2 d transformation
 
CAR Models for Agricultural data
CAR Models for Agricultural dataCAR Models for Agricultural data
CAR Models for Agricultural data
 
Inverse trigonometric functions
Inverse trigonometric functionsInverse trigonometric functions
Inverse trigonometric functions
 

Similar to Anov af03

Nested Analysis of variance by study&control site
Nested Analysis of variance by study&control siteNested Analysis of variance by study&control site
Nested Analysis of variance by study&control siteJayKeluskar1
 
Regression Analysis
Regression AnalysisRegression Analysis
Regression Analysisnadiazaheer
 
Bba 3274 qm week 6 part 1 regression models
Bba 3274 qm week 6 part 1 regression modelsBba 3274 qm week 6 part 1 regression models
Bba 3274 qm week 6 part 1 regression modelsStephen Ong
 
Biom-33-GxE II.ppt
Biom-33-GxE II.pptBiom-33-GxE II.ppt
Biom-33-GxE II.pptbirhankassa
 
Advance statistics 2
Advance statistics 2Advance statistics 2
Advance statistics 2Tim Arroyo
 
M. Dimitrijević, Noncommutative models of gauge and gravity theories
M. Dimitrijević, Noncommutative models of gauge and gravity theoriesM. Dimitrijević, Noncommutative models of gauge and gravity theories
M. Dimitrijević, Noncommutative models of gauge and gravity theoriesSEENET-MTP
 
Response surface methodology.pptx
Response surface methodology.pptxResponse surface methodology.pptx
Response surface methodology.pptxrakhshandakausar
 
S3 - Process product optimization design experiments response surface methodo...
S3 - Process product optimization design experiments response surface methodo...S3 - Process product optimization design experiments response surface methodo...
S3 - Process product optimization design experiments response surface methodo...CAChemE
 
Elementary Linear Algebra 5th Edition Larson Solutions Manual
Elementary Linear Algebra 5th Edition Larson Solutions ManualElementary Linear Algebra 5th Edition Larson Solutions Manual
Elementary Linear Algebra 5th Edition Larson Solutions Manualzuxigytix
 
Student_Garden_geostatistics_course
Student_Garden_geostatistics_courseStudent_Garden_geostatistics_course
Student_Garden_geostatistics_coursePedro Correia
 
Student_Garden_geostatistics_course
Student_Garden_geostatistics_courseStudent_Garden_geostatistics_course
Student_Garden_geostatistics_coursePedro Correia
 
Form 5 Additional Maths Note
Form 5 Additional Maths NoteForm 5 Additional Maths Note
Form 5 Additional Maths NoteChek Wei Tan
 
Notes and formulae mathematics
Notes and formulae mathematicsNotes and formulae mathematics
Notes and formulae mathematicsZainonie Ma'arof
 
Maths Revision Notes - IGCSE
Maths Revision Notes - IGCSEMaths Revision Notes - IGCSE
Maths Revision Notes - IGCSERahul Jose
 

Similar to Anov af03 (20)

NestedANOVA.ppt
NestedANOVA.pptNestedANOVA.ppt
NestedANOVA.ppt
 
Nested Analysis of variance by study&control site
Nested Analysis of variance by study&control siteNested Analysis of variance by study&control site
Nested Analysis of variance by study&control site
 
Regression Analysis
Regression AnalysisRegression Analysis
Regression Analysis
 
Bba 3274 qm week 6 part 1 regression models
Bba 3274 qm week 6 part 1 regression modelsBba 3274 qm week 6 part 1 regression models
Bba 3274 qm week 6 part 1 regression models
 
Biom-33-GxE II.ppt
Biom-33-GxE II.pptBiom-33-GxE II.ppt
Biom-33-GxE II.ppt
 
Advance statistics 2
Advance statistics 2Advance statistics 2
Advance statistics 2
 
M. Dimitrijević, Noncommutative models of gauge and gravity theories
M. Dimitrijević, Noncommutative models of gauge and gravity theoriesM. Dimitrijević, Noncommutative models of gauge and gravity theories
M. Dimitrijević, Noncommutative models of gauge and gravity theories
 
Response surface methodology.pptx
Response surface methodology.pptxResponse surface methodology.pptx
Response surface methodology.pptx
 
S3 - Process product optimization design experiments response surface methodo...
S3 - Process product optimization design experiments response surface methodo...S3 - Process product optimization design experiments response surface methodo...
S3 - Process product optimization design experiments response surface methodo...
 
B.Tech-II_Unit-IV
B.Tech-II_Unit-IVB.Tech-II_Unit-IV
B.Tech-II_Unit-IV
 
Elementary Linear Algebra 5th Edition Larson Solutions Manual
Elementary Linear Algebra 5th Edition Larson Solutions ManualElementary Linear Algebra 5th Edition Larson Solutions Manual
Elementary Linear Algebra 5th Edition Larson Solutions Manual
 
Miller indecies
Miller indeciesMiller indecies
Miller indecies
 
Student_Garden_geostatistics_course
Student_Garden_geostatistics_courseStudent_Garden_geostatistics_course
Student_Garden_geostatistics_course
 
Student_Garden_geostatistics_course
Student_Garden_geostatistics_courseStudent_Garden_geostatistics_course
Student_Garden_geostatistics_course
 
4th Semester Electronic and Communication Engineering (2013-June) Question Pa...
4th Semester Electronic and Communication Engineering (2013-June) Question Pa...4th Semester Electronic and Communication Engineering (2013-June) Question Pa...
4th Semester Electronic and Communication Engineering (2013-June) Question Pa...
 
Teknik Simulasi
Teknik SimulasiTeknik Simulasi
Teknik Simulasi
 
Form 5 Additional Maths Note
Form 5 Additional Maths NoteForm 5 Additional Maths Note
Form 5 Additional Maths Note
 
Notes and formulae mathematics
Notes and formulae mathematicsNotes and formulae mathematics
Notes and formulae mathematics
 
Maths Revision Notes - IGCSE
Maths Revision Notes - IGCSEMaths Revision Notes - IGCSE
Maths Revision Notes - IGCSE
 
Input analysis
Input analysisInput analysis
Input analysis
 

Recently uploaded

SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 

Recently uploaded (20)

SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 

Anov af03

  • 1. Nested Designs Study vs Control Site
  • 2. Nested Experiments • In some two-factor experiments the level of one factor , say B, is not “cross” or “cross classified” with the other factor, say A, but is “NESTED” with it. • The levels of B are different for different levels of A. • For example: 2 Areas (Study vs Control) • 4 sites per area, each with 5 replicates. • There is no link from any sites on one area to any sites on another area.
  • 3. • That is, there are 8 sites, not 2. Study Area (A) Control Area (B) S1(A) S2(A) S3(A) S4(A) S5(B) S6(B) S7(B) S8(B) X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X = replications Number of sites (S)/replications need not be equal with each sites. Analysis is carried out using a nested ANOVA not a two-way ANOVA.
  • 4. • A Nested design is not the same as a two-way ANOVA which is represented by: A1 A2 A3 B1 XXXXX XXXXX XXXXX B2 XXXXX XXXXX XXXXX B3 XXXXX XXXXX XXXXX Nested, or hierarchical designs are very common in environmental effects monitoring studies. There are several “Study” and several “Control” Areas.
  • 5. Objective • The nested design allows us to test two things: (1) difference between “Study” and “Control” areas, and (2) the variability of the sites within areas. • If we fail to find a significant variability among the sites within areas, then a significant difference between areas would suggest that there is an environmental impact. • In other words, the variability is due to differences between areas and not to variability among the sites.
  • 6. • In this kind of situation, however, it is highly likely that we will find variability among the sites. • Even if it should be significant, however, we can still test to see whether the difference between the areas is significantly larger than the variability among the sites with areas.
  • 7. Statistical Model Yijk = µ + ρi + τ(i)j + ε(ij)k i indexes “A” (often called the “major factor”) (i)j indexes “B” within “A” (B is often called the “minor factor”) (ij)k indexes replication i = 1, 2, …, M j = 1, 2, …, m k = 1, 2, …, n
  • 8. Model (continue) Yijk = Y + ( Yi.. − Y ) + ( Yij. − Yi.. ) + ( Yijk − Yij. ) and ∑ ∑ ∑ ( Yijk − Y ) = ∑ ∑ ∑ ( Yi.. − Y ) + ∑ ∑ ∑ ( Yij. − Yi.. ) 2 2 2 i j k i j k i j k + ∑ ∑ ∑ ( Yijk − Yij. ) 2 i j k
  • 9. Model (continue) Or, TSS = SSA + SS(A)B+ SSWerror m.n ∑ ( Yi.. − Y ) + n ∑ ∑ (Yij. − Yi.. ) + ∑ ∑ ∑ (Yijk − Yij. ) 2 M 2 M m 2 M m n i =1 i =1 j =1 i =1 j =1 k =1 = Degrees of freedom: M.m.n -1 = (M-1) + M(m-1) + Mm(n-1)
  • 10. Example M=3, m=4, n=3; 3 Areas, 4 sites within each area, 3 replications per site, total of (M.m.n = 36) data points M1 M2 M3 Areas 1 2 3 4 5 6 7 8 9 10 11 12 Sites 10 12 8 13 11 13 9 10 13 14 7 10 14 8 10 12 14 11 10 9 10 13 9 7 Repl. 9 10 12 11 8 9 8 8 16 12 5 4 Yij. 11 10 10 12 11 11 9 9 13 13 7 7 10.75 10.0 10.0 Yi.. 10.25 Y
  • 11. Example (continue) SSA = 4 x 3 [(10.75-10.25)2 + (10.0-10.25)2 + (10.0-10.25)2] = 12 (0.25 + 0.0625 + 0.625) = 4.5 SS(A)B = 3 [(11-10.75)2 + (10-10.75)2 + (10-10.75)2 + (12-10.75)2 + (11-10)2 + (11-10)2 + (9-10)2 + (9-10)2 + (13-10)2 + (13-10)2 + (7-10)2 + (7-10)2] = 3 (42.75) = 128.25 TSS = 240.75 SSWerror= 108.0
  • 12. ANOVA Table for Example Nested ANOVA: Observations versus Area, Sites Source DF SS MS F P Area 2 4.50 2.25 0.158 0.856 Sites (A)B 9 128.25 14.25 3.167 0.012** Error 24 108.00 4.50 Total 35 240.75 What are the “proper” ratios? = MSA/MS(A)B E(MSA) = σ2 + V(A)B + VA E(MS(A)B)= σ2 + V(A)B = MS(A)B/MSWerror E(MSWerror) = σ2
  • 13. Summary • Nested designs are very common in environmental monitoring • It is a refinement of the one-way ANOVA • All assumptions of ANOVA hold: normality of residuals, constant variance, etc. • Can be easily computed using MINITAB. • Need to be careful about the proper ratio of the Mean squares. • Always use graphical methods e.g. boxplots and normal plots as visual aids to aid analysis.