Analysis of variance
|
|
- Shona Johnston
- 5 years ago
- Views:
Transcription
1 Analysis of variance 1
2 Method If the null hypothesis is true, then the populations are the same: they are normal, and they have the same mean and the same variance. We will estimate the numerical value of this common variance in two distinct ways: we will compute the between-groups variance and the withingroups variance. If the null hypothesis is true, then these two distinct estimates of the variance should be equal, their equality can be tested by an F ratio test. The fact that we can compute variances in two ways stems from the break-down of the total sum of squares into a between-groups sum of squares and a within-groups sum of squares. The total number of degrees of freedom N-1, where N is the sum of all sample sizes, is also broken down into the appropriate between-groups and within-groups degrees of freedom: t-1 and N-t, respectively. The results of computations of ANOVA methods are usually tabulated. The rows of such tables give the source of the variance; the columns contain the sum of squares, the number of degrees of freedom, the variances, the F-value (variance ratio), and the p-value. HUSRB/0901/1/088 Teaching Mathematics and Statistics in Sciences: Modeling and Computer-aided Approach
3 ANOVA table Source of variation Between groups Within groups Sum of squares Q = n ( x x) k h h i = 1 n i i i Qb = ( xij xi ) s i= 1 j = 1 Total h ni N-1 Q = ( xij x) i = 1 j = 1 Degrees of freedom h-1 N-h s Variance b = w = Qb h 1 Q N w h F F = s s b w HUSRB/0901/1/088 Teaching Mathematics and Statistics in Sciences: Modeling and Computer-aided Approach3 3
4 Multiple comparisons If the result of the ANOVA is not significant at the specified level, the analysis is complete. We expect all samples be drawn from the same population; the differences between sample means are due to random effects If the result of the ANOVA is significant, then we have to accept the alternative hypothesis: there is at least one group different from one of the others. To find these groups, we have to compare each group with each of the others. As the two-sample t-test is inappropriate to do this, there are special tests for multiple comparisons that keep the probability of Type I error as α. HUSRB/0901/1/088 Teaching Mathematics and Statistics in Sciences: Modeling and Computer-aided Approach4 4
5 Pairwise methods I. The most often used multiple comparisons are the modified t- tests. Another often used method is the so-called Bonferroni method: to achieve a level of not more than α for a set of a number of c tests, we need to choose a level α /c for the individual tests. xi x j For example for three comparisons a p-value less than 0.05/3=0.017 has to be considered significant instead of p=0.05. This method is conservative. We know only that the probability does not exceed α for the set. This method can be used in cases involving small numbers of comparisons. t = s b n n i j HUSRB/0901/1/088 Teaching Mathematics and Statistics in Sciences: Modeling and Computer-aided Approach5 5
6 Scheffé test The Scheffé test performs simultaneous joint pairwise comparisons for all possible pairwise combinations of means. This test can be used to examine special linear combinations of group means, not simply pairwise comparisons. s b xi x j ( )( h 1) ni n j HUSRB/0901/1/088 Teaching Mathematics and Statistics in Sciences: Modeling and Computer-aided Approach6 6
7 Tukey-test (only in the case of equal sample sizes The followin quantity has to be compared with a value from the special table of studentized ranges T = x i s b n x j HUSRB/0901/1/088 Teaching Mathematics and Statistics in Sciences: Modeling and Computer-aided Approach7 7
8 Dunnett test Another multiple comparison method is the Dunnett test: a test comparing a given group (control) with the others. HUSRB/0901/1/088 Teaching Mathematics and Statistics in Sciences: Modeling and Computer-aided Approach8 8
9 Example Assume that we have recorded the biomass of 3 bacteria in flasks of glucose broth, and we used 3 replicate flasks for each bacterium. Replicate Bacterium A Bacterium B Bacterium C HUSRB/0901/1/088 Teaching Mathematics and Statistics in Sciences: Modeling and Computer-aided Approach9 9
10 Anova: Single Factor Descriptive statistics Groups Count Sum Average Variance Bacterium A Bacterium B 3 6 0, , Bacterium C HUSRB/0901/1/088 Teaching Mathematics and Statistics in Sciences: Modeling and Computer-aided Approach 10 10
11 ANOVA table Source of Variation SS df MS F P-value F crit Between Groups 1140, 570, , ,61E-05 5,14353 Within Groups 5, , Total 119,889 8 HUSRB/0901/1/088 Teaching Mathematics and Statistics in Sciences: Modeling and Computer-aided Approach 11 11
12 Two-way analysis of variance Main Effect The main effect involves the independent variables one at a time. The interaction is ignored for this part. Just the rows or just the columns are used, not mixed. This is the part which is similar to the one-way analysis of variance. Each of the variances calculated to analyze the main effects are like the between variances Interaction Effect The interaction effect is the effect that one factor has on the other factor. The degrees of freedom here is the product of the two degrees of freedom for each factor. Within Variation The Within variation is the sum of squares within each treatment group. You have one less than the sample size (remember all treatment groups must have the same sample size for a two-way ANOVA) for each treatment group. The total number of treatment groups is the product of the number of levels for each factor. The within variance is the within variation divided by its degrees of freedom. The within group is also called the error. F-Tests There is an F-test for each of the hypotheses, and the F-test is the mean square for each main effect and the interaction effect divided by the within variance. The numerator degrees of freedom come from each effect, and the denominator degrees of freedom is the degrees of freedom for the within variance in each case. HUSRB/0901/1/088 Teaching Mathematics and Statistics in Sciences: Modeling and Computer-aided Approach 1 1
13 Hypothesis There are three sets of hypothesis with the two-way ANOVA. The null hypotheses for each of the sets are given below. The population means of the first factor are equal. This is like the oneway ANOVA for the row factor. The population means of the second factor are equal. This is like the one-way ANOVA for the column factor. There is no interaction between the two factors. This is similar to performing a test for independence with contingency tables. HUSRB/0901/1/088 Teaching Mathematics and Statistics in Sciences: Modeling and Computer-aided Approach 13 13
14 ANOVA table without replication Factor B p T j = x ij i = 1 j=1 j=... j=q Z i i=1 x 11 x 1... x 1q Z 1 xi x1 T Z i = x ij x = i = q q j = 1 j = 1 Z q T j i F a c t o r A i= x 1 x... x q Z x x j = T j p i=p x k1 x k... x pq Z p T j T 1 T... T q T x p Intercept / correction factor = T pq x j x 1 x x q x HUSRB/0901/1/088 Teaching Mathematics and Statistics in Sciences: Modeling and Computer-aided Approach 14 14
15 ANOVA table without replication Source of variation Correction factor Sum of squares Degrees of freedom Variance (Var=Q/f) F - value (F=Var/Varerror) Q CF f CF = 1 Var CF =Q CF /f CF F CF =Var CF /Var error Faktor A Q A f A =p 1 Var A =Q A /f A F A =Var A /Var error Faktor B Q B f B =q 1 Var B =Q B /f B F B =Var B /Var error Error Q error f error =(p 1)(q 1) Var error =Q error /f error Total Q total f total =pq-1 HUSRB/0901/1/088 Teaching Mathematics and Statistics in Sciences: Modeling and Computer-aided Approach 15 15
16 ANOVA table without replication Source of variation Sum of squares (SS) Degrees of freedom (df) Variance (MS=SS/df) F T pq Intercept 1 s CF SS CF = F = CF sh s Factor A 1 T SS Z p-1 s A A = i q pq i F = s s A h Factor B 1 T SS T B j q-1 s B Error (Residual) SS Error = = p pq j SS Total SS A SS B (p-1)(q-1) s h F = s s B h = pq i, j Total T N-1 SS Total x ij HUSRB/0901/1/088 Teaching Mathematics and Statistics in Sciences: Modeling and Computer-aided Approach 16 16
17 ANOVA table with replication Source of variation Correction factor Sum of squares Degrees of freedom Variance (Var=Q/f) F - value (F=Var/Varerror) Q CF f CF = 1 Var CF =Q CF /f CF F CF =Var CF /Var error Faktor A Q A f A =p 1 Var A =Q A /f A F A =Var A /Var error Faktor B Q B f B =q 1 Var B =Q B /f B F B =Var B /Var error A x B Q AB f AB =(p 1)(q 1) Var AB =Q AB /f AB F AB =Var AB /Var error Error Q error f error =N-pq(=0) Var error =Q error /f error Total Q total f total =pq-1 HUSRB/0901/1/088 Teaching Mathematics and Statistics in Sciences: Modeling and Computer-aided Approach 17 17
18 ANOVA table with replication Source of variation Sum of squares (SS) Degrees of freedom (df) Variance (MS=SS/df) F Intercept T 1 s CF Factor A p-1 s A q Factor B q-1 s B Interaction (AxB) Error (Within) SS SS CF = SS SS SS AxB A = B within n = = = p nq np n pq q n p q Total ( ) N-1 SStotal = xhij x p i = 1 i = 1 i = 1 j = 1 p h = 1 i = 1 j = 1 ( xi. x) ( x. j x) ( xij xi. x. j + x) q h = 1 i = 1 j = 1 ( x xij ) hij (p-1)(q-1) s AB N-pq s h F = F = F = F = CF sh s s s A h s s B h AB sh s HUSRB/0901/1/088 Teaching Mathematics and Statistics in Sciences: Modeling and Computer-aided Approach 18 18
19 y The two-way ANOVA model Let us denote the numbers of levels of factors 1 and by t and l, respectively, and by N the total number of observations. The two-way ANOVA model is ijk = µ + α + β + Θ + ε i j ij ijk, i = 1,..., t j = 1,..., l, k = 1,..., n ij HUSRB/0901/1/088 Teaching Mathematics and Statistics in Sciences: Modeling and Computer-aided Approach 19 19
20 where we use the following notations: y ijk = the k-th observed value of the dependent variable when we are using level i of factor 1 and level j of factor, µ = an overall mean, (unknown constant α i = the effect due to level i of factor 1 (an unknown constant), β j = the effect due to level j of factor, (an unknown constant), θ ij = the effect due to the interaction of level i of factor 1 and level j of factor (an unknown constant), ε ijk = the k-th error term when we are using level i of factor 1 and level j of factor (assumed to be distributed as N(0,σ)) HUSRB/0901/1/088 Teaching Mathematics and Statistics in Sciences: Modeling and Computer-aided Approach 0 0
21 According to the above questions, the following null hypotheses can be tested H 1 : α 1 = α =...= α t H : β 1 = β =...= β t H 3 : θ ij = 0 HUSRB/0901/1/088 Teaching Mathematics and Statistics in Sciences: Modeling and Computer-aided Approach 1 1
22 Example: Suppose that factor A has 3 levels (i=3) and factor B has levels (j=). Them theoretically, we might have the following situations HUSRB/0901/1/088 Teaching Mathematics and Statistics in Sciences: Modeling and Computer-aided Approach
23 Only the effect of A is significant, the only significant factor is A y ijk = µ + α i + ε ijk, HUSRB/0901/1/088 Teaching Mathematics and Statistics in Sciences: Modeling and Computer-aided Approach 3 3
24 Only the effect of B is significant, the only significant factor is B y = µ + β ijk j + ε ijk OSSZFVS 1 1 LPS LPS nem volt -,5 0,0,5 1,0 1,5,0,5 HUSRB/0901/1/088 Teaching Mathematics and Statistics in Sciences: Modeling and Computer-aided Approach 4 4
25 Both factors are significant y ijk = µ + α + β + i j ε ijk LPS OSSZFVS 0 LPS nem volt -,5 0,0,5 1,0 1,5,0,5 HUSRB/0901/1/088 Teaching Mathematics and Statistics in Sciences: Modeling and Computer-aided Approach 5 5
26 None of them is significant HUSRB/0901/1/088 Teaching Mathematics and Statistics in Sciences: Modeling and Computer-aided Approach 6 6
27 Interaction The differences in A depend on the level of factor B OSSZFVS 0 LPS LPS nem volt -,5 0,0,5 1,0 1,5,0,5 HUSRB/0901/1/088 Teaching Mathematics and Statistics in Sciences: Modeling and Computer-aided Approach 7 7
28 Two-way ANOVA In two-way ANOVA, the total sum of squares is decomposed into four terms, according to the effects in the model. The results are generally written into an ANOVA table which contains rows for the effects of factors 1 and, the interaction and the error with (p-1), (q-1), (p-1)(q-1) and (N-pq) degrees of freedom, respectively HUSRB/0901/1/088 Teaching Mathematics and Statistics in Sciences: Modeling and Computer-aided Approach 8 8
29 The rows of this tables give the components for the effects of factor 1, factor, the interaction and the error term, while the columns contain the sum of squares, the number of degrees of freedom, the variances, the F-values (variance ratio), and the p-value of F. HUSRB/0901/1/088 Teaching Mathematics and Statistics in Sciences: Modeling and Computer-aided Approach 9 9
30 Decision There are three F-values in this table according to the three hypotheses. The interaction, is tested first. If it is not significant, the significance of each of factors 1 and can be tested separately. If H1 is rejected, we can say that at least two means of the factor 1 differ. If t (which is more than two), the number of levels of factor 1, we again have to use multiple comparisons to find pairwise differences. HUSRB/0901/1/088 Teaching Mathematics and Statistics in Sciences: Modeling and Computer-aided Approach 30 30
31 Decision If the interaction is significant, then the relationship between the means of factor 1 depends on the level of factor. Multiple comparisons can be performed for each combination of one factor with a given level of the other factor. There are special methods against the increase of Type I error, and the use of t-tests independently is an incorrect solution HUSRB/0901/1/088 Teaching Mathematics and Statistics in Sciences: Modeling and Computer-aided Approach 31 31
32 Example Suppose that we have grown one bacterium in broth culture at 3 different ph levels at 4 different temperatures. We have 1 flasks in all, but no replicates. Growth was measured by optical density (O.D.). HUSRB/0901/1/088 Teaching Mathematics and Statistics in Sciences: Modeling and Computer-aided Approach 3 3
33 Anova: Two-Factor Without Replication DATA Temp o C ph 5.5 ph 6.5 ph HUSRB/0901/1/088 Teaching Mathematics and Statistics in Sciences: Modeling and Computer-aided Approach 33 33
34 Descriptive statistics SUMMARY Count Sum Average Variance , , , ,3333 ph ,66667 ph ph HUSRB/0901/1/088 Teaching Mathematics and Statistics in Sciences: Modeling and Computer-aided Approach 34 34
35 Two-way Anova Source of Variation SS df MS F P-value F crit Rows 38, , ,4634 0,008 4,75706 Columns ,19,8E-06 5,143 Error 7, ,55556 Total HUSRB/0901/1/088 Teaching Mathematics and Statistics in Sciences: Modeling and Computer-aided Approach 35 35
36 Of interest, another piece of information is revealed by this analysis - the effects of temperature do not interact with effects of ph. In other words, a change of temperature does not change the response to ph, and vice-versa.we can deduce this because the residual (error) mean square (MS) is small compared with the mean squares for temperature (columns) or ph (rows). [A low residual mean square tells us that most variation in the data is accounted for by the separate effects of temperature and ph]. HUSRB/0901/1/088 Teaching Mathematics and Statistics in Sciences: Modeling and Computer-aided Approach 36 36
37 Example II Temp o C ph 5.5 ph 6.5 ph HUSRB/0901/1/088 Teaching Mathematics and Statistics in Sciences: Modeling and Computer-aided Approach 37 37
38 ANOVA without replication Source of Variation SS df MS F P-value F crit Rows , , , , Columns 660, ,3333 0, , ,14353 Error Total 399, HUSRB/0901/1/088 Teaching Mathematics and Statistics in Sciences: Modeling and Computer-aided Approach 38 38
39 ANOVA with replication The data of serum IGG level were measured in triplicate of three patients. Is there any difference in individual mean IGG level values using diferent method of measurement? HUSRB/0901/1/088 Teaching Mathematics and Statistics in Sciences: Modeling and Computer-aided Approach 39 39
40 ANOVA with replication Dataset help species method value a1 A a A 1 11 a3 A 1 5. b1 B b B b3 B 1 5. c1 C c C c3 C a1 A 10.7 a A 8.6 a3 A 10.6 b1 B 1.9 b B 3. b3 B 1. c1 C 9.7 c C 7.8 c3 C 6.5 HUSRB/0901/1/088 Teaching Mathematics and Statistics in Sciences: Modeling and Computer-aided Approach 40 40
41 The role of Column help Using Excel Pivot Table command to get the ANOVA table we need to use an extra column let s name it as help. Without this we get the following table (there is no replicant). Sum of value method species 1 Grand Total A B C Grand Total HUSRB/0901/1/088 Teaching Mathematics and Statistics in Sciences: Modeling and Computer-aided Approach 41 41
42 Pivot table using help column Sum of value method help 1 Grand Total a a a b b b c c c Grand Total HUSRB/0901/1/088 Teaching Mathematics and Statistics in Sciences: Modeling and Computer-aided Approach 4 4
43 The settings of ANOVA command G H I 4 Species Method_1 Method_ 5 A rep rep B rep rep C rep rep HUSRB/0901/1/088 Teaching Mathematics and Statistics in Sciences: Modeling and Computer-aided Approach 43 43
44 Anova: Two-Factor With Replication I. SUMMARY Method_1 Method_ Total A Count Sum Average Variance B Count Sum Average Variance C Count Sum Average Variance HUSRB/0901/1/088 Teaching Mathematics and Statistics in Sciences: Modeling and Computer-aided Approach 44 44
45 Anova: Two-Factor With Replication II. ANOVA Source of Variation SS df MS F P-value F crit Sample/Species Columns/Meth Interaction Within Total HUSRB/0901/1/088 Teaching Mathematics and Statistics in Sciences: Modeling and Computer-aided Approach 45 45
46 SPSS results I Dependent Variable: value species A B C Total method Method1 Method Total Method1 Method Total Method1 Method Total Method1 Method Total Descriptive Statistics Mean Std. Deviation N 0,0000 7, ,9667 1, ,9833 7, ,5667,7091 3,1000 1, ,3333 3, ,8000, ,0000 1, ,4000 3, ,1 7, ,6889 3, ,9056 6, Levene's Test of Equality of Error Variances a Dependent Variable: value F df1 df Sig. 6,40 5 1,004 Tests the null hypothesis that the error variance of the dependent variable is equal across groups. a. Design: Intercept+species+method+species * method HUSRB/0901/1/088 Teaching Mathematics and Statistics in Sciences: Modeling and Computer-aided Approach 46 46
47 SPSS results II. Dependent Variable: value Source Corrected Model Intercept species method species * method Error Total Corrected Total Tests of Between-Subjects Effects Type III Sum of Squares df Mean Square F Sig. 557,956 a 5 111,591 8,430, , , ,418,000 34, ,34 1,935, , ,45 14,069,003 9,43 14,6 1,105, , ,38 48, , a. R Squared =,778 (Adjusted R Squared =,686) HUSRB/0901/1/088 Teaching Mathematics and Statistics in Sciences: Modeling and Computer-aided Approach 47 47
48 Post-Hoc test Dependent Variable: value LSD Multiple Comparisons (I) species A B C (J) species B C A C A B Based on observed means. *. The mean difference is significant at the,05 level. Mean Difference 95% Confidence Interval (I-J) Std. Error Sig. Lower Bound Upper Bound 10,6500*,1006,000 6, ,69 4,5833*,1006,050,0065 9,160-10,6500*,1006,000-15,69-6,0731-6,0667*,1006,014-10,6435-1,4898-4,5833*,1006,050-9,160 -,0065 6,0667*,1006,014 1, ,6435 HUSRB/0901/1/088 Teaching Mathematics and Statistics in Sciences: Modeling and Computer-aided Approach 48 48
The One-Way Repeated-Measures ANOVA. (For Within-Subjects Designs)
The One-Way Repeated-Measures ANOVA (For Within-Subjects Designs) Logic of the Repeated-Measures ANOVA The repeated-measures ANOVA extends the analysis of variance to research situations using repeated-measures
More informationThe One-Way Independent-Samples ANOVA. (For Between-Subjects Designs)
The One-Way Independent-Samples ANOVA (For Between-Subjects Designs) Computations for the ANOVA In computing the terms required for the F-statistic, we won t explicitly compute any sample variances or
More informationIntroduction to the Analysis of Variance (ANOVA) Computing One-Way Independent Measures (Between Subjects) ANOVAs
Introduction to the Analysis of Variance (ANOVA) Computing One-Way Independent Measures (Between Subjects) ANOVAs The Analysis of Variance (ANOVA) The analysis of variance (ANOVA) is a statistical technique
More informationOne-Way ANOVA. Some examples of when ANOVA would be appropriate include:
One-Way ANOVA 1. Purpose Analysis of variance (ANOVA) is used when one wishes to determine whether two or more groups (e.g., classes A, B, and C) differ on some outcome of interest (e.g., an achievement
More informationOHSU OGI Class ECE-580-DOE :Design of Experiments Steve Brainerd
Why We Use Analysis of Variance to Compare Group Means and How it Works The question of how to compare the population means of more than two groups is an important one to researchers. Let us suppose that
More informationMultiple Comparisons
Multiple Comparisons Error Rates, A Priori Tests, and Post-Hoc Tests Multiple Comparisons: A Rationale Multiple comparison tests function to tease apart differences between the groups within our IV when
More informationLec 1: An Introduction to ANOVA
Ying Li Stockholm University October 31, 2011 Three end-aisle displays Which is the best? Design of the Experiment Identify the stores of the similar size and type. The displays are randomly assigned to
More informationStatistics For Economics & Business
Statistics For Economics & Business Analysis of Variance In this chapter, you learn: Learning Objectives The basic concepts of experimental design How to use one-way analysis of variance to test for differences
More informationMore about Single Factor Experiments
More about Single Factor Experiments 1 2 3 0 / 23 1 2 3 1 / 23 Parameter estimation Effect Model (1): Y ij = µ + A i + ɛ ij, Ji A i = 0 Estimation: µ + A i = y i. ˆµ = y..  i = y i. y.. Effect Modell
More informationMultiple comparisons - subsequent inferences for two-way ANOVA
1 Multiple comparisons - subsequent inferences for two-way ANOVA the kinds of inferences to be made after the F tests of a two-way ANOVA depend on the results if none of the F tests lead to rejection of
More informationTwo-Way ANOVA. Chapter 15
Two-Way ANOVA Chapter 15 Interaction Defined An interaction is present when the effects of one IV depend upon a second IV Interaction effect : The effect of each IV across the levels of the other IV When
More informationDifference in two or more average scores in different groups
ANOVAs Analysis of Variance (ANOVA) Difference in two or more average scores in different groups Each participant tested once Same outcome tested in each group Simplest is one-way ANOVA (one variable as
More informationOne-Way ANOVA Source Table J - 1 SS B / J - 1 MS B /MS W. Pairwise Post-Hoc Comparisons of Means
One-Way ANOVA Source Table ANOVA MODEL: ij = µ* + α j + ε ij H 0 : µ 1 = µ =... = µ j or H 0 : Σα j = 0 Source Sum of Squares df Mean Squares F Between Groups n j ( j - * ) J - 1 SS B / J - 1 MS B /MS
More informationHypothesis testing: Steps
Review for Exam 2 Hypothesis testing: Steps Repeated-Measures ANOVA 1. Determine appropriate test and hypotheses 2. Use distribution table to find critical statistic value(s) representing rejection region
More informationTaguchi Method and Robust Design: Tutorial and Guideline
Taguchi Method and Robust Design: Tutorial and Guideline CONTENT 1. Introduction 2. Microsoft Excel: graphing 3. Microsoft Excel: Regression 4. Microsoft Excel: Variance analysis 5. Robust Design: An Example
More informationANOVA Analysis of Variance
ANOVA Analysis of Variance ANOVA Analysis of Variance Extends independent samples t test ANOVA Analysis of Variance Extends independent samples t test Compares the means of groups of independent observations
More informationAnalysis of Variance: Repeated measures
Repeated-Measures ANOVA: Analysis of Variance: Repeated measures Each subject participates in all conditions in the experiment (which is why it is called repeated measures). A repeated-measures ANOVA is
More informationHypothesis testing: Steps
Review for Exam 2 Hypothesis testing: Steps Exam 2 Review 1. Determine appropriate test and hypotheses 2. Use distribution table to find critical statistic value(s) representing rejection region 3. Compute
More informationIntroduction. Chapter 8
Chapter 8 Introduction In general, a researcher wants to compare one treatment against another. The analysis of variance (ANOVA) is a general test for comparing treatment means. When the null hypothesis
More informationThe entire data set consists of n = 32 widgets, 8 of which were made from each of q = 4 different materials.
One-Way ANOVA Summary The One-Way ANOVA procedure is designed to construct a statistical model describing the impact of a single categorical factor X on a dependent variable Y. Tests are run to determine
More informationUnit 12: Analysis of Single Factor Experiments
Unit 12: Analysis of Single Factor Experiments Statistics 571: Statistical Methods Ramón V. León 7/16/2004 Unit 12 - Stat 571 - Ramón V. León 1 Introduction Chapter 8: How to compare two treatments. Chapter
More informationCOMPARING SEVERAL MEANS: ANOVA
LAST UPDATED: November 15, 2012 COMPARING SEVERAL MEANS: ANOVA Objectives 2 Basic principles of ANOVA Equations underlying one-way ANOVA Doing a one-way ANOVA in R Following up an ANOVA: Planned contrasts/comparisons
More informationIndependent Samples ANOVA
Independent Samples ANOVA In this example students were randomly assigned to one of three mnemonics (techniques for improving memory) rehearsal (the control group; simply repeat the words), visual imagery
More informationChap The McGraw-Hill Companies, Inc. All rights reserved.
11 pter11 Chap Analysis of Variance Overview of ANOVA Multiple Comparisons Tests for Homogeneity of Variances Two-Factor ANOVA Without Replication General Linear Model Experimental Design: An Overview
More informationBIOL Biometry LAB 6 - SINGLE FACTOR ANOVA and MULTIPLE COMPARISON PROCEDURES
BIOL 458 - Biometry LAB 6 - SINGLE FACTOR ANOVA and MULTIPLE COMPARISON PROCEDURES PART 1: INTRODUCTION TO ANOVA Purpose of ANOVA Analysis of Variance (ANOVA) is an extremely useful statistical method
More informationWhat Does the F-Ratio Tell Us?
Planned Comparisons What Does the F-Ratio Tell Us? The F-ratio (called an omnibus or overall F) provides a test of whether or not there a treatment effects in an experiment A significant F-ratio suggests
More informationComparing Several Means: ANOVA
Comparing Several Means: ANOVA Understand the basic principles of ANOVA Why it is done? What it tells us? Theory of one way independent ANOVA Following up an ANOVA: Planned contrasts/comparisons Choosing
More informationPLSC PRACTICE TEST ONE
PLSC 724 - PRACTICE TEST ONE 1. Discuss briefly the relationship between the shape of the normal curve and the variance. 2. What is the relationship between a statistic and a parameter? 3. How is the α
More informationInferences for Regression
Inferences for Regression An Example: Body Fat and Waist Size Looking at the relationship between % body fat and waist size (in inches). Here is a scatterplot of our data set: Remembering Regression In
More informationFactorial designs. Experiments
Chapter 5: Factorial designs Petter Mostad mostad@chalmers.se Experiments Actively making changes and observing the result, to find causal relationships. Many types of experimental plans Measuring response
More information1. The (dependent variable) is the variable of interest to be measured in the experiment.
Chapter 10 Analysis of variance (ANOVA) 10.1 Elements of a designed experiment 1. The (dependent variable) is the variable of interest to be measured in the experiment. 2. are those variables whose effect
More informationSampling Distributions: Central Limit Theorem
Review for Exam 2 Sampling Distributions: Central Limit Theorem Conceptually, we can break up the theorem into three parts: 1. The mean (µ M ) of a population of sample means (M) is equal to the mean (µ)
More informationCOMPLETELY RANDOM DESIGN (CRD) -Design can be used when experimental units are essentially homogeneous.
COMPLETELY RANDOM DESIGN (CRD) Description of the Design -Simplest design to use. -Design can be used when experimental units are essentially homogeneous. -Because of the homogeneity requirement, it may
More informationT.I.H.E. IT 233 Statistics and Probability: Sem. 1: 2013 ESTIMATION AND HYPOTHESIS TESTING OF TWO POPULATIONS
ESTIMATION AND HYPOTHESIS TESTING OF TWO POPULATIONS In our work on hypothesis testing, we used the value of a sample statistic to challenge an accepted value of a population parameter. We focused only
More information10/31/2012. One-Way ANOVA F-test
PSY 511: Advanced Statistics for Psychological and Behavioral Research 1 1. Situation/hypotheses 2. Test statistic 3.Distribution 4. Assumptions One-Way ANOVA F-test One factor J>2 independent samples
More informationMANOVA is an extension of the univariate ANOVA as it involves more than one Dependent Variable (DV). The following are assumptions for using MANOVA:
MULTIVARIATE ANALYSIS OF VARIANCE MANOVA is an extension of the univariate ANOVA as it involves more than one Dependent Variable (DV). The following are assumptions for using MANOVA: 1. Cell sizes : o
More informationPSYC 331 STATISTICS FOR PSYCHOLOGISTS
PSYC 331 STATISTICS FOR PSYCHOLOGISTS Session 4 A PARAMETRIC STATISTICAL TEST FOR MORE THAN TWO POPULATIONS Lecturer: Dr. Paul Narh Doku, Dept of Psychology, UG Contact Information: pndoku@ug.edu.gh College
More informationCHAPTER 4 Analysis of Variance. One-way ANOVA Two-way ANOVA i) Two way ANOVA without replication ii) Two way ANOVA with replication
CHAPTER 4 Analysis of Variance One-way ANOVA Two-way ANOVA i) Two way ANOVA without replication ii) Two way ANOVA with replication 1 Introduction In this chapter, expand the idea of hypothesis tests. We
More informationOutline. Topic 19 - Inference. The Cell Means Model. Estimates. Inference for Means Differences in cell means Contrasts. STAT Fall 2013
Topic 19 - Inference - Fall 2013 Outline Inference for Means Differences in cell means Contrasts Multiplicity Topic 19 2 The Cell Means Model Expressed numerically Y ij = µ i + ε ij where µ i is the theoretical
More informationN J SS W /df W N - 1
One-Way ANOVA Source Table ANOVA MODEL: ij = µ* + α j + ε ij H 0 : µ = µ =... = µ j or H 0 : Σα j = 0 Source Sum of Squares df Mean Squares F J Between Groups nj( j * ) J - SS B /(J ) MS B /MS W = ( N
More informationChapter Seven: Multi-Sample Methods 1/52
Chapter Seven: Multi-Sample Methods 1/52 7.1 Introduction 2/52 Introduction The independent samples t test and the independent samples Z test for a difference between proportions are designed to analyze
More informationANOVA: Analysis of Variation
ANOVA: Analysis of Variation The basic ANOVA situation Two variables: 1 Categorical, 1 Quantitative Main Question: Do the (means of) the quantitative variables depend on which group (given by categorical
More informationUsing SPSS for One Way Analysis of Variance
Using SPSS for One Way Analysis of Variance This tutorial will show you how to use SPSS version 12 to perform a one-way, between- subjects analysis of variance and related post-hoc tests. This tutorial
More informationCorrelation Analysis
Simple Regression Correlation Analysis Correlation analysis is used to measure strength of the association (linear relationship) between two variables Correlation is only concerned with strength of the
More informationAnalysis of Variance (ANOVA)
Analysis of Variance (ANOVA) Two types of ANOVA tests: Independent measures and Repeated measures Comparing 2 means: X 1 = 20 t - test X 2 = 30 How can we Compare 3 means?: X 1 = 20 X 2 = 30 X 3 = 35 ANOVA
More informationA posteriori multiple comparison tests
A posteriori multiple comparison tests 11/15/16 1 Recall the Lakes experiment Source of variation SS DF MS F P Lakes 58.000 2 29.400 8.243 0.006 Error 42.800 12 3.567 Total 101.600 14 The ANOVA tells us
More informationPLS205 Lab 2 January 15, Laboratory Topic 3
PLS205 Lab 2 January 15, 2015 Laboratory Topic 3 General format of ANOVA in SAS Testing the assumption of homogeneity of variances by "/hovtest" by ANOVA of squared residuals Proc Power for ANOVA One-way
More informationDepartment of Economics. Business Statistics. Chapter 12 Chi-square test of independence & Analysis of Variance ECON 509. Dr.
Department of Economics Business Statistics Chapter 1 Chi-square test of independence & Analysis of Variance ECON 509 Dr. Mohammad Zainal Chapter Goals After completing this chapter, you should be able
More information4:3 LEC - PLANNED COMPARISONS AND REGRESSION ANALYSES
4:3 LEC - PLANNED COMPARISONS AND REGRESSION ANALYSES FOR SINGLE FACTOR BETWEEN-S DESIGNS Planned or A Priori Comparisons We previously showed various ways to test all possible pairwise comparisons for
More informationInference for Regression Simple Linear Regression
Inference for Regression Simple Linear Regression IPS Chapter 10.1 2009 W.H. Freeman and Company Objectives (IPS Chapter 10.1) Simple linear regression p Statistical model for linear regression p Estimating
More informationWeek 14 Comparing k(> 2) Populations
Week 14 Comparing k(> 2) Populations Week 14 Objectives Methods associated with testing for the equality of k(> 2) means or proportions are presented. Post-testing concepts and analysis are introduced.
More informationSTAT22200 Spring 2014 Chapter 5
STAT22200 Spring 2014 Chapter 5 Yibi Huang April 29, 2014 Chapter 5 Multiple Comparisons Chapter 5-1 Chapter 5 Multiple Comparisons Note the t-tests and C.I. s are constructed assuming we only do one test,
More informationHYPOTHESIS TESTING. Hypothesis Testing
MBA 605 Business Analytics Don Conant, PhD. HYPOTHESIS TESTING Hypothesis testing involves making inferences about the nature of the population on the basis of observations of a sample drawn from the population.
More informationA discussion on multiple regression models
A discussion on multiple regression models In our previous discussion of simple linear regression, we focused on a model in which one independent or explanatory variable X was used to predict the value
More informationEconometrics. 4) Statistical inference
30C00200 Econometrics 4) Statistical inference Timo Kuosmanen Professor, Ph.D. http://nomepre.net/index.php/timokuosmanen Today s topics Confidence intervals of parameter estimates Student s t-distribution
More informationMultiple t Tests. Introduction to Analysis of Variance. Experiments with More than 2 Conditions
Introduction to Analysis of Variance 1 Experiments with More than 2 Conditions Often the research that psychologists perform has more conditions than just the control and experimental conditions You might
More informationCh 3: Multiple Linear Regression
Ch 3: Multiple Linear Regression 1. Multiple Linear Regression Model Multiple regression model has more than one regressor. For example, we have one response variable and two regressor variables: 1. delivery
More informationFactorial Independent Samples ANOVA
Factorial Independent Samples ANOVA Liljenquist, Zhong and Galinsky (2010) found that people were more charitable when they were in a clean smelling room than in a neutral smelling room. Based on that
More informationChapter 8 Student Lecture Notes 8-1. Department of Economics. Business Statistics. Chapter 12 Chi-square test of independence & Analysis of Variance
Chapter 8 Student Lecture Notes 8-1 Department of Economics Business Statistics Chapter 1 Chi-square test of independence & Analysis of Variance ECON 509 Dr. Mohammad Zainal Chapter Goals After completing
More informationMultiple Pairwise Comparison Procedures in One-Way ANOVA with Fixed Effects Model
Biostatistics 250 ANOVA Multiple Comparisons 1 ORIGIN 1 Multiple Pairwise Comparison Procedures in One-Way ANOVA with Fixed Effects Model When the omnibus F-Test for ANOVA rejects the null hypothesis that
More informationIntroduction to Business Statistics QM 220 Chapter 12
Department of Quantitative Methods & Information Systems Introduction to Business Statistics QM 220 Chapter 12 Dr. Mohammad Zainal 12.1 The F distribution We already covered this topic in Ch. 10 QM-220,
More information2 and F Distributions. Barrow, Statistics for Economics, Accounting and Business Studies, 4 th edition Pearson Education Limited 2006
and F Distributions Lecture 9 Distribution The distribution is used to: construct confidence intervals for a variance compare a set of actual frequencies with expected frequencies test for association
More informationThese are all actually contrasts (the coef sum to zero). What are these contrasts representing? What would make them large?
Lecture 12 Comparing treatment effects Orthogonal Contrasts What use are contrasts? Recall the Cotton data In this case, the treatment levels have an ordering to them this is not always the case) Consider
More informationStat 6640 Solution to Midterm #2
Stat 6640 Solution to Midterm #2 1. A study was conducted to examine how three statistical software packages used in a statistical course affect the statistical competence a student achieves. At the end
More informationANALYSIS OF VARIANCE OF BALANCED DAIRY SCIENCE DATA USING SAS
ANALYSIS OF VARIANCE OF BALANCED DAIRY SCIENCE DATA USING SAS Ravinder Malhotra and Vipul Sharma National Dairy Research Institute, Karnal-132001 The most common use of statistics in dairy science is testing
More informationYour schedule of coming weeks. One-way ANOVA, II. Review from last time. Review from last time /22/2004. Create ANOVA table
Your schedule of coming weeks One-way ANOVA, II 9.07 //00 Today: One-way ANOVA, part II Next week: Two-way ANOVA, parts I and II. One-way ANOVA HW due Thursday Week of May Teacher out of town all week
More informationSMA 6304 / MIT / MIT Manufacturing Systems. Lecture 10: Data and Regression Analysis. Lecturer: Prof. Duane S. Boning
SMA 6304 / MIT 2.853 / MIT 2.854 Manufacturing Systems Lecture 10: Data and Regression Analysis Lecturer: Prof. Duane S. Boning 1 Agenda 1. Comparison of Treatments (One Variable) Analysis of Variance
More informationInstitute of Actuaries of India
Institute of Actuaries of India Subject CT3 Probability & Mathematical Statistics May 2011 Examinations INDICATIVE SOLUTION Introduction The indicative solution has been written by the Examiners with the
More informationReview for Final. Chapter 1 Type of studies: anecdotal, observational, experimental Random sampling
Review for Final For a detailed review of Chapters 1 7, please see the review sheets for exam 1 and. The following only briefly covers these sections. The final exam could contain problems that are included
More informationpsyc3010 lecture 2 factorial between-ps ANOVA I: omnibus tests
psyc3010 lecture 2 factorial between-ps ANOVA I: omnibus tests last lecture: introduction to factorial designs next lecture: factorial between-ps ANOVA II: (effect sizes and follow-up tests) 1 general
More informationAnalysis of variance
Analysis of variance Tron Anders Moger 3.0.007 Comparing more than two groups Up to now we have studied situations with One observation per subject One group Two groups Two or more observations per subject
More informationSAS Commands. General Plan. Output. Construct scatterplot / interaction plot. Run full model
Topic 23 - Unequal Replication Data Model Outline - Fall 2013 Parameter Estimates Inference Topic 23 2 Example Page 954 Data for Two Factor ANOVA Y is the response variable Factor A has levels i = 1, 2,...,
More informationSTAT 263/363: Experimental Design Winter 2016/17. Lecture 1 January 9. Why perform Design of Experiments (DOE)? There are at least two reasons:
STAT 263/363: Experimental Design Winter 206/7 Lecture January 9 Lecturer: Minyong Lee Scribe: Zachary del Rosario. Design of Experiments Why perform Design of Experiments (DOE)? There are at least two
More informationExample: Four levels of herbicide strength in an experiment on dry weight of treated plants.
The idea of ANOVA Reminders: A factor is a variable that can take one of several levels used to differentiate one group from another. An experiment has a one-way, or completely randomized, design if several
More informationHypothesis T e T sting w ith with O ne O One-Way - ANOV ANO A V Statistics Arlo Clark Foos -
Hypothesis Testing with One-Way ANOVA Statistics Arlo Clark-Foos Conceptual Refresher 1. Standardized z distribution of scores and of means can be represented as percentile rankings. 2. t distribution
More informationMultiple Comparison Procedures Cohen Chapter 13. For EDUC/PSY 6600
Multiple Comparison Procedures Cohen Chapter 13 For EDUC/PSY 6600 1 We have to go to the deductions and the inferences, said Lestrade, winking at me. I find it hard enough to tackle facts, Holmes, without
More informationLecture 3: Analysis of Variance II
Lecture 3: Analysis of Variance II http://www.stats.ox.ac.uk/ winkel/phs.html Dr Matthias Winkel 1 Outline I. A second introduction to two-way ANOVA II. Repeated measures design III. Independent versus
More informationChapter 10. Design of Experiments and Analysis of Variance
Chapter 10 Design of Experiments and Analysis of Variance Elements of a Designed Experiment Response variable Also called the dependent variable Factors (quantitative and qualitative) Also called the independent
More informationOne-way ANOVA. Experimental Design. One-way ANOVA
Method to compare more than two samples simultaneously without inflating Type I Error rate (α) Simplicity Few assumptions Adequate for highly complex hypothesis testing 09/30/12 1 Outline of this class
More informationOne-Way Analysis of Variance: ANOVA
One-Way Analysis of Variance: ANOVA Dr. J. Kyle Roberts Southern Methodist University Simmons School of Education and Human Development Department of Teaching and Learning Background to ANOVA Recall from
More information13: Additional ANOVA Topics. Post hoc Comparisons
13: Additional ANOVA Topics Post hoc Comparisons ANOVA Assumptions Assessing Group Variances When Distributional Assumptions are Severely Violated Post hoc Comparisons In the prior chapter we used ANOVA
More information2 Hand-out 2. Dr. M. P. M. M. M c Loughlin Revised 2018
Math 403 - P. & S. III - Dr. McLoughlin - 1 2018 2 Hand-out 2 Dr. M. P. M. M. M c Loughlin Revised 2018 3. Fundamentals 3.1. Preliminaries. Suppose we can produce a random sample of weights of 10 year-olds
More informationSTA2601. Tutorial letter 203/2/2017. Applied Statistics II. Semester 2. Department of Statistics STA2601/203/2/2017. Solutions to Assignment 03
STA60/03//07 Tutorial letter 03//07 Applied Statistics II STA60 Semester Department of Statistics Solutions to Assignment 03 Define tomorrow. university of south africa QUESTION (a) (i) The normal quantile
More informationChapter 11 - Lecture 1 Single Factor ANOVA
Chapter 11 - Lecture 1 Single Factor ANOVA April 7th, 2010 Means Variance Sum of Squares Review In Chapter 9 we have seen how to make hypothesis testing for one population mean. In Chapter 10 we have seen
More informationSIMPLE REGRESSION ANALYSIS. Business Statistics
SIMPLE REGRESSION ANALYSIS Business Statistics CONTENTS Ordinary least squares (recap for some) Statistical formulation of the regression model Assessing the regression model Testing the regression coefficients
More informationAn Analysis of College Algebra Exam Scores December 14, James D Jones Math Section 01
An Analysis of College Algebra Exam s December, 000 James D Jones Math - Section 0 An Analysis of College Algebra Exam s Introduction Students often complain about a test being too difficult. Are there
More information9 One-Way Analysis of Variance
9 One-Way Analysis of Variance SW Chapter 11 - all sections except 6. The one-way analysis of variance (ANOVA) is a generalization of the two sample t test to k 2 groups. Assume that the populations of
More informationIn a one-way ANOVA, the total sums of squares among observations is partitioned into two components: Sums of squares represent:
Activity #10: AxS ANOVA (Repeated subjects design) Resources: optimism.sav So far in MATH 300 and 301, we have studied the following hypothesis testing procedures: 1) Binomial test, sign-test, Fisher s
More information1-Way ANOVA MATH 143. Spring Department of Mathematics and Statistics Calvin College
1-Way ANOVA MATH 143 Department of Mathematics and Statistics Calvin College Spring 2010 The basic ANOVA situation Two variables: 1 Categorical, 1 Quantitative Main Question: Do the (means of) the quantitative
More information4.8 Alternate Analysis as a Oneway ANOVA
4.8 Alternate Analysis as a Oneway ANOVA Suppose we have data from a two-factor factorial design. The following method can be used to perform a multiple comparison test to compare treatment means as well
More informationTwo-factor studies. STAT 525 Chapter 19 and 20. Professor Olga Vitek
Two-factor studies STAT 525 Chapter 19 and 20 Professor Olga Vitek December 2, 2010 19 Overview Now have two factors (A and B) Suppose each factor has two levels Could analyze as one factor with 4 levels
More informationKeppel, G. & Wickens, T. D. Design and Analysis Chapter 4: Analytical Comparisons Among Treatment Means
Keppel, G. & Wickens, T. D. Design and Analysis Chapter 4: Analytical Comparisons Among Treatment Means 4.1 The Need for Analytical Comparisons...the between-groups sum of squares averages the differences
More informationTukey Complete Pairwise Post-Hoc Comparison
Tukey Complete Pairwise Post-Hoc Comparison Engineering Statistics II Section 10.2 Josh Engwer TTU 2018 Josh Engwer (TTU) Tukey Complete Pairwise Post-Hoc Comparison 2018 1 / 23 PART I PART I: Gosset s
More informationWhat If There Are More Than. Two Factor Levels?
What If There Are More Than Chapter 3 Two Factor Levels? Comparing more that two factor levels the analysis of variance ANOVA decomposition of total variability Statistical testing & analysis Checking
More informationQUEEN MARY, UNIVERSITY OF LONDON
QUEEN MARY, UNIVERSITY OF LONDON MTH634 Statistical Modelling II Solutions to Exercise Sheet 4 Octobe07. We can write (y i. y.. ) (yi. y i.y.. +y.. ) yi. y.. S T. ( Ti T i G n Ti G n y i. +y.. ) G n T
More informationHypothesis Testing hypothesis testing approach
Hypothesis Testing In this case, we d be trying to form an inference about that neighborhood: Do people there shop more often those people who are members of the larger population To ascertain this, we
More informationOne-way between-subjects ANOVA. Comparing three or more independent means
One-way between-subjects ANOVA Comparing three or more independent means Data files SpiderBG.sav Attractiveness.sav Homework: sourcesofself-esteem.sav ANOVA: A Framework Understand the basic principles
More informationSummary of Chapter 7 (Sections ) and Chapter 8 (Section 8.1)
Summary of Chapter 7 (Sections 7.2-7.5) and Chapter 8 (Section 8.1) Chapter 7. Tests of Statistical Hypotheses 7.2. Tests about One Mean (1) Test about One Mean Case 1: σ is known. Assume that X N(µ, σ
More informationWELCOME! Lecture 13 Thommy Perlinger
Quantitative Methods II WELCOME! Lecture 13 Thommy Perlinger Parametrical tests (tests for the mean) Nature and number of variables One-way vs. two-way ANOVA One-way ANOVA Y X 1 1 One dependent variable
More informationUnivariate Analysis of Variance
Univariate Analysis of Variance Output Created Comments Input Missing Value Handling Syntax Resources Notes Data Active Dataset Filter Weight Split File N of Rows in Working Data File Definition of Missing
More information