Theorem A: Expectations of Sums of Squares Under the two-way ANOVA model, E(X i X) 2 = (µ i µ) 2 + n 1 n σ2

Similar documents
iron retention (log) high Fe2+ medium Fe2+ high Fe3+ medium Fe3+ low Fe2+ low Fe3+ 2 Two-way ANOVA

MAT3378 ANOVA Summary

Factorial ANOVA. Psychology 3256

TWO OR MORE RANDOM EFFECTS. The two-way complete model for two random effects:

Analysis of Variance and Design of Experiments-I

Two-Way Analysis of Variance - no interaction

Chapter 8: Hypothesis Testing Lecture 9: Likelihood ratio tests

Outline Topic 21 - Two Factor ANOVA

Two or more categorical predictors. 2.1 Two fixed effects

Unit 7: Random Effects, Subsampling, Nested and Crossed Factor Designs

Chapter 11 - Lecture 1 Single Factor ANOVA

Summary of Chapter 7 (Sections ) and Chapter 8 (Section 8.1)

Statistics For Economics & Business

Analysis of Variance

In a one-way ANOVA, the total sums of squares among observations is partitioned into two components: Sums of squares represent:

Fractional Factorial Designs

Two-Factor Full Factorial Design with Replications

Two-factor studies. STAT 525 Chapter 19 and 20. Professor Olga Vitek

Statistics 512: Applied Linear Models. Topic 7

If we have many sets of populations, we may compare the means of populations in each set with one experiment.

Chapter 12. Analysis of variance

STAT 705 Chapter 19: Two-way ANOVA

STAT 705 Chapter 19: Two-way ANOVA

Chapter 15: Analysis of Variance

STAT Final Practice Problems

2017 Financial Mathematics Orientation - Statistics

Formal Statement of Simple Linear Regression Model

Research Methods II MICHAEL BERNSTEIN CS 376

Statistical Hypothesis Testing

Multiple Comparisons. The Interaction Effects of more than two factors in an analysis of variance experiment. Submitted by: Anna Pashley

Much of the material we will be covering for a while has to do with designing an experimental study that concerns some phenomenon of interest.

ANOVA Randomized Block Design

Statistics 512: Applied Linear Models. Topic 9

Allow the investigation of the effects of a number of variables on some response

Two Factor Completely Between Subjects Analysis of Variance. 2/12/01 Two-Factor ANOVA, Between Subjects 1

Statistics 210 Part 3 Statistical Methods Hal S. Stern Department of Statistics University of California, Irvine

Statistics for Managers Using Microsoft Excel Chapter 10 ANOVA and Other C-Sample Tests With Numerical Data

Lec 5: Factorial Experiment

3. Design Experiments and Variance Analysis

Unbalanced Designs Mechanics. Estimate of σ 2 becomes weighted average of treatment combination sample variances.

CS 147: Computer Systems Performance Analysis

Factorial designs. Experiments

STAT 401A - Statistical Methods for Research Workers

Ch 2: Simple Linear Regression

I i=1 1 I(J 1) j=1 (Y ij Ȳi ) 2. j=1 (Y j Ȳ )2 ] = 2n( is the two-sample t-test statistic.

STAT 135 Lab 10 Two-Way ANOVA, Randomized Block Design and Friedman s Test

WITHIN-PARTICIPANT EXPERIMENTAL DESIGNS

Unit 27 One-Way Analysis of Variance

The factors in higher-way ANOVAs can again be considered fixed or random, depending on the context of the study. For each factor:

DESAIN EKSPERIMEN Analysis of Variances (ANOVA) Semester Genap 2017/2018 Jurusan Teknik Industri Universitas Brawijaya

2 Hand-out 2. Dr. M. P. M. M. M c Loughlin Revised 2018

Factorial Designs. Prof. Daniel A. Menasce Dept. of fcomputer Science George Mason University. studied simultaneously.

Multiple comparisons - subsequent inferences for two-way ANOVA

Power & Sample Size Calculation

Outline. Remedial Measures) Extra Sums of Squares Standardized Version of the Multiple Regression Model

Two-Way Factorial Designs

Chap The McGraw-Hill Companies, Inc. All rights reserved.

Stat 511 HW#10 Spring 2003 (corrected)

The legacy of Sir Ronald A. Fisher. Fisher s three fundamental principles: local control, replication, and randomization.

One-Way Analysis of Variance. With regression, we related two quantitative, typically continuous variables.

Topic 20: Single Factor Analysis of Variance

Factorial and Unbalanced Analysis of Variance

Dr. Shalabh Department of Mathematics and Statistics Indian Institute of Technology Kanpur

The Dependence of Repair Times of Safety-significant Devices on Repair Class in the Loviisa Nuclear Power Plant

Ch. 5 Two-way ANOVA: Fixed effect model Equal sample sizes

Sociology 6Z03 Review II

Unbalanced Data in Factorials Types I, II, III SS Part 1

STAT 506: Randomized complete block designs

Chapter 10: Analysis of variance (ANOVA)

STAT 705 Chapter 16: One-way ANOVA

1 One-way analysis of variance

Homework 3 - Solution

Econ 3790: Business and Economic Statistics. Instructor: Yogesh Uppal

Random and Mixed Effects Models - Part III

Orthogonal contrasts for a 2x2 factorial design Example p130

Lec 1: An Introduction to ANOVA

STAT22200 Spring 2014 Chapter 8A

Unit 8: 2 k Factorial Designs, Single or Unequal Replications in Factorial Designs, and Incomplete Block Designs

Inferences for Regression

CHAPTER 4 Analysis of Variance. One-way ANOVA Two-way ANOVA i) Two way ANOVA without replication ii) Two way ANOVA with replication

Lecture 10: Factorial Designs with Random Factors

3. Factorial Experiments (Ch.5. Factorial Experiments)

F-tests and Nested Models

Nested Designs & Random Effects

Topic 9: Factorial treatment structures. Introduction. Terminology. Example of a 2x2 factorial

Stat 579: Generalized Linear Models and Extensions

Lecture 15. Hypothesis testing in the linear model

Factorial Treatment Structure: Part I. Lukas Meier, Seminar für Statistik

V. Experiments With Two Crossed Treatment Factors

n i n T Note: You can use the fact that t(.975; 10) = 2.228, t(.95; 10) = 1.813, t(.975; 12) = 2.179, t(.95; 12) =

22s:152 Applied Linear Regression. Take random samples from each of m populations.

Section 4.6 Simple Linear Regression

Topic 17 - Single Factor Analysis of Variance. Outline. One-way ANOVA. The Data / Notation. One way ANOVA Cell means model Factor effects model

QUEEN MARY, UNIVERSITY OF LONDON

Statistical Analysis of Unreplicated Factorial Designs Using Contrasts

Analysis of Variance

Stat 217 Final Exam. Name: May 1, 2002

22s:152 Applied Linear Regression. There are a couple commonly used models for a one-way ANOVA with m groups. Chapter 8: ANOVA

Definitions of terms and examples. Experimental Design. Sampling versus experiments. For each experimental unit, measures of the variables of

One-Way Analysis of Variance: A Guide to Testing Differences Between Multiple Groups

Transcription:

identity Y ijk Ȳ = (Y ijk Ȳij ) + (Ȳi Ȳ ) + (Ȳ j Ȳ ) + (Ȳij Ȳi Ȳ j + Ȳ ) Theorem A: Expectations of Sums of Squares Under the two-way ANOVA model, (1) E(MSE) = E(SSE/[IJ(K 1)]) = (2) E(MSA) = E(SSA/(I 1)) = + JK I 1 (3) E(MSB) = E(SSB/(J 1)) = + IK J 1 i=1 j=1 (4) E(MSAB) = E(SSAB/[(I 1)(J 1)]) = + α 2 i β 2 i K (I 1)(J 1) i=1 j=1 δ 2 ij Proof: They can be proved by using Lemma A: Let X i, where i = 1,,n be independent random variables with E(X i ) = µ i and V ar(x i ) =. Then E(X i X) 2 = (µ i µ) 2 + n 1 n σ2 Apply it to (1): E(Y ijk Ȳij.) 2 = (0 0) 2 + (K 1)/K, thus E(SSE) = E[ ij (K 1)[Sij 2 ] = IJKE[S2 ij ] = IJ(K 1) Apply it (2): Apply it to (3): Notice that Y ijk N(µ + α i + β j + δ ij, ) and apply the lemma to SSTO, 21

E(SST O) = = = (IJK 1) + E(Y ijk Ȳ ) 2 [(µ + α i + β j + δ ij µ) 2 + IJK 1 IJK σ2 ] = (IJK 1) + JK (α i + β j + δ ij ) 2 α 2 i + IK i=1 βj 2 + K j=1 i=1 j=1 The last step is true because of the constraints on the parameters. For example, α i β j = K( α i )( β j ) = 0 i=1 Based on (1)-(3) and E(SSTO), we can prove (4). Theorem B: Distributions of Sums of Squares Assume that the errors are independent and normally distributed with means zero and variances. Then (1) SSE/ follows a chi-squared distribution with IJ(K 1) degrees of freedom. (2) Under the null j=1 H 0 : α i = 0,i = 1,,I SSA/ follows a chi-squared distribution with I 1 degrees of freedom. (3) Under the null H 0 : β j = 0,j = 1,,J SSB/ follows a chi-squared distribution with J 1 degrees of freedom. (4) Under the null H 0 : δ ij = 0,i = 1,,I,j = 1,,J SSAB/ follows a chi-squared distribution with (I 1)(J 1) degrees of freedom. (5) The sums of squares are independently distributed. Proof. We only provide the proof for (1). 22 δ 2 ij

SSE/ = 1 Consider the sample in group (i,j): {Y ij1,y ij2,,y ijk }. (Y ijk Ȳij ) 2 Here we fixed the level of factor A at i and the level of factor B at j. All the observations have the same distribution: N(µ + α i + β j + δ ij, and they are independent. This is iid becuase we assumed that Y ijk = µ + α i + β j + δ ij + ǫ ijk where ǫ ijk N(0, ). So {Y ij1,y ij2,,y ijk } is a random sample from N(µ + α i + β j + δ ij, ). In 120B we learned that the distribution of the sample variance of a random sample from a Normal distribution. Let Sij 2 denote the sample variance of the random sample, we have 1 (Y ijk Ȳij ) 2 = K 1 Sij 2 χ 2 K 1. k=1 Since Sij 2 s are from independent samples, they are independent. In addition, it is not difficult to verfiy that Therefore, SSE = i j (K 1)S 2 ij SSE/ χ 2 IJ(K 1) Proofs for the (2,3) are similar. Proofs for (4,5) are not required in this course. For (2) Think about the sample variance of this random sample under the null {Ȳ1..,Ȳ2..,,ȲI..} For (3) Think about the sample variance of this random sample under the null {Ȳ.1.,Ȳ.2.,,Ȳ.I.} For (4) The rationale for df = (I 1)(J 1): there are IJ δ ij s but they are redundant: given the constraints i = j = 0 the last row and the last columns are not needed, which results in (I 1)(J 1) unique parameters. 23

Implication of very large SSA. what does a large SSA tell us? Under the null H O : α i = 0, i = 1,, I E(MSA) = E(MSE) If the null hypothesis is not true, E[MSA] > E[MSE]. Therefore,we can use MSA/MSE as a test statistic. In fact, under the null, it follows F I 1,IJ(K 1). Summary, (1) Under the null H O : α i = 0, i = 1,, I (2) Under the null F = MSA MSE = SSA/(I 1) SSE/[IJ(K 1] SSA/[ (I 1)] = SSE/[ IJ(K 1] χ 2 I 1 /(I 1) = d χ 2 IJ(K 1) /[IJ(K 1)] F I 1,IJ(K 1) H O : β j = 0, j = 1,, J (3) Under the null F = MSB MSE F J 1,IJ(K 1) H O : δ ij = 0, i = 1,, I, j = 1,, J F = MSAB MSE F (I 1)(J 1),IJ(K 1) All the distributions have the same denominator degrees of freedom. This is because all the sums of squares are compared to the mean sum of squares of error. ANOVA table for two-way models 24

Source SS df M S F MSA A SSA I 1 SSA MSA= MSE B SSB J 1 MSB = SSB J 1 I-1 MSB MSE AB SSAB (I 1)(J 1) MSAB = SSAB (I 1)(J 1) Error SSE IJ(K 1) MSE = SSE IJ(K 1) Total SSTO IJK 1 MSAB MSE The ANOVA table for the iron retention example To test the effect of iron form, we test using the statistic Because the test statistic is... Source SS df MS F Iron form 2.074 1 2.074 5.99 Dosage 15.588 2 7.794 22.53 Interaction.810 2.405 1.17 Error 35.396 102.346 Total 53.768 107 H 0 : α 1 = α 2 = 0 v.s. H 1 : not all α i equal 0 F = Similarly, dosage also has an effect on the iron retention. Last, we want to test whether there is an interaction effect by considering the following test statistic... F = Since..., we conclude that... 25

A brief review of all the tests we have discussed: One group: X 1,,X n, H 0 : µ = µ 0. We use the one-sample t-test. Two groups but paired: the t-test for paired samples, which is the one-sample t-test. Two groups: X 1,,X m, Y 1,,Y n. We use the two-sample t-test. I groups: Y ij. We use one-way ANOVA. Two factors. We use two-way ANOVA. 26