Repeated Measurement ANOVA. Sungho Won, Ph. D. Graduate School of Public Health Seoul National University

Size: px
Start display at page:

Download "Repeated Measurement ANOVA. Sungho Won, Ph. D. Graduate School of Public Health Seoul National University"

Transcription

1 1 Repeated Measurement ANOVA Sungho Won, Ph. D. Graduate School of Public Health Seoul National University

2 2 Analysis of Variance (ANOVA) Main idea Evaluate the effect of treatment by analyzing the amount of variation among the subgroup sample means

3 Analysis of Variance (ANOVA) ANOVA tests mean differences between groups defined by categorical variables One-way ANOVA ONE factor with 2 or more levels Multi-way ANOVA 2 or more factors, each with 2 or more levels Fertirrigation: 4 levels Gender drug: 4 doses ASSUMPTIONS Independence of cases - this is a requirement of the design. Normality - the distributions in each cells are normal Homogeneity of variances - the variance of data in groups should be the same. 3

4 4 Preliminary Model for ANOVA Nonnormality F-test is very robust against non-normal data, especially in a fixedeffects model Large sample size will approximate normality by Central Limit Theorem (recommended sample size > 50) Simulations have shown unequal sample sizes between treatment groups magnify any departure from normality A large deviation from normality leads to hypothesis test conclusions that are too liberal and a decrease in power and efficiency Remedy for nonnormality Data transformation Modified F-tests Adjust the degrees of freedom Rank F-test Permutation (also called randomization) test on the F-ratio

5 5 Preliminary Model for ANOVA Transformation Transformation e.g. f(x) = x 1.5 e.g. f(x) = log(x) f(x) = atan(x)

6 6 Permutation test Permutation test Distribution of statistics is empirically estimated with the permuted samples under the null hypothesis. P-value can be obtained under the null hypothesis. It can be applied to any statistics. Example Group 1: 10, 15, 20 vs group 2: 3, 4, 5 We are interested in getting p-values for H 0 : μ 1 = μ 2 Group I : 10, 15, 20 Group II: 3, 4, 5 Number of possible permuted sample: 6 3 = 20

7 Permutation test Label Group I Group II test statistics

8 8 One-way ANOVA 1. Test normality 2. Test homogeneity of variance within each group 3. Run the ANOVA 4. Reject/accept the H 0 (all the means are equal) 2 approaches 5A. Multiple comparison to test differences between the level of factors 5B. Model simplification working with contrasts

9 9 One-way ANOVA Maize: 4 varieties (k) y: productivity (NORMAL CONTINUOS) x: variety (CATEGORICAL: four levels: x 1, x 2, x 3, x 4 ) H 0 : µ 1 = µ 2 = µ 3 = µ 4 H a : At least two means differ One-way ANOVA is used to test for differences among two or more independent groups ANOVA model y i = a + bx 2 + cx 3 + dx 4 a=µ1 b=µ1-µ2 c=µ1-µ3 d=µ1-µ4 y a b c d

10 10 One-way ANOVA Var 1 Var 2 Var 3 Var X 9.03 n i µ i Number of groups: k = 4 Number of observations N = 19 Grand mean = 7.80 Sum of squares (SS): deviance Degree of freedom (df) SS Total = Σ(y i grand mean) 2 SS Factor = Σ n i (group mean i grand mean) 2 SS Error (within group) = Σ(y i group mean i ) 2 Total: N 1 Group: k 1 Error: N k

11 11 One-way ANOVA SS Total SS Error Grand mean SS Factor mean 3 mean 4 SS Total = SS Factor + SS Error mean 1 mean 2

12 One-way ANOVA SSTotal=SSFactor SSTotal=SSFactor + SSError µ 3 µ4 µ 2 Grand mean µ 1 SS can be divided by the respective df to get a variance MS = SS /df Mean squared deviation F = MSFactor MSError 12

13 One-way ANOVA: F test (variance) F = Factor MS Error MS If the k means are not equal, then the Factor MS in the population will be greater than the population s Error MS How to define the correct F test can be a difficult task with complex design: This is a limitation of ANOVA!! If F calculated is large (e.g. P<0.05), then we can reject Ho All we conclude is that at least two means are different!!! A POSTERIORI MULTIPLE COMPARISONS WORKING WITH CONTRASTS 13

14 14 One-way ANOVA: F test (variance) Contrasts are the essence of hypothesis testing and model simplification in analysis of variance and analysis of covariance. They are used to compare means or groups of means with other means or groups of means We used contrasts to carry out t test AFTER having found out a significant effect with the F test - We can use contrasts in model simplification (merge similar factor levels) - Often we can avoid post-hoc multiple comparisons

15 Multi-way ANOVA: F test (variance) Multi-way ANOVA is used when the experimenter wants to study the effects of two or more treatment variables. ASSUMPTIONS Independence of cases - this is a requirement of the design Normality - the distributions in each of the groups are normal Homogeneity of variances - the variance of data in groups should be the same + Equal replication (BALANCED AND ORTHOGONAL DESIGN: this is required to estimate variance!!) Dose 1 Dose 2 Dose 3 Low temp - X 10 obs 10 obs High temp 10 obs 10 obs 8 obs X If you use traditional general linear models just one missing data can affect strongly the results 15

16 16 Fixed vs Random Effects If we consider more than one factor we have to distinguish two kinds of effects: Fixed effects: factors are specifically chosen and under control, they are informative (E.g. sex, treatments, wet vs. dry, doses, sprayed or not sprayed) Random effects: factors are chosen randomly within a large population, they are normally not informative (E.g. fields within a site, block within a field, split-plot within a plot, family, parent, brood, individuals within repeated measures) Random effects mainly occur in two contrasting kinds of circumstances 1. Observational studies with hierarchical structure 2. Designed experiments with different spatial or temporal dependence

17 17 Fixed vs Random Effects Random effect Imagine that we randomly select a of the possible levels of the factor of interest. In this case, we say that the factor is random if their effects can be assumed to follow the normal distribution. Typically random factors are categorical. While continuous covariates may be measured at random levels, we usually think of the effects as being systematic (such as linear, quadratic or even exponential) effects. Random effects are not systematic. If we have only random effect, then we are working on Random Effect MODEL: y ij = µ + r i (random) + ε ij, r i ~ N(0, σ 12 ), ε ij ~ N(0, σ 22 )

18 18 Fixed vs Random Effects Example From the text discusses a single random factor case about the difference of looms in a textile weaving company. Four looms have been chosen randomly from a population of looms within a weaving shed and four observations of fabric strength were made on each loom. The data obtained from the experiment are below. Loom Obs 1 Obs 2 Obs 3 Obs 4 row sum y ij = μ + α i + ε ij, α i ~N 0, σ α 2, ε ij ~N 0, σ ε 2

19 19 Fixed vs Random Effects Why is it so important to identify fixed vs. random effects? They affect the way to construct the F-test in a multifactorial ANOVA. Their misspecification leads to wrong conclusions You can find how to construct your F-test with different combinations of random and fixed effects and with different hierarchical structures (choose a well-known sampling design!!!) If we have both fixed and random effects, then we are working on MIXED MODELS y ij = µ + α i + r i + ε ij, r i ~ N(0, σ 12 ), ε ij ~ N(0, σ 22 )

20 20 Fixed vs Random Effects Why is it so important to identify fixed vs. random effects? They affect the way to construct the F-test in a multifactorial ANOVA. Their misspecification leads to wrong conclusions You can find how to construct your F-test with different combinations of random and fixed effects and with different hierarchical structures (choose a well-known sampling design!!!) If we have both fixed and random effects, then we are working on MIXED MODELS y i = µ + α i (fixed) + r i (random) + ε

21 21 Factorial ANOVA: two or more factors Factorial design: two or more factors are crossed. Each combination of the factors are equally replicated and each factor occurs in combination with every level of the other factors 3 levels of irrigation 4 fertilizer Orthogonal sampling

22 22 Factorial ANOVA: why? Why use a factorial ANOVA? Why not just use multiple one-way ANOVAs? With n factors, you d need to run n one-way ANOVA s, which would inflate your α-level However, this could be corrected with a Bonferroni correction The best reason is that a factorial ANOVA can detect interactions, something that multiple one-way ANOVA s cannot do. It should be noted that orthogonality is not often preserved in observational study. If they are not orthogonal, true effects of factor A can be estimated only if both A and B are included as covariates. Furthermore if A and B are highly correlated, their effects are not distinguishable because of multi-collinearity.

23 Performance 23 Factorial ANOVA: Interactions Interaction: When the effects of one independent variable differ according to levels of another independent variable E.g. We are testing two factors, Gender (male and female) and Age (young, medium, and old) and their effect on performance Female If males performance differed as a function of age, i.e. males performed better or worse with age, but females performance was the same across ages, we would say that Age and Gender interact, or that we have an Age x Gender interaction Young Age Old Male It is necessary that the slopes differ from one another

24 Performance Performance Factorial ANOVA: Main Effects Main effects: the effect of a factor is independent from any other factors This is what we were looking at with one-way ANOVA s if we have a significant main effect of our factor, then we can say that the mean of at least one of the groups/levels of that factor is different than at least one of the other groups/levels Young Old Male Female It is necessary that the intercepts differ 24

25 Factorial ANOVA: Two-crossed fixed factor design Examples of good ANOVA results Effect Clone < 0.05 Treat < 0.05 C x T < 0.05 Effect Clone < 0.05 Treat < 0.05 C x T n.s. Effect Clone n.s. Treat < 0.05 C x T n.s. Effect Clone < 0.05 Treat n.s. C x T n.s. Mean y Mean y Mean y Mean y Treatment Treatment Treatment Treatment Worst case Effect Clone n.s. Treat n.s C x T n.s Mean y Treatment Two-crossed factor design CloneA CloneB Treatment: 3 levels 25

26 26 Factorial ANOVA: Two-crossed fixed factor design Two crossed fixed effects: every level of each factor occurs in combination with every level of the other factors Model 1: two fixed effects Model 2: two random effects (uncommon situation) Model 3: one random and one fixed effect We can test main effects and interaction: 1. The main effect of each factor is the effect of each factor independent of (pooling over) the other factors 2. The interaction between factors is a measure of how the effects of one factor depends on the levels of one or more additional factors (synergic and antagonist effect of the factors) Factor 1 x Factor 2 We can only measure interaction effects in factorial (crossed) designs

27 27 Factorial ANOVA: Two-crossed fixed factor design Two crossed fixed effects: Response variable: weight gain in six weeks Factor A: DIET (3 levels: barley, oats, wheat) Factor B: SUPPLEMENT (4 levels: S1, S2, S3, S4) DIET* SUPPLEMENT= 3 x 4 = 12 combinations We have 48 horses to test our two factors: 4 replicates barley+s1 barley+s2 oats+s1 oats+s2 wheat+s1 wheat+s2 barley+s3 barley+s4 oats+s3 oats+s4 wheat+s3 wheat+s4

28 Factorial ANOVA: Two-crossed fixed factor design The 48 horses must be independent units to be replicates DIET SUPPLEMENT DIET*SUPPLEMENT F test for main effects and interaction DIET SUPPLEMENT F D F S MS MS D error MS MS S error Barley Oats wheat Barley Oats Wheat S1 S2 S3 S4 DIET*SUPPLEMENT F DxS MS MS DxS error 28

29 29 Mixed MODELs: Fixed + Random Effects Pure fixed effect models REQUIRE INDEPENDENCE WHAT IF WE HAVE DEPENDENCE??? Mixed models can deal with spatial or temporal dependence The mixed models included the dependence in the data with appropriate random effects

30 30 Mixed MODELs: Split-Plot We can consider random factors to account for the variability related to the environment in which we carry out the experiment Mixed models can deal with spatial or temporal dependence The split-plot design is one of the most useful design in agricultural and ecological research The different treatment are applied to plot with different size organized in a hierarchical structure

31 Factorial ANOVA: Split-Plot (Mixed) N P P NP NP N P P NP N P NP NP NP N N P P Block A N P N P N P B C P NP P NP P NP D NP N NP N NP N P P P P P P NP N NP N NP N P NP P NP P NP NP NP NP NP NP NP N N N N N N P P P P P P Irrigation Density Fertilizer Response variable: Crop production in each cell Fixed effects: Irrigation (yes or no) Seed-sowing density sub-plots (low, med, high) Fertilizer (N, P or NP) Random effects: 4 blocks Irrigation within block Density within irrigation plots 31

32 Factorial ANOVA: Mixed Model The split-plot design i) 4 Blocks HIERARCHICAL STRUCTURE No water Water ii) irrigation plot (yes or no) N P NP P NP N iii) seed-sowing density sub-plots (low, med, high) P P NP N P NP N NP NP N iv) 3 fertilizer sub-sub-plot (N, P, o NP) P P Crop production 32

33 33 Factorial ANOVA: Mixed Model Model formulation Y~ fixed effects + error terms y ~ a*b*c + Error(a/b/c) Here you can specify your sampling hierarchy Yield Block Irrigation Density Fertilizer Uninformative Informative!!! Yield ~ irrigation*density*fertilizer+ Error(block/irrigation/density))

34 34 Factorial ANOVA: Mixed Model Mixed models using traditional ANOVA requires perfect orthogonal and balanced design (THEY WORK WELL WITH THE PROPER SAMPLING) avoid to work with F-test for multi-way ANOVA in non-orthogonal sampling designs If something has gone wrong with the sampling You can use linear mixed models with the REML estimation

35 35 ANOVA with Repeated Measures Statistical Model Plot of means by time for each of two treatments Sub 1 t 1 y 11 y 1t n y n1 y nt A standard ANOVA model Model y hij = hj + hij hj the expected response of a subject on treatment h at time t j, hij the independent errors, N(0, 2 ). h = 1,, g (# of groups); i =1,, n h (# of subjects in the hth group); j =1,, k (# of measurements).

36 ANOVA with Repeated Measures Mixed effects models The random effect for an individual is a random displacement term that applies to all measurements for that individual. Time Point whole Plot Sub 1 j t Trt = 1 1 y 11 y 1j y 1t i y i1 y ij y it n y n1 y nj y nt Trt = 2 U h1 : Split Plot 1 U hi : Split Plot i U hn : Split Plot n Subjects are not nested for treatment 36

37 37 ANOVA with Repeated Measures A mixed effects model The random/mixed effects model is alternately referred to a split plot, hierarchical, two-stage, or variance components model, or the random intercept model y hij = hj + U hi + hij hj the expected response of a subject on trt h at time t j U hi the unobserved random effect for subject i in group h; h =1,, g; j =1,,k; i =1,,n h ; U hi N(0, 2 ) for all h, i ; hij ~ N(0, 2 ) are residual errors; U hi, hij are independent

38 38 ANOVA with Repeated Measures A mixed effects model Decomposition of Variance of Covariance Var (y hij ) = : the population variance of effect 2 : the measurement variance This assumes the equal covariance between y hij and y hij'. However it is not always true and should be confirmed with statistical inference. Hierarchical or two-stage model is applicable to the mixed-effects model 1. E (y hij U hi ) = hj + U hi = U hi *, V(y hij U hi ) = 2 2. U hi ~ N(0, 2 ) The covariance/correlation between measurements within a subject?

39 39 ANOVA with Repeated Measures A mixed effects model Why not use subject as a fixed effect? May require a lot of additional parameters (depending on number of subjects). Their effects are small and can be assumed to follow the normal distribution. Implies interest in estimating a separate effect for each person. Comments Model fitting does not require estimation of subject effects. Instead of using a separate parameter (fixed effect) for each subject, we assume subject effects are random realization from a population. The only additional parameter is the random effect variance, v 2.

40 40 ANOVA with Repeated Measures Repeated Measures ANOVA It represents an univariate approach to analyzing repeated measures data with particular focus on hypothesis testing. It can be thought of as an extension of the paired-sample t-test to include comparison between more than two repeated.

41 ANOVA with Repeated Measures Between-subject and within-subject effects Between-subject effects Each subject is exposed to one of the treatments being tested Estimate E(Y E = 1) - E(Y E = 0) Example: one-way ANOVA Within-subject effects Each subject is exposed to more than one of the treatments being tested Estimate E(Y i E = 1 - Y i E = 0 ), i: subject Example: Paired t-test Mixed (within and between-subjects) design There is at least one within-subjects factor and at least one between-subjects factor in the same experiment 41

42 42 ANOVA with Repeated Measures Between-subject and within-subject effects Remarks Within-subjects allow observation of change over time. The main disadvantage is possible confounding, which is generated by learning effect and can often be overcome by using counterbalancing. For between-subject designs, as long as group assignment is random, causal estimates are obtained by comparing the behavior of those in one experimental condition with the behavior of those in another. However it is hardly achieved for observational studies

43 43 ANOVA with Repeated Measures Partition of SS A x (B x S): A - between, B within, S - subjects Each level of factor A contains a different group of e.g. randomly assigned subjects On the other hand, each level of factor B at any given level of factor A contains the same subjects SStotal SS b/t subjects SS w/in subjects SS A SS subj w/in groups SS B SS error

44 44 Sources of Variance Partition of SS SS total : Deviation of each individual score from the grand mean SS b/t subjects Deviation of subjects' individual means (across treatments) from the grand mean. This is largely uninteresting, as we can pretty much assume that subjects differ SS w/in subjects : How SS vary about their own mean, breaks down into: SS B 1 As in between subjects ANOVA, it is the comparison of treatment means to each other (by examining their deviations from the grand mean) 2 However this is now a partition of the within subjects variation SS error 1 Variability of individuals scores about their treatment mean

45 45 ANOVA with Repeated Measures Example : The Sitka spruce 1989 Goal : to investigate the effect of ozone on tree growth 79 trees are grown in four controlled environment chambers Observations: 103, 130, 162, 190, 213, 247,273, 308 (days) 27 trees, ozone 70 ppb 27 trees, ozone 70 ppb 12 trees, No ozone 12 trees, No ozone

46 ANOVA with Repeated Measures Repeated Measures ANOVA Linear model y hij = + h + j + hj + U hi + hij y hij the jth measurement (response) (j =1,, n) for the ith subject (i =1,, m h ) in group h (h =1,,g); the unknown intercept; h the effect of treatment h, h h = 0; j the effect of time j, j j =0 for all h; hj the effect of treatment h at time j; j hj = 0 for all h, h hj = 0 for j =1,, n; U hi the random effect of the ith subject in the hth group, U hi IN(0, 2 ); hij ~ IN(0, 2 ) are residual errors; U hi, hij are independent. m h m h F 1 : To test for difference in expected response between treatments H 0 : 1 = 1 = = g vs H 1 : not H 0. F 2 : To test for lack of parallel group mean profile H 0 : 11 = 12 = = gn vs H 1 : not H 0. 46

47 47 ANOVA with Repeated Measures ANOVA Table Source of variation Sum of squares df Between treatments Whole plot residual Whole plot total Between times Treatment by time interaction Split-plot residual Split-plot total g BTSS m mh( yh y) 1 h1 RSS TSS BTSS g m TSS m h ( y y ) 1 h1 n i1 hi 2 BTSS ( ) 2 n y 1 j y j n g 2 2 m ( ) 1 h 1 h y j hj 1 2 ISS y BTSS BTSS RSS TSS ISS BTSS TSS TSS g 2 h1 m h n i1 j1 2 ( y y ) hi j 2 2 whole plot split plot g 1 m g n 1 ( g1) ( n1) ( m g) ( n 1) nm 1 F 1 : To test for difference in expected response between treatments: F { BTSS / ( g 1)} / { RSS / ( m g)}, F 2 : To test for lack of parallel group mean profile: F { ISS / [( g 1)( n 1)]} / { RSS / [( m g)( n 1)]}, 2 2 2

48 48 ANOVA with Repeated Measures ANOVA Table Source of Var Sum of Squares df Expected Mean Square Between Trts BTSS 1 = m h m h (y h.. y... ) 2 g 1 m h m h h2 /(h-1) + n Whole plot residual RSS 1 = TSS 1 BTSS 1 m g n Whole plot total TSS 1 = m h i (y hi. y... ) 2 m 1 Between Times BTSS 2 = n j (y..j y... ) 2 n 1 g j n h j2 /(n-1) + 2 Trt x Time Interaction ISS 2 = j h n h (y h.j y... ) 2 (g 1)(n 1) j h n h hj2 /((g-1)(n-1)) + 2 BTSS 1 BTSS 2 Error RSS 2 = TSS 2 ISS 2 BTSS 2 (m-g)(n-1) 2 TSS 1 Total TSS 2 = h i j (y hij y... ) 2 nm - 1 Under the null hypotheses, α h = 0, τ j = 0, and hj = 0. v 2 = 0 can be 0, which means no covariances between repeated measurements for each subject.

49 49 ANOVA with Repeated Measures Results Growth of Sitka spruce with and without ozone (continued) The following table presents a split-plot ANOVA for the 1989 sitka spruce data. We ignore possible chamber effects to ease comparison with the results from the robust analysis. Source of variation Sum of squares df Mean square Between treatments Whole plot residuals Whole plot total Between times Treatment by time interaction Split-plot residual Split-plot total What are the test statistics for F 1, F 2?

50 50 ANOVA with Repeated Measures Assumptions in the Sitka Spruce Example U IN v IN 2 2 hi ~ (0, ), hij ~ (0, ) 2 2 v if i i ', j j ' 2 cov( yhij, yh' i' j ') v if i i ', j j ' 0 if i i ', j j ' Homogeneity of variances Sphericity Independence

51 51 ANOVA with Repeated Measures Assumptions in the Sitka Spruce Example Between subjects When analysing data from different participants, you have to assume homogeneity of variances, i.e., same variances in all groups Homogeneity of variances is tested with Levene's test Within subjects Since your subjects are always the same, there will necessarily be a relation between the measurements in the various conditions in a within subj design. While the relations cannot be independent they should be the same between all pairs. variance A-B variance A-C variance B-C

52 ANOVA with Repeated Measures Sphericity The validity of (some of the) F-tests rests on assumption of the splitplot model in particular, type H matrix including compound symmetry (the equal correlation) Type H matrix: Sphericity assume that variances in the differences between conditions is equal (basically it means that the correlation between treatment levels is the same). Sphericity test: perform a statistical test for the structure, type H matrix (Type H matrix satisfies sphericity). 52

53 53 ANOVA with Repeated Measures Sphericity Start 1 Month 2 Months Start 1 Month Start 2 Months 1 Month 2Months Variance

54 54 ANOVA with Repeated Measures Mauchly Sphericity Test Likelihood ratio test: H 0 : type H matrix is preserved vs H 1 : not H 0 sup H Lw ( ) sup H ( ) 0H L log ~ ( df ) When the significance level of the Mauchly s test is < 0.05, then sphericity cannot be assumed

55 55 Examples Latin square / split-plot design Recall the repeated-measures set-up: Treatment A1 A2 A3 S1 S1 S1 S2 S2 S2 S3 S3 S3 S4 S4 S4 S1, S2, and S3 indicate different subject.

56 56 Examples Four assumptions need to be tested/satisfied Compound Symmetry Homogeneity of variance in each column σ A12 = σ A2 2 = σ A3 2 Homogeneity of covariance between columns σ A1A2 = σ A2A3 = σ A3A1 No A x S Interaction (Additivity) Sphericity Variance of difference scores between pairs are equal σ YA1-YA2 = σ YA1-YA3 = σ YA2-YA3 The variance of each cell cannot be computed.

57 57 Examples Usually, testing sphericity will suffice Sphericity can be tested using the Mauchly test in SAS SAS code proc glm data=temp; class sub; model a1 a2 a3 = sub / nouni; repeated as 3 (1 2 3) polynomial / summary printe; run; quit; Results Sphericity Tests Mauchly's Variables DF Criterion Chi-Square Pr > ChiSq Transformed Variates 2 Det = Orthogonal Components 2 Det = In addition, the PRINTE option provides sphericity tests for each set of transformed variables. If the requested transformations are not orthogonal, the PRINTE option also provides a sphericity test for a set of orthogonal contrasts.

58 58 ANOVA with Repeated Measures Remarks Repeated measures ANOVA is a somewhat ad hoc approach to analysis. For each model we need to find appropriate sums of squares, F-test. If sphericity is violated, Use modified tests (Huynh-Feldt or Greenhouse-eisser). Use MANOVA However, for longitudinal data this covariance model typically has limited scientific appeal. The method assumes balanced data (the same number and timing of measurements across subject). F-test validity is not guaranteed for unbalanced data.

59 59 ANOVA with Repeated Measures Limitation ANOVA/MANOVA assume categorical predictors. ANOVA/MANOVA do not handle time-dependent covariates (predictors measured over time). They assume everyone is measured at the same time (time is categorical) and at equally spaced time intervals. You don t get parameter estimates (just p-values) Missing data must be imputed. They require restrictive assumptions about the correlation structure.

60 60 Analysis Procedure Procedure with PROC GLM

61 Questions?? 61

Topic 12. The Split-plot Design and its Relatives (continued) Repeated Measures

Topic 12. The Split-plot Design and its Relatives (continued) Repeated Measures 12.1 Topic 12. The Split-plot Design and its Relatives (continued) Repeated Measures 12.9 Repeated measures analysis Sometimes researchers make multiple measurements on the same experimental unit. We have

More information

ANOVA approaches to Repeated Measures. repeated measures MANOVA (chapter 3)

ANOVA approaches to Repeated Measures. repeated measures MANOVA (chapter 3) ANOVA approaches to Repeated Measures univariate repeated-measures ANOVA (chapter 2) repeated measures MANOVA (chapter 3) Assumptions Interval measurement and normally distributed errors (homogeneous across

More information

Repeated Measures Analysis of Variance

Repeated Measures Analysis of Variance Repeated Measures Analysis of Variance Review Univariate Analysis of Variance Group A Group B Group C Repeated Measures Analysis of Variance Condition A Condition B Condition C Repeated Measures Analysis

More information

Analysis of Variance

Analysis of Variance Statistical Techniques II EXST7015 Analysis of Variance 15a_ANOVA_Introduction 1 Design The simplest model for Analysis of Variance (ANOVA) is the CRD, the Completely Randomized Design This model is also

More information

ANCOVA. Psy 420 Andrew Ainsworth

ANCOVA. Psy 420 Andrew Ainsworth ANCOVA Psy 420 Andrew Ainsworth What is ANCOVA? Analysis of covariance an extension of ANOVA in which main effects and interactions are assessed on DV scores after the DV has been adjusted for by the DV

More information

The Random Effects Model Introduction

The Random Effects Model Introduction The Random Effects Model Introduction Sometimes, treatments included in experiment are randomly chosen from set of all possible treatments. Conclusions from such experiment can then be generalized to other

More information

Psy 420 Final Exam Fall 06 Ainsworth. Key Name

Psy 420 Final Exam Fall 06 Ainsworth. Key Name Psy 40 Final Exam Fall 06 Ainsworth Key Name Psy 40 Final A researcher is studying the effect of Yoga, Meditation, Anti-Anxiety Drugs and taking Psy 40 and the anxiety levels of the participants. Twenty

More information

MIXED MODELS FOR REPEATED (LONGITUDINAL) DATA PART 2 DAVID C. HOWELL 4/1/2010

MIXED MODELS FOR REPEATED (LONGITUDINAL) DATA PART 2 DAVID C. HOWELL 4/1/2010 MIXED MODELS FOR REPEATED (LONGITUDINAL) DATA PART 2 DAVID C. HOWELL 4/1/2010 Part 1 of this document can be found at http://www.uvm.edu/~dhowell/methods/supplements/mixed Models for Repeated Measures1.pdf

More information

Stats fest Analysis of variance. Single factor ANOVA. Aims. Single factor ANOVA. Data

Stats fest Analysis of variance. Single factor ANOVA. Aims. Single factor ANOVA. Data 1 Stats fest 2007 Analysis of variance murray.logan@sci.monash.edu.au Single factor ANOVA 2 Aims Description Investigate differences between population means Explanation How much of the variation in response

More information

Analysis of Longitudinal Data: Comparison Between PROC GLM and PROC MIXED. Maribeth Johnson Medical College of Georgia Augusta, GA

Analysis of Longitudinal Data: Comparison Between PROC GLM and PROC MIXED. Maribeth Johnson Medical College of Georgia Augusta, GA Analysis of Longitudinal Data: Comparison Between PROC GLM and PROC MIXED Maribeth Johnson Medical College of Georgia Augusta, GA Overview Introduction to longitudinal data Describe the data for examples

More information

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

The legacy of Sir Ronald A. Fisher. Fisher s three fundamental principles: local control, replication, and randomization. 1 Chapter 1: Research Design Principles The legacy of Sir Ronald A. Fisher. Fisher s three fundamental principles: local control, replication, and randomization. 2 Chapter 2: Completely Randomized Design

More information

UV Absorbance by Fish Slime

UV Absorbance by Fish Slime Data Set 1: UV Absorbance by Fish Slime Statistical Setting This handout describes a repeated-measures ANOVA, with two crossed amongsubjects factors and repeated-measures on a third (within-subjects) factor.

More information

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

Chap 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 information

Topic 12. The Split-plot Design and its Relatives (Part II) Repeated Measures [ST&D Ch. 16] 12.9 Repeated measures analysis

Topic 12. The Split-plot Design and its Relatives (Part II) Repeated Measures [ST&D Ch. 16] 12.9 Repeated measures analysis Topic 12. The Split-plot Design and its Relatives (Part II) Repeated Measures [ST&D Ch. 16] 12.9 Repeated measures analysis Sometimes researchers make multiple measurements on the same experimental unit.

More information

DESIGNING EXPERIMENTS AND ANALYZING DATA A Model Comparison Perspective

DESIGNING EXPERIMENTS AND ANALYZING DATA A Model Comparison Perspective DESIGNING EXPERIMENTS AND ANALYZING DATA A Model Comparison Perspective Second Edition Scott E. Maxwell Uniuersity of Notre Dame Harold D. Delaney Uniuersity of New Mexico J,t{,.?; LAWRENCE ERLBAUM ASSOCIATES,

More information

Mixed- Model Analysis of Variance. Sohad Murrar & Markus Brauer. University of Wisconsin- Madison. Target Word Count: Actual Word Count: 2755

Mixed- Model Analysis of Variance. Sohad Murrar & Markus Brauer. University of Wisconsin- Madison. Target Word Count: Actual Word Count: 2755 Mixed- Model Analysis of Variance Sohad Murrar & Markus Brauer University of Wisconsin- Madison The SAGE Encyclopedia of Educational Research, Measurement and Evaluation Target Word Count: 3000 - Actual

More information

Chapter 14: Repeated-measures designs

Chapter 14: Repeated-measures designs Chapter 14: Repeated-measures designs Oliver Twisted Please, Sir, can I have some more sphericity? The following article is adapted from: Field, A. P. (1998). A bluffer s guide to sphericity. Newsletter

More information

ANOVA Longitudinal Models for the Practice Effects Data: via GLM

ANOVA Longitudinal Models for the Practice Effects Data: via GLM Psyc 943 Lecture 25 page 1 ANOVA Longitudinal Models for the Practice Effects Data: via GLM Model 1. Saturated Means Model for Session, E-only Variances Model (BP) Variances Model: NO correlation, EQUAL

More information

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

Topic 17 - Single Factor Analysis of Variance. Outline. One-way ANOVA. The Data / Notation. One way ANOVA Cell means model Factor effects model Topic 17 - Single Factor Analysis of Variance - Fall 2013 One way ANOVA Cell means model Factor effects model Outline Topic 17 2 One-way ANOVA Response variable Y is continuous Explanatory variable is

More information

Checking model assumptions with regression diagnostics

Checking model assumptions with regression diagnostics @graemeleehickey www.glhickey.com graeme.hickey@liverpool.ac.uk Checking model assumptions with regression diagnostics Graeme L. Hickey University of Liverpool Conflicts of interest None Assistant Editor

More information

Repeated Measures ANOVA Multivariate ANOVA and Their Relationship to Linear Mixed Models

Repeated Measures ANOVA Multivariate ANOVA and Their Relationship to Linear Mixed Models Repeated Measures ANOVA Multivariate ANOVA and Their Relationship to Linear Mixed Models EPSY 905: Multivariate Analysis Spring 2016 Lecture #12 April 20, 2016 EPSY 905: RM ANOVA, MANOVA, and Mixed Models

More information

Chapter 1 Statistical Inference

Chapter 1 Statistical Inference Chapter 1 Statistical Inference causal inference To infer causality, you need a randomized experiment (or a huge observational study and lots of outside information). inference to populations Generalizations

More information

Stat/F&W Ecol/Hort 572 Review Points Ané, Spring 2010

Stat/F&W Ecol/Hort 572 Review Points Ané, Spring 2010 1 Linear models Y = Xβ + ɛ with ɛ N (0, σ 2 e) or Y N (Xβ, σ 2 e) where the model matrix X contains the information on predictors and β includes all coefficients (intercept, slope(s) etc.). 1. Number of

More information

An Introduction to Multilevel Models. PSYC 943 (930): Fundamentals of Multivariate Modeling Lecture 25: December 7, 2012

An Introduction to Multilevel Models. PSYC 943 (930): Fundamentals of Multivariate Modeling Lecture 25: December 7, 2012 An Introduction to Multilevel Models PSYC 943 (930): Fundamentals of Multivariate Modeling Lecture 25: December 7, 2012 Today s Class Concepts in Longitudinal Modeling Between-Person vs. +Within-Person

More information

Experimental Design and Data Analysis for Biologists

Experimental Design and Data Analysis for Biologists Experimental Design and Data Analysis for Biologists Gerry P. Quinn Monash University Michael J. Keough University of Melbourne CAMBRIDGE UNIVERSITY PRESS Contents Preface page xv I I Introduction 1 1.1

More information

Longitudinal data: simple univariate methods of analysis

Longitudinal data: simple univariate methods of analysis Longitudinal data: simple univariate methods of analysis Danish version by Henrik Stryhn, June 1996 Department of Mathematcis and Physics, KVL Translation (and rewriting) by Ib Skovgaard, March 1998 (the

More information

Analysis of Variance: Repeated measures

Analysis 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 information

Analysis of Variance (ANOVA)

Analysis 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 information

ST 732, Midterm Solutions Spring 2019

ST 732, Midterm Solutions Spring 2019 ST 732, Midterm Solutions Spring 2019 Please sign the following pledge certifying that the work on this test is your own: I have neither given nor received aid on this test. Signature: Printed Name: There

More information

Chapter 9. Multivariate and Within-cases Analysis. 9.1 Multivariate Analysis of Variance

Chapter 9. Multivariate and Within-cases Analysis. 9.1 Multivariate Analysis of Variance Chapter 9 Multivariate and Within-cases Analysis 9.1 Multivariate Analysis of Variance Multivariate means more than one response variable at once. Why do it? Primarily because if you do parallel analyses

More information

Notes on Maxwell & Delaney

Notes on Maxwell & Delaney Notes on Maxwell & Delaney PSY710 12 higher-order within-subject designs Chapter 11 discussed the analysis of data collected in experiments that had a single, within-subject factor. Here we extend those

More information

Ron Heck, Fall Week 3: Notes Building a Two-Level Model

Ron Heck, Fall Week 3: Notes Building a Two-Level Model Ron Heck, Fall 2011 1 EDEP 768E: Seminar on Multilevel Modeling rev. 9/6/2011@11:27pm Week 3: Notes Building a Two-Level Model We will build a model to explain student math achievement using student-level

More information

1. (Rao example 11.15) A study measures oxygen demand (y) (on a log scale) and five explanatory variables (see below). Data are available as

1. (Rao example 11.15) A study measures oxygen demand (y) (on a log scale) and five explanatory variables (see below). Data are available as ST 51, Summer, Dr. Jason A. Osborne Homework assignment # - Solutions 1. (Rao example 11.15) A study measures oxygen demand (y) (on a log scale) and five explanatory variables (see below). Data are available

More information

WITHIN-PARTICIPANT EXPERIMENTAL DESIGNS

WITHIN-PARTICIPANT EXPERIMENTAL DESIGNS 1 WITHIN-PARTICIPANT EXPERIMENTAL DESIGNS I. Single-factor designs: the model is: yij i j ij ij where: yij score for person j under treatment level i (i = 1,..., I; j = 1,..., n) overall mean βi treatment

More information

One-Way ANOVA. Some examples of when ANOVA would be appropriate include:

One-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 information

Analysis of Variance

Analysis of Variance Analysis of Variance Blood coagulation time T avg A 62 60 63 59 61 B 63 67 71 64 65 66 66 C 68 66 71 67 68 68 68 D 56 62 60 61 63 64 63 59 61 64 Blood coagulation time A B C D Combined 56 57 58 59 60 61

More information

Introduction 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 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 information

WELCOME! Lecture 13 Thommy Perlinger

WELCOME! 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 information

Lecture 3: Linear Models. Bruce Walsh lecture notes Uppsala EQG course version 28 Jan 2012

Lecture 3: Linear Models. Bruce Walsh lecture notes Uppsala EQG course version 28 Jan 2012 Lecture 3: Linear Models Bruce Walsh lecture notes Uppsala EQG course version 28 Jan 2012 1 Quick Review of the Major Points The general linear model can be written as y = X! + e y = vector of observed

More information

ANCOVA. Lecture 9 Andrew Ainsworth

ANCOVA. Lecture 9 Andrew Ainsworth ANCOVA Lecture 9 Andrew Ainsworth What is ANCOVA? Analysis of covariance an extension of ANOVA in which main effects and interactions are assessed on DV scores after the DV has been adjusted for by the

More information

Answer to exercise: Blood pressure lowering drugs

Answer to exercise: Blood pressure lowering drugs Answer to exercise: Blood pressure lowering drugs The data set bloodpressure.txt contains data from a cross-over trial, involving three different formulations of a drug for lowering of blood pressure:

More information

Repeated-Measures ANOVA in SPSS Correct data formatting for a repeated-measures ANOVA in SPSS involves having a single line of data for each

Repeated-Measures ANOVA in SPSS Correct data formatting for a repeated-measures ANOVA in SPSS involves having a single line of data for each Repeated-Measures ANOVA in SPSS Correct data formatting for a repeated-measures ANOVA in SPSS involves having a single line of data for each participant, with the repeated measures entered as separate

More information

sphericity, 5-29, 5-32 residuals, 7-1 spread and level, 2-17 t test, 1-13 transformations, 2-15 violations, 1-19

sphericity, 5-29, 5-32 residuals, 7-1 spread and level, 2-17 t test, 1-13 transformations, 2-15 violations, 1-19 additive tree structure, 10-28 ADDTREE, 10-51, 10-53 EXTREE, 10-31 four point condition, 10-29 ADDTREE, 10-28, 10-51, 10-53 adjusted R 2, 8-7 ALSCAL, 10-49 ANCOVA, 9-1 assumptions, 9-5 example, 9-7 MANOVA

More information

8/28/2017. Repeated-Measures ANOVA. 1. Situation/hypotheses. 2. Test statistic. 3.Distribution. 4. Assumptions

8/28/2017. Repeated-Measures ANOVA. 1. Situation/hypotheses. 2. Test statistic. 3.Distribution. 4. Assumptions PSY 5101: Advanced Statistics for Psychological and Behavioral Research 1 Rationale of Repeated Measures ANOVA One-way and two-way Benefits Partitioning Variance Statistical Problems with Repeated- Measures

More information

THE ROYAL STATISTICAL SOCIETY HIGHER CERTIFICATE

THE ROYAL STATISTICAL SOCIETY HIGHER CERTIFICATE THE ROYAL STATISTICAL SOCIETY 004 EXAMINATIONS SOLUTIONS HIGHER CERTIFICATE PAPER II STATISTICAL METHODS The Society provides these solutions to assist candidates preparing for the examinations in future

More information

Unbalanced Designs & Quasi F-Ratios

Unbalanced Designs & Quasi F-Ratios Unbalanced Designs & Quasi F-Ratios ANOVA for unequal n s, pooled variances, & other useful tools Unequal nʼs Focus (so far) on Balanced Designs Equal n s in groups (CR-p and CRF-pq) Observation in every

More information

CHAPTER 7 - FACTORIAL ANOVA

CHAPTER 7 - FACTORIAL ANOVA Between-S Designs Factorial 7-1 CHAPTER 7 - FACTORIAL ANOVA Introduction to Factorial Designs................................................. 2 A 2 x 2 Factorial Example.......................................................

More information

General Linear Model (Chapter 4)

General Linear Model (Chapter 4) General Linear Model (Chapter 4) Outcome variable is considered continuous Simple linear regression Scatterplots OLS is BLUE under basic assumptions MSE estimates residual variance testing regression coefficients

More information

ANALYSIS OF VARIANCE OF BALANCED DAIRY SCIENCE DATA USING SAS

ANALYSIS 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 information

BIOL Biometry LAB 6 - SINGLE FACTOR ANOVA and MULTIPLE COMPARISON PROCEDURES

BIOL 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 information

using the beginning of all regression models

using the beginning of all regression models Estimating using the beginning of all regression models 3 examples Note about shorthand Cavendish's 29 measurements of the earth's density Heights (inches) of 14 11 year-old males from Alberta study Half-life

More information

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

22s:152 Applied Linear Regression. Take random samples from each of m populations. 22s:152 Applied Linear Regression Chapter 8: ANOVA NOTE: We will meet in the lab on Monday October 10. One-way ANOVA Focuses on testing for differences among group means. Take random samples from each

More information

Supplemental Materials. In the main text, we recommend graphing physiological values for individual dyad

Supplemental Materials. In the main text, we recommend graphing physiological values for individual dyad 1 Supplemental Materials Graphing Values for Individual Dyad Members over Time In the main text, we recommend graphing physiological values for individual dyad members over time to aid in the decision

More information

" M A #M B. Standard deviation of the population (Greek lowercase letter sigma) σ 2

 M A #M B. Standard deviation of the population (Greek lowercase letter sigma) σ 2 Notation and Equations for Final Exam Symbol Definition X The variable we measure in a scientific study n The size of the sample N The size of the population M The mean of the sample µ The mean of the

More information

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

Topic 9: Factorial treatment structures. Introduction. Terminology. Example of a 2x2 factorial Topic 9: Factorial treatment structures Introduction A common objective in research is to investigate the effect of each of a number of variables, or factors, on some response variable. In earlier times,

More information

Describing Change over Time: Adding Linear Trends

Describing Change over Time: Adding Linear Trends Describing Change over Time: Adding Linear Trends Longitudinal Data Analysis Workshop Section 7 University of Georgia: Institute for Interdisciplinary Research in Education and Human Development Section

More information

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

22s:152 Applied Linear Regression. There are a couple commonly used models for a one-way ANOVA with m groups. Chapter 8: ANOVA 22s:152 Applied Linear Regression Chapter 8: ANOVA NOTE: We will meet in the lab on Monday October 10. One-way ANOVA Focuses on testing for differences among group means. Take random samples from each

More information

Advanced Experimental Design

Advanced Experimental Design Advanced Experimental Design Topic 8 Chapter : Repeated Measures Analysis of Variance Overview Basic idea, different forms of repeated measures Partialling out between subjects effects Simple repeated

More information

STA441: Spring Multiple Regression. This slide show is a free open source document. See the last slide for copyright information.

STA441: Spring Multiple Regression. This slide show is a free open source document. See the last slide for copyright information. STA441: Spring 2018 Multiple Regression This slide show is a free open source document. See the last slide for copyright information. 1 Least Squares Plane 2 Statistical MODEL There are p-1 explanatory

More information

One-way between-subjects ANOVA. Comparing three or more independent means

One-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 information

Topic 6. Two-way designs: Randomized Complete Block Design [ST&D Chapter 9 sections 9.1 to 9.7 (except 9.6) and section 15.8]

Topic 6. Two-way designs: Randomized Complete Block Design [ST&D Chapter 9 sections 9.1 to 9.7 (except 9.6) and section 15.8] Topic 6. Two-way designs: Randomized Complete Block Design [ST&D Chapter 9 sections 9.1 to 9.7 (except 9.6) and section 15.8] The completely randomized design Treatments are randomly assigned to e.u. such

More information

STAT 525 Fall Final exam. Tuesday December 14, 2010

STAT 525 Fall Final exam. Tuesday December 14, 2010 STAT 525 Fall 2010 Final exam Tuesday December 14, 2010 Time: 2 hours Name (please print): Show all your work and calculations. Partial credit will be given for work that is partially correct. Points will

More information

General Principles Within-Cases Factors Only Within and Between. Within Cases ANOVA. Part One

General Principles Within-Cases Factors Only Within and Between. Within Cases ANOVA. Part One Within Cases ANOVA Part One 1 / 25 Within Cases A case contributes a DV value for every value of a categorical IV It is natural to expect data from the same case to be correlated - NOT independent For

More information

Factorial Analysis of Variance

Factorial Analysis of Variance Factorial Analysis of Variance Conceptual Example A repeated-measures t-test is more likely to lead to rejection of the null hypothesis if a) *Subjects show considerable variability in their change scores.

More information

Design of Experiments. Factorial experiments require a lot of resources

Design of Experiments. Factorial experiments require a lot of resources Design of Experiments Factorial experiments require a lot of resources Sometimes real-world practical considerations require us to design experiments in specialized ways. The design of an experiment is

More information

Lecture 6: Single-classification multivariate ANOVA (k-group( MANOVA)

Lecture 6: Single-classification multivariate ANOVA (k-group( MANOVA) Lecture 6: Single-classification multivariate ANOVA (k-group( MANOVA) Rationale and MANOVA test statistics underlying principles MANOVA assumptions Univariate ANOVA Planned and unplanned Multivariate ANOVA

More information

psyc3010 lecture 2 factorial between-ps ANOVA I: omnibus tests

psyc3010 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 information

Statistical Distribution Assumptions of General Linear Models

Statistical Distribution Assumptions of General Linear Models Statistical Distribution Assumptions of General Linear Models Applied Multilevel Models for Cross Sectional Data Lecture 4 ICPSR Summer Workshop University of Colorado Boulder Lecture 4: Statistical Distributions

More information

COMPLETELY RANDOM DESIGN (CRD) -Design can be used when experimental units are essentially homogeneous.

COMPLETELY 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 information

STAT 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 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 information

Unit 12: Analysis of Single Factor Experiments

Unit 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 information

same hypothesis Assumptions N = subjects K = groups df 1 = between (numerator) df 2 = within (denominator)

same hypothesis Assumptions N = subjects K = groups df 1 = between (numerator) df 2 = within (denominator) compiled by Janine Lim, EDRM 61, Spring 008 This file is copyrighted (010) and a part of my Leadership Portfolio found at http://www.janinelim.com/leadportfolio. It is shared for your learning use only.

More information

36-309/749 Experimental Design for Behavioral and Social Sciences. Dec 1, 2015 Lecture 11: Mixed Models (HLMs)

36-309/749 Experimental Design for Behavioral and Social Sciences. Dec 1, 2015 Lecture 11: Mixed Models (HLMs) 36-309/749 Experimental Design for Behavioral and Social Sciences Dec 1, 2015 Lecture 11: Mixed Models (HLMs) Independent Errors Assumption An error is the deviation of an individual observed outcome (DV)

More information

Statistical Techniques II EXST7015 Simple Linear Regression

Statistical Techniques II EXST7015 Simple Linear Regression Statistical Techniques II EXST7015 Simple Linear Regression 03a_SLR 1 Y - the dependent variable 35 30 25 The objective Given points plotted on two coordinates, Y and X, find the best line to fit the data.

More information

Dr. Junchao Xia Center of Biophysics and Computational Biology. Fall /8/2016 1/38

Dr. Junchao Xia Center of Biophysics and Computational Biology. Fall /8/2016 1/38 BIO5312 Biostatistics Lecture 11: Multisample Hypothesis Testing II Dr. Junchao Xia Center of Biophysics and Computational Biology Fall 2016 11/8/2016 1/38 Outline In this lecture, we will continue to

More information

Multilevel Models in Matrix Form. Lecture 7 July 27, 2011 Advanced Multivariate Statistical Methods ICPSR Summer Session #2

Multilevel Models in Matrix Form. Lecture 7 July 27, 2011 Advanced Multivariate Statistical Methods ICPSR Summer Session #2 Multilevel Models in Matrix Form Lecture 7 July 27, 2011 Advanced Multivariate Statistical Methods ICPSR Summer Session #2 Today s Lecture Linear models from a matrix perspective An example of how to do

More information

REVIEW 8/2/2017 陈芳华东师大英语系

REVIEW 8/2/2017 陈芳华东师大英语系 REVIEW Hypothesis testing starts with a null hypothesis and a null distribution. We compare what we have to the null distribution, if the result is too extreme to belong to the null distribution (p

More information

STAT 115:Experimental Designs

STAT 115:Experimental Designs STAT 115:Experimental Designs Josefina V. Almeda 2013 Multisample inference: Analysis of Variance 1 Learning Objectives 1. Describe Analysis of Variance (ANOVA) 2. Explain the Rationale of ANOVA 3. Compare

More information

Review of the General Linear Model

Review of the General Linear Model Review of the General Linear Model EPSY 905: Multivariate Analysis Online Lecture #2 Learning Objectives Types of distributions: Ø Conditional distributions The General Linear Model Ø Regression Ø Analysis

More information

N J SS W /df W N - 1

N 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 information

Lab 11. Multilevel Models. Description of Data

Lab 11. Multilevel Models. Description of Data Lab 11 Multilevel Models Henian Chen, M.D., Ph.D. Description of Data MULTILEVEL.TXT is clustered data for 386 women distributed across 40 groups. ID: 386 women, id from 1 to 386, individual level (level

More information

BIOMETRICS INFORMATION

BIOMETRICS INFORMATION BIOMETRICS INFORMATION Index of Pamphlet Topics (for pamphlets #1 to #60) as of December, 2000 Adjusted R-square ANCOVA: Analysis of Covariance 13: ANCOVA: Analysis of Covariance ANOVA: Analysis of Variance

More information

STA 303 H1S / 1002 HS Winter 2011 Test March 7, ab 1cde 2abcde 2fghij 3

STA 303 H1S / 1002 HS Winter 2011 Test March 7, ab 1cde 2abcde 2fghij 3 STA 303 H1S / 1002 HS Winter 2011 Test March 7, 2011 LAST NAME: FIRST NAME: STUDENT NUMBER: ENROLLED IN: (circle one) STA 303 STA 1002 INSTRUCTIONS: Time: 90 minutes Aids allowed: calculator. Some formulae

More information

STAT 135 Lab 11 Tests for Categorical Data (Fisher s Exact test, χ 2 tests for Homogeneity and Independence) and Linear Regression

STAT 135 Lab 11 Tests for Categorical Data (Fisher s Exact test, χ 2 tests for Homogeneity and Independence) and Linear Regression STAT 135 Lab 11 Tests for Categorical Data (Fisher s Exact test, χ 2 tests for Homogeneity and Independence) and Linear Regression Rebecca Barter April 20, 2015 Fisher s Exact Test Fisher s Exact Test

More information

Longitudinal Data Analysis of Health Outcomes

Longitudinal Data Analysis of Health Outcomes Longitudinal Data Analysis of Health Outcomes Longitudinal Data Analysis Workshop Running Example: Days 2 and 3 University of Georgia: Institute for Interdisciplinary Research in Education and Human Development

More information

4:3 LEC - PLANNED COMPARISONS AND REGRESSION ANALYSES

4: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 information

Difference in two or more average scores in different groups

Difference 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 information

POWER ANALYSIS TO DETERMINE THE IMPORTANCE OF COVARIANCE STRUCTURE CHOICE IN MIXED MODEL REPEATED MEASURES ANOVA

POWER ANALYSIS TO DETERMINE THE IMPORTANCE OF COVARIANCE STRUCTURE CHOICE IN MIXED MODEL REPEATED MEASURES ANOVA POWER ANALYSIS TO DETERMINE THE IMPORTANCE OF COVARIANCE STRUCTURE CHOICE IN MIXED MODEL REPEATED MEASURES ANOVA A Thesis Submitted to the Graduate Faculty of the North Dakota State University of Agriculture

More information

Lecture 2: Linear Models. Bruce Walsh lecture notes Seattle SISG -Mixed Model Course version 23 June 2011

Lecture 2: Linear Models. Bruce Walsh lecture notes Seattle SISG -Mixed Model Course version 23 June 2011 Lecture 2: Linear Models Bruce Walsh lecture notes Seattle SISG -Mixed Model Course version 23 June 2011 1 Quick Review of the Major Points The general linear model can be written as y = X! + e y = vector

More information

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

Two-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 information

Analysis of variance

Analysis of variance Analysis of variance 1 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

More information

Prepared by: Prof. Dr Bahaman Abu Samah Department of Professional Development and Continuing Education Faculty of Educational Studies Universiti

Prepared by: Prof. Dr Bahaman Abu Samah Department of Professional Development and Continuing Education Faculty of Educational Studies Universiti Prepared by: Prof. Dr Bahaman Abu Samah Department of Professional Development and Continuing Education Faculty of Educational Studies Universiti Putra Malaysia Serdang Use in experiment, quasi-experiment

More information

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

Allow the investigation of the effects of a number of variables on some response Lecture 12 Topic 9: Factorial treatment structures (Part I) Factorial experiments Allow the investigation of the effects of a number of variables on some response in a highly efficient manner, and in a

More information

Lecture 7 Randomized Complete Block Design (RCBD) [ST&D sections (except 9.6) and section 15.8]

Lecture 7 Randomized Complete Block Design (RCBD) [ST&D sections (except 9.6) and section 15.8] Lecture 7 Randomized Complete Block Design () [ST&D sections 9.1 9.7 (except 9.6) and section 15.8] The Completely Randomized Design () 1. It is assumed that all experimental units (EU's) are uniform..

More information

LISA Short Course Series Generalized Linear Models (GLMs) & Categorical Data Analysis (CDA) in R. Liang (Sally) Shan Nov. 4, 2014

LISA Short Course Series Generalized Linear Models (GLMs) & Categorical Data Analysis (CDA) in R. Liang (Sally) Shan Nov. 4, 2014 LISA Short Course Series Generalized Linear Models (GLMs) & Categorical Data Analysis (CDA) in R Liang (Sally) Shan Nov. 4, 2014 L Laboratory for Interdisciplinary Statistical Analysis LISA helps VT researchers

More information

Introduction to Crossover Trials

Introduction to Crossover Trials Introduction to Crossover Trials Stat 6500 Tutorial Project Isaac Blackhurst A crossover trial is a type of randomized control trial. It has advantages over other designed experiments because, under certain

More information

Modeling the Mean: Response Profiles v. Parametric Curves

Modeling the Mean: Response Profiles v. Parametric Curves Modeling the Mean: Response Profiles v. Parametric Curves Jamie Monogan University of Georgia Escuela de Invierno en Métodos y Análisis de Datos Universidad Católica del Uruguay Jamie Monogan (UGA) Modeling

More information

STAT 501 EXAM I NAME Spring 1999

STAT 501 EXAM I NAME Spring 1999 STAT 501 EXAM I NAME Spring 1999 Instructions: You may use only your calculator and the attached tables and formula sheet. You can detach the tables and formula sheet from the rest of this exam. Show your

More information

df=degrees of freedom = n - 1

df=degrees of freedom = n - 1 One sample t-test test of the mean Assumptions: Independent, random samples Approximately normal distribution (from intro class: σ is unknown, need to calculate and use s (sample standard deviation)) Hypotheses:

More information

22s:152 Applied Linear Regression. Chapter 8: 1-Way Analysis of Variance (ANOVA) 2-Way Analysis of Variance (ANOVA)

22s:152 Applied Linear Regression. Chapter 8: 1-Way Analysis of Variance (ANOVA) 2-Way Analysis of Variance (ANOVA) 22s:152 Applied Linear Regression Chapter 8: 1-Way Analysis of Variance (ANOVA) 2-Way Analysis of Variance (ANOVA) We now consider an analysis with only categorical predictors (i.e. all predictors are

More information