Chapter 9. Factorial ANOVA with Two Between-Group Factors 10/22/ Factorial ANOVA with Two Between-Group Factors

Size: px
Start display at page:

Download "Chapter 9. Factorial ANOVA with Two Between-Group Factors 10/22/ Factorial ANOVA with Two Between-Group Factors"

Transcription

1 Chapter 9 Factorial ANOVA with Two Between-Group Factors 10/22/ Factorial ANOVA with Two Between-Group Factors Recall that in one-way ANOVA we study the relation between one criterion variable and one independent variable. In factorial design, we study the relation between one criterion and two or more independent variables. In practice at most three or four independent variables are analyzed In this chapter we learn about Two-WayANOVA in which the effect of two independent variable on a criterion variable is investigated. 10/22/ Chapter 9 1

2 The Two Way ANOVA Model: Yij, k = µ + αi + βj + eijk i = 1,, r j = 1,, c k = 1,, nij Factor B Factor A Level B1 Level B2 Level Bc Level A1 n11 n12 n1c Level A2 n21 n22 n2c : : : : Level Ar nr1 nr2 nrc Each cell contains nij observations 10/22/ Example: If there are 9 observations in cell (1,2), then n12 = 9 and you have observed values y12,1, y12,2,, y12,9 µ : represents the overall mean αi : effect of factor A (row effect) βj : effect of factor B (column effect) 10/22/ Chapter 9 2

3 Two Assumptions: The mathematical form µ + αi + βj implies that row and column effects are additive. For example, the difference in effect (apart from the errors eijk) between row2 and row1 in column j is: (µ + α2 + βj) (µ + α1 + βj) = α2 - α1 That is, the row differences are the same in all columns. (This assumption may or may not hold.) 10/22/ The errors eijk are assumed to come from a normal distribution with mean 0 and variance σ² eijk : may represent natural variation among the units to which treatments are applied, or they may represent errors of measurements of the yijk. If each cell has more than 30 observations the assumption of normality can be relaxed. If max(nij) 1.5 min(nij) equality of variance (σ²) can be relaxed. 10/22/ Chapter 9 3

4 Let s Consider a Specific Example: You are interested in conducting a study that investigates aggression in eight-year-old children. You want to test the following two hypotheses: Boys will display a higher level of aggression than girls. The amount of sugar consumed will have a positive effect on levels ofaggression. 10/22/ Experiment: Take a sample of size 60 (30 boys and 30 girls) from eight-year-olds. Assign 20 children to 0 grams of sugar treatment condition (10 boys, 10 girls). Assign 20 children to 20 grams of sugar treatment condition. Assign 20 children to 40 grams of sugar treatment condition. For each child measure the level of aggression. 10/22/ Chapter 9 4

5 The Factorial Design Matrix: Factor A: Sex Factor B: Amount of Sugar B1: 0g B2: 20g A1: male n11 = 10 n12 = 10 A2: female n21 = 10 n22 = 10 B3: 40g n13 = 10 n23 = 10 Columns represent subjects in different levels of amount of sugar consumed. Rows represents subjects in levels of subject sex ; 30 boys and 30 girls. 10/22/ Factorial designs allow you to test for several different types of effects in a single investigation. Results from factorial designs are generally more difficult to interpret, as compared to one way ANOVA. Plots will help greatly in interpreting results from a factorial design. 10/22/ Chapter 9 5

6 Significant Main Effects In the mathematical model Yij, k = µ + αi + βj + eijk We say that there is a significant main effect if at least one of the αi s is different from the other αi s (i.e. at least one level of factor A is different from other levels of factor A). or at least one of the βi s is different from the other βi s (i.e. at least one level of factor B is different from other levels of factor B). 10/22/ This concept, of course, can be generalized to models with more than two predictor variables. For example, in the study on aggression it is possible to get any of the following outcomes related to main effects: Sugar consumption affects aggression (A significant main effect for factor A). Level of aggression is significantly different in boys as compared to girls (A significant main effect for factor B). 10/22/ Chapter 9 6

7 Both gender and sugar consumption effect the level of aggression (A significant main effect for both factor A and B). There are no significant effects from either gender or sugar consumption on aggression (No significant main effect). 10/22/ Using Graphs: Aggression males females mean level of aggression for females who consumed 20g of sugar 0g 20g 40g Amount of sugar consumed (Factor A) Horizontal Axis : levels of factor A Vertical Axis : Mean level of aggression Body : Two levels of factor B (Subject Sex) 10/22/ Chapter 9 7

8 Interpreting the Graph: There is a significant main effect for factor A if the plot has both of the following conditions: The lines for various groups are parallel At least one line segment displays a relatively steep angle. Parallel lines ensures that the two predictor variables are not involved in an interaction. 10/22/ It does not make sense to interpret main effects in presence of interactions (We will discuss this later). A large slope (steep angle) in at least one line segment indicated that there is a difference in at least two levels of predictor. How steep in steep? Statistical tests will tell you. 10/22/ Chapter 9 8

9 A significant main effect for factor B Aggression male female 0g 20g 40g Amount of sugar consumed (FACTOR A) There is significant main effect for factor B if: The lines for various groups are parallel At least two of the lines are significantly separated from each other 10/22/ Aggression male female 0g 20g 40g Amount of sugar consumed (FACTOR A) There is significant main effect for both predictor variables if: The lines for various groups are parallel At least one line segment displays a steep angle At least two of the lines are relatively separated from 10/22/ each other Chapter 9 9

10 No main effects Aggression male female 0g 20g 40g Amount of sugar consumed (FACTOR A) 10/22/ Significant Interaction An interaction is a condition in which the effect of one independent variable is different at different levels of the second independent variable male Aggression female 0g 20g 40g Amount of sugar consumed (FACTOR A) 10/22/ Chapter 9 10

11 Non-parallel lines indicate interaction. The effect of sugar consumptionis different levels of sugar (male or female) Consuming larger amounts of sugar results in dramatic increase in aggression in boys. Consuming larger amount of sugar results in moderate increase in aggression in girls. 10/22/ Why does it not make sense to interpret main effects in presence of interactions? Consider following figure: male Aggression 0g 20g 40g female Does it make sense to say that there is a main effect in sugar consumption? No, because this effect is different for boys and girls (No effect for girls. Significant effect for boys) 10/22/ Chapter 9 11

12 Example: The Egg story The performance of six laboratories in measuring fat contents of eggs was to be studied. A single can of dried eggs was stirred well. Samples were drawn and a pair of samples (claimed to be of two "types"), was sent to each of six commercial laboratories to be analyzed for fat content. Each laboratory assigned two technicians, who each analyzed both "types". Since the data were all drawn from a single well-mixed can, the null hypothesis for ANOVA that the mean fat content of each sample is equalis true. LINK: Example1. SAS 10/22/ DATA EGGS; infile 'c:\classes\sta5206\notes\chapter9\sas_ files\eggs.dat'; input Fat_Content Technician Sample$; proc print; run; Lab$ 10/22/ Chapter 9 12

13 Fat_ Obs Content Lab Technician Sample I 1 G I 1 G I 1 H I 1 H I 2 G I 2 G I 2 H I 2 H II 1 G II 1 G II 1 H II 1 H II 2 G II 2 G 10/22/ II 2 H II 2 H II 2 H III 1 G III 1 G III 1 H III 1 H III 2 G III 2 G III 2 H III 2 H IV 1 G IV 1 G IV 1 H IV 1 H IV 2 G IV 2 G IV 2 H 10/22/ Chapter 9 13

14 IV 2 H V 1 G V 1 G V 1 H V 1 H V 2 G V 2 G V 2 H V 2 H VI 1 G VI 1 G VI 1 H VI 1 H VI 2 G VI 2 G VI 2 H 10/22/ VI 2 H 27 This experiment we first examine the effect of Laboratory and Sample type on the response Fat content. LINK: Example1A.SAS 10/22/ Chapter 9 14

15 DATA EGGS; infile 'c:\classes\sta5206\notes\chapter9\sas_files\eggs.dat'; input Fat_Content Lab$ Technician proc GLM; CLASS Lab Sample; Sample$; Model Fat_Content = Lab Sample Lab*Sample; Means Lab Sample Lab*Sample; Fits the model Output means for lab, run; Means Lab Sample / Tukey; sample, and each cell(lab*sample) Performs multiple comparison test 10/22/ Check class levels and number of observations: The GLM Procedure Class Level Information Class Levels Values Lab 6 I II III IV V VI Sample 2 G H Number of observations 48 10/22/ Chapter 9 15

16 The first step is to check whether there are any significant interactions. You check Type III SS and the p-value corresponding to Lab* Sample Source DF Type III SS Mean Square F Value Pr > F Lab Sample Lab*Sample /22/ If there are no interactions, then you can check and interpret the main effects. For the Egg data, there is no significant interactionbetween Lab and Sample (p-value =.62) 10/22/ Chapter 9 16

17 Graph : To produce a graph, you refer to mean values. Level of Fat_Content Lab N Mean Std Dev I II III IV V VI Level of Fat_Content Sample N Mean Std Dev G H /22/ Level of Level of Fat_Content Lab Sample N Mean Std Dev I G I H II G II H III G III H IV G IV H V G V H VI G VI H /22/ Chapter 9 17

18 Fat Content sample G sample H I ll lll iv v vi Laboratory We expect No significant sample effect A significant lab effect (The first line segment has a sharp angle) 10/22/ The GLM Procedure Dependent Variable: Fat_Content sum of Source DF Squares Mean Square F Value Pr > F Model Error Corrected Total R-Square Coeff Var Root MSE Fat_Content Mean Source DF Type I SS Mean Square F Value Pr > F Lab Sample Lab*Sample Source DF Type III SS Mean Square F Value Pr > F Lab Sample Lab*Sample 10/22/ Chapter 9 18

19 Preparing Your ANOVA Table: Source SS DF MS F LAB * Sample ** Lab*Sample *** Within Total * p-value =.0003 ** p-value =.1579 *** p-value = /22/ Only significant main effect is Laboratory. Which laboratories are similar, and which are different. Perform Tukey HSD multiple comparison test. 10/22/ Chapter 9 19

20 The GLM Procedure Tukey's Studentized Range (HSD) Test for Fat_Content NOTE: This test controls the Type I experimentwise error rate, but it generally has a higher Type II error rate than REGWQ. Alpha 0.05 Error Degrees of Freedom 36 Error Mean Square Critical Value of Studentized Range Minimum Significant Difference Means with the same letter are not significantly different. Tukey Grouping Mean N Lab A I A B A II B B IV B B V B B II B 10/22/2001 B VI 39 The GLM Procedure Tukey's Studentized Range (HSD) Test for Fat_Content NOTE: This test controls the Type I experimentwise error rate, but it generally has a higher Type II error rate than REGWQ. Alpha 0.05 Error Degrees of Freedom 36 Error Mean Square Critical Value of Studentized Range Minimum Significant Difference Means with the same letter are not significantly different. Tukey Grouping Mean N Sample A G A A H 10/22/ Chapter 9 20

21 From the multiple comparison test, it is clear that Lab I is significantly different from other labs. You can obtain R² for each given effect. For example, R² for the Lab effect is R² = type III SS for Lab = = Total % of the variation in fat content is explained by Lab. Note: The output reports an overall R² value of /22/ Next, we might be interested to examine the effects of Lab and Technician on fat contents. LINK: Example1B.SAS 10/22/ Chapter 9 21

22 DATA EGGS; infile 'c:\classes\sta5206\notes\chapter9\sas_files\eggs.dat'; input Fat_Content proc GLM; CLASS Lab Technician; Lab$ Technician Sample$; Model Fat_Content = Lab Technician Lab*Technician; run; Means Lab Technician Lab*Technician; 10/22/ The GLM Procedure Class Level Information Class Levels Values Lab 6 I II III IV V VI Technician Number of observations 48 Source DF Type III SS Mean Square F Value Pr > F Lab <.0001 Technician Lab*Technician /22/ Chapter 9 22

23 There is a significant interaction in this example. To understand it we plot the means. Fat Content technician l technician ll l ll lll iv v vi laboratory 10/22/ The effect of Technician on fat content is different at different levels of Laboratory. In particular, the effect of technician in Lab I on fat content is quite different from that effect in Labs II VI Conclusion : May be Lab Technician II in Laboratory I Screwed up! 10/22/ Chapter 9 23

24 Simple Effect We say that there is a Simple effect for independent variable A at a given level of independent variable B, when there is a significant relationship between independent variable A at that level of independent variable B. Fat Content technician l technician ll l ll lll iv v vi Laboratory 10/22/ Example: Consider the pervious example Dependent : Fat Content Factor A : Lab Factor B : Technician The plot indicates that there may be a significant relationship between Laboratory and Fat Content for technicians in group II. (a similar statement do not seem to be true about technician I) 10/22/ Chapter 9 24

25 When testing for simple effect, we perform a one way ANOVA. In our example, MODEL Fat Content = Lab ; We do this, however, only for part of the data. In our example for Technician I & II BY Technician ; LINK : Example1C. SAS 10/22/ DATA EGGS; infile 'c:\classes\sta5206\notes\chapter9\sas_files\eggs.dat'; input Fat_Content Lab$ Technician Sample$; proc GLM; CLASS Lab Technician; Model Fat_Content = Lab Technician Lab*Technician; Means Lab Technician Lab*Technician; run; proc SORT Data=eggs; by Technician; run; proc GLM Data=eggs; Class Lab; model FAt_Content = Lab; Means Lab; by Technician; 10/22/2001run; 50 Chapter 9 25

26 The SAS System 23:49 Monday, October 30, The GLM Procedure Class Level Information Class Levels Values Lab 6 I II III IV V VI Technician Number of observations 48 10/22/ The GLM Procedure Dependent Variable: Fat_Content Sum of Source DF Squares Mean Square F Value Pr > F Model <.0001 Error Corrected Total R-Square Coeff Var Root MSE Fat_Content Mean Source DF Type I SS Mean Square F Value Pr > F Lab <.0001 Technician Lab*Technician Source DF Type III SS Mean Square F Value Pr > F Lab <.0001 Technician /22/2001 Lab*Technician Chapter 9 26

27 The GLM Procedure Level of Fat_Content Lab N Mean Std Dev I II III IV V VI Level of Fat_Content Technician N Mean Std Dev /22/ Level of Level of Fat_Content Lab Technician N Mean Std Dev I I II II III III IV IV V V VI VI /22/ Chapter 9 27

28 The SAS System 23:49 Monday, October 30, Technician= The GLM Procedure Class Level Information Class Levels Values Lab 6 I II III IV V VI Number of observations 24 10/22/ Technician= The GLM Procedure Dependent Variable: Fat_Content Sum of Source DF Squares Mean Square F Value Pr > F Model Error Corrected Total R-Square Coeff Var Root MSE Fat_Content Mean Source DF Type I SS Mean Square F Value Pr > F Lab Source DF Type III SS Mean Square F Value Pr > F Lab /22/ Chapter 9 28

29 The SAS System 23:49 Monday, October 30, Technician= The GLM Procedure Level of Fat_Content Lab N Mean Std Dev I II III IV V VI /22/ Technician= The GLM Procedure Class Level Information Class Levels Values Lab 6 I II III IV V VI Number of observations 24 10/22/ Chapter 9 29

30 Technician= The GLM Procedure Dependent Variable: Fat_Content Sum of Source DF Squares Mean Square F Value Pr > F Model <.0001 Error Corrected Total R-Square Coeff Var Root MSE Fat_Content Mean Source DF Type I SS Mean Square F Value Pr > F Lab <.0001 Source DF Type III SS Mean Square F Value Pr > F Lab < /22/ Technician= The GLM Procedure Level of Fat_Content Lab N Mean Std Dev I II III IV V VI /22/ Chapter 9 30

31 To test whether there is a simple lab effect at levels of Technician II we compute F = Type III MS (from Technician II) 14.5 Error MS (from two way ANOVA) Now Compare this to 2.45 < F.05 (5, 36) < 2.53 There is a significant simple main effect of Lab at Technician II level 10/22/ Doing the same test at Technician I level: F As expected, this is NOT significant. 10/22/ Chapter 9 31

Effect of Source and Level of Protein on Weight Gain of Rats

Effect of Source and Level of Protein on Weight Gain of Rats Effect of Source and Level of Protein on of Rats 1 * two factor analysis of variance with interaction; 2 option ls=120 ps=75 nocenter nodate; 3 4 title Effect of Source of Protein and Level of Protein

More information

ANOVA. Thomas Elliott. January 29, 2013

ANOVA. Thomas Elliott. January 29, 2013 ANOVA Thomas Elliott January 29, 2013 ANOVA stands for analysis of variance and is one of the basic statistical tests we can use to find relationships between two or more variables. ANOVA compares the

More information

One-Way ANOVAs t-test two statistically significant Type I error alpha null hypothesis dependant variable Independent variable three levels;

One-Way ANOVAs t-test two statistically significant Type I error alpha null hypothesis dependant variable Independent variable three levels; 1 One-Way ANOVAs We have already discussed the t-test. The t-test is used for comparing the means of two groups to determine if there is a statistically significant difference between them. The t-test

More information

The Association Design and a Continuous Phenotype

The Association Design and a Continuous Phenotype PSYC 5102: Association Design & Continuous Phenotypes (4/4/07) 1 The Association Design and a Continuous Phenotype The purpose of this note is to demonstrate how to perform a population-based association

More information

Hungry Mice. NP: Mice in this group ate as much as they pleased of a non-purified, standard diet for laboratory mice.

Hungry Mice. NP: Mice in this group ate as much as they pleased of a non-purified, standard diet for laboratory mice. Hungry Mice When laboratory mice (and maybe other animals) are fed a nutritionally adequate but near-starvation diet, they may live longer on average than mice that eat a normal amount of food. In this

More information

Use the above variables and any you might need to construct to specify the MODEL A/C comparisons you would use to ask the following questions.

Use the above variables and any you might need to construct to specify the MODEL A/C comparisons you would use to ask the following questions. Fall, 2002 Grad Stats Final Exam There are four questions on this exam, A through D, and each question has multiple sub-questions. Unless otherwise indicated, each sub-question is worth 3 points. Question

More information

8/28/2017. If the experiment is successful, then the model will explain more variance than it can t SS M will be greater than SS R

8/28/2017. If the experiment is successful, then the model will explain more variance than it can t SS M will be greater than SS R PSY 5101: Advanced Statistics for Psychological and Behavioral Research 1 If the ANOVA is significant, then it means that there is some difference, somewhere but it does not tell you which means are different

More information

Math Section MW 1-2:30pm SR 117. Bekki George 206 PGH

Math Section MW 1-2:30pm SR 117. Bekki George 206 PGH Math 3339 Section 21155 MW 1-2:30pm SR 117 Bekki George bekki@math.uh.edu 206 PGH Office Hours: M 11-12:30pm & T,TH 10:00 11:00 am and by appointment More than Two Independent Samples: Single Factor Analysis

More information

Lab 7 (100 pts.): One-Way ANOVA Objectives: Analyze data via the One-Way ANOVA

Lab 7 (100 pts.): One-Way ANOVA Objectives: Analyze data via the One-Way ANOVA STAT 350 (Spring 2015) Lab 7: SAS Solution 1 Lab 7 (100 pts.): One-Way ANOVA Objectives: Analyze data via the One-Way ANOVA A. (50 pts.) Do isoflavones increase bone mineral density? (ex12-45bmd.txt) Kudzu

More information

Notes for laboratory session 2

Notes for laboratory session 2 Notes for laboratory session 2 Preliminaries Consider the ordinary least-squares (OLS) regression of alcohol (alcohol) and plasma retinol (retplasm). We do this with STATA as follows:. reg retplasm alcohol

More information

ANOVA in SPSS (Practical)

ANOVA in SPSS (Practical) ANOVA in SPSS (Practical) Analysis of Variance practical In this practical we will investigate how we model the influence of a categorical predictor on a continuous response. Centre for Multilevel Modelling

More information

PSY 216: Elementary Statistics Exam 4

PSY 216: Elementary Statistics Exam 4 Name: PSY 16: Elementary Statistics Exam 4 This exam consists of multiple-choice questions and essay / problem questions. For each multiple-choice question, circle the one letter that corresponds to the

More information

Chapter 12: Introduction to Analysis of Variance

Chapter 12: Introduction to Analysis of Variance Chapter 12: Introduction to Analysis of Variance of Variance Chapter 12 presents the general logic and basic formulas for the hypothesis testing procedure known as analysis of variance (ANOVA). The purpose

More information

Two-Way Independent Samples ANOVA with SPSS

Two-Way Independent Samples ANOVA with SPSS Two-Way Independent Samples ANOVA with SPSS Obtain the file ANOVA.SAV from my SPSS Data page. The data are those that appear in Table 17-3 of Howell s Fundamental statistics for the behavioral sciences

More information

Stat Wk 9: Hypothesis Tests and Analysis

Stat Wk 9: Hypothesis Tests and Analysis Stat 342 - Wk 9: Hypothesis Tests and Analysis Crash course on ANOVA, proc glm Stat 342 Notes. Week 9 Page 1 / 57 Crash Course: ANOVA AnOVa stands for Analysis Of Variance. Sometimes it s called ANOVA,

More information

EPS 625 INTERMEDIATE STATISTICS TWO-WAY ANOVA IN-CLASS EXAMPLE (FLEXIBILITY)

EPS 625 INTERMEDIATE STATISTICS TWO-WAY ANOVA IN-CLASS EXAMPLE (FLEXIBILITY) EPS 625 INTERMEDIATE STATISTICS TO-AY ANOVA IN-CLASS EXAMPLE (FLEXIBILITY) A researcher conducts a study to evaluate the effects of the length of an exercise program on the flexibility of female and male

More information

MMI 409 Spring 2009 Final Examination Gordon Bleil. 1. Is there a difference in depression as a function of group and drug?

MMI 409 Spring 2009 Final Examination Gordon Bleil. 1. Is there a difference in depression as a function of group and drug? MMI 409 Spring 2009 Final Examination Gordon Bleil Table of Contents Research Scenario and General Assumptions Questions for Dataset (Questions are hyperlinked to detailed answers) 1. Is there a difference

More information

SPSS output for 420 midterm study

SPSS output for 420 midterm study Ψ Psy Midterm Part In lab (5 points total) Your professor decides that he wants to find out how much impact amount of study time has on the first midterm. He randomly assigns students to study for hours,

More information

2. Scientific question: Determine whether there is a difference between boys and girls with respect to the distance and its change over time.

2. Scientific question: Determine whether there is a difference between boys and girls with respect to the distance and its change over time. LDA lab Feb, 11 th, 2002 1 1. Objective:analyzing dental data using ordinary least square (OLS) and Generalized Least Square(GLS) in STATA. 2. Scientific question: Determine whether there is a difference

More information

25. Two-way ANOVA. 25. Two-way ANOVA 371

25. Two-way ANOVA. 25. Two-way ANOVA 371 25. Two-way ANOVA The Analysis of Variance seeks to identify sources of variability in data with when the data is partitioned into differentiated groups. In the prior section, we considered two sources

More information

Psych 5741/5751: Data Analysis University of Boulder Gary McClelland & Charles Judd. Exam #2, Spring 1992

Psych 5741/5751: Data Analysis University of Boulder Gary McClelland & Charles Judd. Exam #2, Spring 1992 Exam #2, Spring 1992 Question 1 A group of researchers from a neurobehavioral institute are interested in the relationships that have been found between the amount of cerebral blood flow (CB FLOW) to the

More information

Chapter 13: Introduction to Analysis of Variance

Chapter 13: Introduction to Analysis of Variance Chapter 13: Introduction to Analysis of Variance Although the t-test is a useful statistic, it is limited to testing hypotheses about two conditions or levels. The analysis of variance (ANOVA) was developed

More information

Analysis of Variance ANOVA, Part 2. What We Will Cover in This Section. Factorial ANOVA, Two-way Design

Analysis of Variance ANOVA, Part 2. What We Will Cover in This Section. Factorial ANOVA, Two-way Design Analysis of Variance ANOVA, Part //007 P33 Analysis of Variance What We Will Cover in This Section Introduction. Overview. Factorial ANOVA Repeated Measures ANOVA. //007 P33 Analysis of Variance Factorial

More information

appstats26.notebook April 17, 2015

appstats26.notebook April 17, 2015 Chapter 26 Comparing Counts Objective: Students will interpret chi square as a test of goodness of fit, homogeneity, and independence. Goodness of Fit A test of whether the distribution of counts in one

More information

Factorial Analysis of Variance

Factorial Analysis of Variance Factorial Analysis of Variance Overview of the Factorial ANOVA In the context of ANOVA, an independent variable (or a quasiindependent variable) is called a factor, and research studies with multiple factors,

More information

BIOL 458 BIOMETRY Lab 7 Multi-Factor ANOVA

BIOL 458 BIOMETRY Lab 7 Multi-Factor ANOVA BIOL 458 BIOMETRY Lab 7 Multi-Factor ANOVA PART 1: Introduction to Factorial ANOVA ingle factor or One - Way Analysis of Variance can be used to test the null hypothesis that k or more treatment or group

More information

SPSS output for 420 midterm study

SPSS output for 420 midterm study Ψ Psy Midterm Part In lab (5 points total) Your professor decides that he wants to find out how much impact amount of study time has on the first midterm. He randomly assigns students to study for hours,

More information

Lab #7: Confidence Intervals-Hypothesis Testing (2)-T Test

Lab #7: Confidence Intervals-Hypothesis Testing (2)-T Test A. Objectives: Lab #7: Confidence Intervals-Hypothesis Testing (2)-T Test 1. Subsetting based on variable 2. Explore Normality 3. Explore Hypothesis testing using T-Tests Confidence intervals and initial

More information

PSYCHOLOGY 300B (A01)

PSYCHOLOGY 300B (A01) PSYCHOLOGY 00B (A01) Assignment February, 019 t = n M i M j + n SS R = nc (M R GM ) SS C = nr (M C GM ) SS error = (X M) = s (n 1) SS RC = n (M GM ) SS R SS C SS total = (X GM ) df total = rcn 1 df R =

More information

NORTH SOUTH UNIVERSITY TUTORIAL 2

NORTH SOUTH UNIVERSITY TUTORIAL 2 NORTH SOUTH UNIVERSITY TUTORIAL 2 AHMED HOSSAIN,PhD Data Management and Analysis AHMED HOSSAIN,PhD - Data Management and Analysis 1 Correlation Analysis INTRODUCTION In correlation analysis, we estimate

More information

Statistics for EES Factorial analysis of variance

Statistics for EES Factorial analysis of variance Statistics for EES Factorial analysis of variance Dirk Metzler http://evol.bio.lmu.de/_statgen 1. July 2013 1 ANOVA and F-Test 2 Pairwise comparisons and multiple testing 3 Non-parametric: The Kruskal-Wallis

More information

CHAPTER - 6 STATISTICAL ANALYSIS. This chapter discusses inferential statistics, which use sample data to

CHAPTER - 6 STATISTICAL ANALYSIS. This chapter discusses inferential statistics, which use sample data to CHAPTER - 6 STATISTICAL ANALYSIS 6.1 Introduction This chapter discusses inferential statistics, which use sample data to make decisions or inferences about population. Populations are group of interest

More information

Comparison of two means

Comparison of two means 1 Comparison of two means Most studies are comparative in that they compare outcomes from one group with outcomes from another, for example the mean blood pressure in reponse to two different treatments.

More information

Analysis of Variance (ANOVA) Program Transcript

Analysis of Variance (ANOVA) Program Transcript Analysis of Variance (ANOVA) Program Transcript DR. JENNIFER ANN MORROW: Welcome to Analysis of Variance. My name is Dr. Jennifer Ann Morrow. In today's demonstration, I'll review with you the definition

More information

Comparing Two Means using SPSS (T-Test)

Comparing Two Means using SPSS (T-Test) Indira Gandhi Institute of Development Research From the SelectedWorks of Durgesh Chandra Pathak Winter January 23, 2009 Comparing Two Means using SPSS (T-Test) Durgesh Chandra Pathak Available at: https://works.bepress.com/durgesh_chandra_pathak/12/

More information

Chapter 6 Measures of Bivariate Association 1

Chapter 6 Measures of Bivariate Association 1 Chapter 6 Measures of Bivariate Association 1 A bivariate relationship involves relationship between two variables. Examples: Relationship between GPA and SAT score Relationship between height and weight

More information

Psy201 Module 3 Study and Assignment Guide. Using Excel to Calculate Descriptive and Inferential Statistics

Psy201 Module 3 Study and Assignment Guide. Using Excel to Calculate Descriptive and Inferential Statistics Psy201 Module 3 Study and Assignment Guide Using Excel to Calculate Descriptive and Inferential Statistics What is Excel? Excel is a spreadsheet program that allows one to enter numerical values or data

More information

UNEQUAL CELL SIZES DO MATTER

UNEQUAL CELL SIZES DO MATTER 1 of 7 1/12/2010 11:26 AM UNEQUAL CELL SIZES DO MATTER David C. Howell Most textbooks dealing with factorial analysis of variance will tell you that unequal cell sizes alter the analysis in some way. I

More information

Linear Regression in SAS

Linear Regression in SAS 1 Suppose we wish to examine factors that predict patient s hemoglobin levels. Simulated data for six patients is used throughout this tutorial. data hgb_data; input id age race $ bmi hgb; cards; 21 25

More information

CHAPTER TWO REGRESSION

CHAPTER TWO REGRESSION CHAPTER TWO REGRESSION 2.0 Introduction The second chapter, Regression analysis is an extension of correlation. The aim of the discussion of exercises is to enhance students capability to assess the effect

More information

CHAPTER ONE CORRELATION

CHAPTER ONE CORRELATION CHAPTER ONE CORRELATION 1.0 Introduction The first chapter focuses on the nature of statistical data of correlation. The aim of the series of exercises is to ensure the students are able to use SPSS to

More information

Business Statistics Probability

Business Statistics Probability Business Statistics The following was provided by Dr. Suzanne Delaney, and is a comprehensive review of Business Statistics. The workshop instructor will provide relevant examples during the Skills Assessment

More information

One-Way Independent ANOVA

One-Way Independent ANOVA One-Way Independent ANOVA Analysis of Variance (ANOVA) is a common and robust statistical test that you can use to compare the mean scores collected from different conditions or groups in an experiment.

More information

Applied Statistical Analysis EDUC 6050 Week 4

Applied Statistical Analysis EDUC 6050 Week 4 Applied Statistical Analysis EDUC 6050 Week 4 Finding clarity using data Today 1. Hypothesis Testing with Z Scores (continued) 2. Chapters 6 and 7 in Book 2 Review! = $ & '! = $ & ' * ) 1. Which formula

More information

1. Objective: analyzing CD4 counts data using GEE marginal model and random effects model. Demonstrate the analysis using SAS and STATA.

1. Objective: analyzing CD4 counts data using GEE marginal model and random effects model. Demonstrate the analysis using SAS and STATA. LDA lab Feb, 6 th, 2002 1 1. Objective: analyzing CD4 counts data using GEE marginal model and random effects model. Demonstrate the analysis using SAS and STATA. 2. Scientific question: estimate the average

More information

Biology 345: Biometry Fall 2005 SONOMA STATE UNIVERSITY Lab Exercise 8 One Way ANOVA and comparisons among means Introduction

Biology 345: Biometry Fall 2005 SONOMA STATE UNIVERSITY Lab Exercise 8 One Way ANOVA and comparisons among means Introduction Biology 345: Biometry Fall 2005 SONOMA STATE UNIVERSITY Lab Exercise 8 One Way ANOVA and comparisons among means Introduction In this exercise, we will conduct one-way analyses of variance using two different

More information

Midterm Exam MMI 409 Spring 2009 Gordon Bleil

Midterm Exam MMI 409 Spring 2009 Gordon Bleil Midterm Exam MMI 409 Spring 2009 Gordon Bleil Table of contents: (Hyperlinked to problem sections) Problem 1 Hypothesis Tests Results Inferences Problem 2 Hypothesis Tests Results Inferences Problem 3

More information

Research Analysis MICHAEL BERNSTEIN CS 376

Research Analysis MICHAEL BERNSTEIN CS 376 Research Analysis MICHAEL BERNSTEIN CS 376 Last time What is a statistical test? Chi-square t-test Paired t-test 2 Today ANOVA Posthoc tests Two-way ANOVA Repeated measures ANOVA 3 Recall: hypothesis testing

More information

Advanced ANOVA Procedures

Advanced ANOVA Procedures Advanced ANOVA Procedures Session Lecture Outline:. An example. An example. Two-way ANOVA. An example. Two-way Repeated Measures ANOVA. MANOVA. ANalysis of Co-Variance (): an ANOVA procedure whereby the

More information

Regression Including the Interaction Between Quantitative Variables

Regression Including the Interaction Between Quantitative Variables Regression Including the Interaction Between Quantitative Variables The purpose of the study was to examine the inter-relationships among social skills, the complexity of the social situation, and performance

More information

Creative Commons Attribution-NonCommercial-Share Alike License

Creative Commons Attribution-NonCommercial-Share Alike License Author: Brenda Gunderson, Ph.D., 05 License: Unless otherwise noted, this material is made available under the terms of the Creative Commons Attribution- NonCommercial-Share Alike 3.0 Unported License:

More information

1. You want to find out what factors predict achievement in English. Develop a model that

1. You want to find out what factors predict achievement in English. Develop a model that Questions and answers for Chapter 10 1. You want to find out what factors predict achievement in English. Develop a model that you think can explain this. As usual many alternative predictors are possible

More information

STATISTICS INFORMED DECISIONS USING DATA

STATISTICS INFORMED DECISIONS USING DATA STATISTICS INFORMED DECISIONS USING DATA Fifth Edition Chapter 4 Describing the Relation between Two Variables 4.1 Scatter Diagrams and Correlation Learning Objectives 1. Draw and interpret scatter diagrams

More information

Chapter 13: Factorial ANOVA

Chapter 13: Factorial ANOVA Chapter 13: Factorial ANOVA Smart Alex s Solutions Task 1 People s musical tastes tend to change as they get older. My parents, for example, after years of listening to relatively cool music when I was

More information

HZAU MULTIVARIATE HOMEWORK #2 MULTIPLE AND STEPWISE LINEAR REGRESSION

HZAU MULTIVARIATE HOMEWORK #2 MULTIPLE AND STEPWISE LINEAR REGRESSION HZAU MULTIVARIATE HOMEWORK #2 MULTIPLE AND STEPWISE LINEAR REGRESSION Using the malt quality dataset on the class s Web page: 1. Determine the simple linear correlation of extract with the remaining variables.

More information

Instructions for doing two-sample t-test in Excel

Instructions for doing two-sample t-test in Excel Instructions for doing two-sample t-test in Excel (1) If you do not see Data Analysis in the menu, this means you need to use Add-ins and make sure that the box in front of Analysis ToolPak is checked.

More information

Analysis of Variance (ANOVA)

Analysis of Variance (ANOVA) Research Methods and Ethics in Psychology Week 4 Analysis of Variance (ANOVA) One Way Independent Groups ANOVA Brief revision of some important concepts To introduce the concept of familywise error rate.

More information

MULTIPLE LINEAR REGRESSION 24.1 INTRODUCTION AND OBJECTIVES OBJECTIVES

MULTIPLE LINEAR REGRESSION 24.1 INTRODUCTION AND OBJECTIVES OBJECTIVES 24 MULTIPLE LINEAR REGRESSION 24.1 INTRODUCTION AND OBJECTIVES In the previous chapter, simple linear regression was used when you have one independent variable and one dependent variable. This chapter

More information

Exam 2 PS 306, Spring 2004

Exam 2 PS 306, Spring 2004 Exam 2 PS 306, Spring 2004 1. Briefly define the term confound. Then, using a very explicit example of practice effects (maybe even with numbers?), illustrate why conducting a repeated measures experiment

More information

ABSTRACT THE INDEPENDENT MEANS T-TEST AND ALTERNATIVES SESUG Paper PO-10

ABSTRACT THE INDEPENDENT MEANS T-TEST AND ALTERNATIVES SESUG Paper PO-10 SESUG 01 Paper PO-10 PROC TTEST (Old Friend), What Are You Trying to Tell Us? Diep Nguyen, University of South Florida, Tampa, FL Patricia Rodríguez de Gil, University of South Florida, Tampa, FL Eun Sook

More information

Application of Local Control Strategy in analyses of the effects of Radon on Lung Cancer Mortality for 2,881 US Counties

Application of Local Control Strategy in analyses of the effects of Radon on Lung Cancer Mortality for 2,881 US Counties Application of Local Control Strategy in analyses of the effects of Radon on Lung Cancer Mortality for 2,881 US Counties Bob Obenchain, Risk Benefit Statistics, August 2015 Our motivation for using a Cut-Point

More information

Section 3.2 Least-Squares Regression

Section 3.2 Least-Squares Regression Section 3.2 Least-Squares Regression Linear relationships between two quantitative variables are pretty common and easy to understand. Correlation measures the direction and strength of these relationships.

More information

Analysis of Variance: repeated measures

Analysis of Variance: repeated measures Analysis of Variance: repeated measures Tests for comparing three or more groups or conditions: (a) Nonparametric tests: Independent measures: Kruskal-Wallis. Repeated measures: Friedman s. (b) Parametric

More information

Exam 3 PS 306, Spring 2005

Exam 3 PS 306, Spring 2005 Exam 3 PS 306, Spring 2005 1. In a classic study, Tulving and Gold (1963) studied word identification under conditions of amounts of relevant and irrelevant context. Let s conceive of their study as a

More information

STA 3024 Spring 2013 EXAM 3 Test Form Code A UF ID #

STA 3024 Spring 2013 EXAM 3 Test Form Code A UF ID # STA 3024 Spring 2013 Name EXAM 3 Test Form Code A UF ID # Instructions: This exam contains 34 Multiple Choice questions. Each question is worth 3 points, for a total of 102 points (there are TWO bonus

More information

Overview of Lecture. Survey Methods & Design in Psychology. Correlational statistics vs tests of differences between groups

Overview of Lecture. Survey Methods & Design in Psychology. Correlational statistics vs tests of differences between groups Survey Methods & Design in Psychology Lecture 10 ANOVA (2007) Lecturer: James Neill Overview of Lecture Testing mean differences ANOVA models Interactions Follow-up tests Effect sizes Parametric Tests

More information

Chapter 1: Exploring Data

Chapter 1: Exploring Data Chapter 1: Exploring Data Key Vocabulary:! individual! variable! frequency table! relative frequency table! distribution! pie chart! bar graph! two-way table! marginal distributions! conditional distributions!

More information

Dr. Kelly Bradley Final Exam Summer {2 points} Name

Dr. Kelly Bradley Final Exam Summer {2 points} Name {2 points} Name You MUST work alone no tutors; no help from classmates. Email me or see me with questions. You will receive a score of 0 if this rule is violated. This exam is being scored out of 00 points.

More information

THE EFFECTS OF USING THREE KINDS OF FEEDING METHODS ON CHICKS' GROWTH

THE EFFECTS OF USING THREE KINDS OF FEEDING METHODS ON CHICKS' GROWTH Electronic Journal of Applied Statistical Analysis EJASA, Electron. j. app. stat. anal. 1(2008), 42 55 ISSN 2070-5948, DOI 10.1285/i20705948v1n1p42 http://siba2.unile.it/ese/ejasa http://faculty.yu.edu.jo/alnasser/ejasa.htm

More information

Analysis of single gene effects 1. Quantitative analysis of single gene effects. Gregory Carey, Barbara J. Bowers, Jeanne M.

Analysis of single gene effects 1. Quantitative analysis of single gene effects. Gregory Carey, Barbara J. Bowers, Jeanne M. Analysis of single gene effects 1 Quantitative analysis of single gene effects Gregory Carey, Barbara J. Bowers, Jeanne M. Wehner From the Department of Psychology (GC, JMW) and Institute for Behavioral

More information

LAB ASSIGNMENT 4 INFERENCES FOR NUMERICAL DATA. Comparison of Cancer Survival*

LAB ASSIGNMENT 4 INFERENCES FOR NUMERICAL DATA. Comparison of Cancer Survival* LAB ASSIGNMENT 4 1 INFERENCES FOR NUMERICAL DATA In this lab assignment, you will analyze the data from a study to compare survival times of patients of both genders with different primary cancers. First,

More information

Cross-over trials. Martin Bland. Cross-over trials. Cross-over trials. Professor of Health Statistics University of York

Cross-over trials. Martin Bland. Cross-over trials. Cross-over trials. Professor of Health Statistics University of York Cross-over trials Martin Bland Professor of Health Statistics University of York http://martinbland.co.uk Cross-over trials Use the participant as their own control. Each participant gets more than one

More information

IAPT: Regression. Regression analyses

IAPT: Regression. Regression analyses Regression analyses IAPT: Regression Regression is the rather strange name given to a set of methods for predicting one variable from another. The data shown in Table 1 and come from a student project

More information

Lesson 9: Two Factor ANOVAS

Lesson 9: Two Factor ANOVAS Published on Agron 513 (https://courses.agron.iastate.edu/agron513) Home > Lesson 9 Lesson 9: Two Factor ANOVAS Developed by: Ron Mowers, Marin Harbur, and Ken Moore Completion Time: 1 week Introduction

More information

Answer to exercise: Growth of guinea pigs

Answer to exercise: Growth of guinea pigs Answer to exercise: Growth of guinea pigs The effect of a vitamin E diet on the growth of guinea pigs is investigated in the following way: In the beginning of week 1, 10 animals received a growth inhibitor.

More information

Chapter 23. Inference About Means. Copyright 2010 Pearson Education, Inc.

Chapter 23. Inference About Means. Copyright 2010 Pearson Education, Inc. Chapter 23 Inference About Means Copyright 2010 Pearson Education, Inc. Getting Started Now that we know how to create confidence intervals and test hypotheses about proportions, it d be nice to be able

More information

STAT Factor Analysis in SAS

STAT Factor Analysis in SAS STAT 5600 Factor Analysis in SAS The data for this example come from the decathlon results in the 1988 Olympics. The decathlon is a two-day competition, with the 100 m race, long jump, shot put, high jump,

More information

Final Exam PS 217, Spring 2004

Final Exam PS 217, Spring 2004 Final Exam PS 217, Spring 24 1. What is the relationship between power and effect size? That is, when you are considering a research design in which there is a large effect size, what are the implications

More information

General Example: Gas Mileage (Stat 5044 Schabenberger & J.P.Morgen)

General Example: Gas Mileage (Stat 5044 Schabenberger & J.P.Morgen) General Example: Gas Mileage (Stat 5044 Schabenberger & J.P.Morgen) From Motor Trend magazine data were obtained for n=32 cars on the following variables: Y= Gas Mileage (miles per gallon, MPG) X1= Engine

More information

isc ove ring i Statistics sing SPSS

isc ove ring i Statistics sing SPSS isc ove ring i Statistics sing SPSS S E C O N D! E D I T I O N (and sex, drugs and rock V roll) A N D Y F I E L D Publications London o Thousand Oaks New Delhi CONTENTS Preface How To Use This Book Acknowledgements

More information

Statistical Techniques. Meta-Stat provides a wealth of statistical tools to help you examine your data. Overview

Statistical Techniques. Meta-Stat provides a wealth of statistical tools to help you examine your data. Overview 7 Applying Statistical Techniques Meta-Stat provides a wealth of statistical tools to help you examine your data. Overview... 137 Common Functions... 141 Selecting Variables to be Analyzed... 141 Deselecting

More information

Still important ideas

Still important ideas Readings: OpenStax - Chapters 1 13 & Appendix D & E (online) Plous Chapters 17 & 18 - Chapter 17: Social Influences - Chapter 18: Group Judgments and Decisions Still important ideas Contrast the measurement

More information

Readings Assumed knowledge

Readings Assumed knowledge 3 N = 59 EDUCAT 59 TEACHG 59 CAMP US 59 SOCIAL Analysis of Variance 95% CI Lecture 9 Survey Research & Design in Psychology James Neill, 2012 Readings Assumed knowledge Howell (2010): Ch3 The Normal Distribution

More information

Quantitative Methods in Computing Education Research (A brief overview tips and techniques)

Quantitative Methods in Computing Education Research (A brief overview tips and techniques) Quantitative Methods in Computing Education Research (A brief overview tips and techniques) Dr Judy Sheard Senior Lecturer Co-Director, Computing Education Research Group Monash University judy.sheard@monash.edu

More information

Statistics for Psychology

Statistics for Psychology Statistics for Psychology SIXTH EDITION CHAPTER 12 Prediction Prediction a major practical application of statistical methods: making predictions make informed (and precise) guesses about such things as

More information

YSU Students. STATS 3743 Dr. Huang-Hwa Andy Chang Term Project 2 May 2002

YSU Students. STATS 3743 Dr. Huang-Hwa Andy Chang Term Project 2 May 2002 YSU Students STATS 3743 Dr. Huang-Hwa Andy Chang Term Project May 00 Anthony Koulianos, Chemical Engineer Kyle Unger, Chemical Engineer Vasilia Vamvakis, Chemical Engineer I. Executive Summary It is common

More information

Problem #1 Neurological signs and symptoms of ciguatera poisoning as the start of treatment and 2.5 hours after treatment with mannitol.

Problem #1 Neurological signs and symptoms of ciguatera poisoning as the start of treatment and 2.5 hours after treatment with mannitol. Ho (null hypothesis) Ha (alternative hypothesis) Problem #1 Neurological signs and symptoms of ciguatera poisoning as the start of treatment and 2.5 hours after treatment with mannitol. Hypothesis: Ho:

More information

Using SAS to Conduct Pilot Studies: An Instructors Guide

Using SAS to Conduct Pilot Studies: An Instructors Guide Using SAS to Conduct Pilot Studies: An Instructors Guide Sean W. Mulvenon, University of Arkansas, Fayetteville, AR Ronna C. Turner, University of Arkansas, Fayetteville, AR ABSTRACT An important component

More information

Lecture 20: Chi Square

Lecture 20: Chi Square Statistics 20_chi.pdf Michael Hallstone, Ph.D. hallston@hawaii.edu Lecture 20: Chi Square Introduction Up until now, we done statistical test using means, but the assumptions for means have eliminated

More information

14.1: Inference about the Model

14.1: Inference about the Model 14.1: Inference about the Model! When a scatterplot shows a linear relationship between an explanatory x and a response y, we can use the LSRL fitted to the data to predict a y for a given x. However,

More information

Lecture 10: Chapter 5, Section 2 Relationships (Two Categorical Variables)

Lecture 10: Chapter 5, Section 2 Relationships (Two Categorical Variables) Lecture 10: Chapter 5, Section 2 Relationships (Two Categorical Variables) Two-Way Tables Summarizing and Displaying Comparing Proportions or Counts Confounding Variables Cengage Learning Elementary Statistics:

More information

Chapter 8 Estimating with Confidence

Chapter 8 Estimating with Confidence Chapter 8 Estimating with Confidence Introduction Our goal in many statistical settings is to use a sample statistic to estimate a population parameter. In Chapter 4, we learned if we randomly select the

More information

Final Exam Practice Test

Final Exam Practice Test Final Exam Practice Test The t distribution and z-score distributions are located in the back of your text book (the appendices) You will be provided with a new copy of each during your final exam True

More information

INTENDED LEARNING OUTCOMES

INTENDED LEARNING OUTCOMES FACTORIAL ANOVA INTENDED LEARNING OUTCOMES Revise factorial ANOVA (from our last lecture) Discuss degrees of freedom in factorial ANOVA Recognise main effects and interactions Discuss simple effects QUICK

More information

Chapter 16: GLM 5: Mixed designs

Chapter 16: GLM 5: Mixed designs Chapter 16: GLM 5: Mixed designs Labcoat Leni s Real Research The objection of desire Problem Bernard, P., et al. (2012). Psychological Science, 23(5), 469 471. There is a concern that images that portray

More information

Describe what is meant by a placebo Contrast the double-blind procedure with the single-blind procedure Review the structure for organizing a memo

Describe what is meant by a placebo Contrast the double-blind procedure with the single-blind procedure Review the structure for organizing a memo Business Statistics The following was provided by Dr. Suzanne Delaney, and is a comprehensive review of Business Statistics. The workshop instructor will provide relevant examples during the Skills Assessment

More information

Chapter 9: Answers. Tests of Between-Subjects Effects. Dependent Variable: Time Spent Stalking After Therapy (hours per week)

Chapter 9: Answers. Tests of Between-Subjects Effects. Dependent Variable: Time Spent Stalking After Therapy (hours per week) Task 1 Chapter 9: Answers Stalking is a very disruptive and upsetting (for the person being stalked) experience in which someone (the stalker) constantly harasses or obsesses about another person. It can

More information

Two-Way Independent ANOVA

Two-Way Independent ANOVA Two-Way Independent ANOVA Analysis of Variance (ANOVA) a common and robust statistical test that you can use to compare the mean scores collected from different conditions or groups in an experiment. There

More information

Poisson regression. Dae-Jin Lee Basque Center for Applied Mathematics.

Poisson regression. Dae-Jin Lee Basque Center for Applied Mathematics. Dae-Jin Lee dlee@bcamath.org Basque Center for Applied Mathematics http://idaejin.github.io/bcam-courses/ D.-J. Lee (BCAM) Intro to GLM s with R GitHub: idaejin 1/40 Modeling count data Introduction Response

More information