Randomized Block Design (Kirk, chapter 7) BUSI 6480 Lecture 6.

Slides:



Advertisements
Similar presentations
Randomized Complete Block and Repeated Measures (Each Subject Receives Each Treatment) Designs KNNL – Chapters 21,
Advertisements

ANALYSIS OF VARIANCE (ONE WAY)
Topic 12: Multiple Linear Regression
A. The Basic Principle We consider the multivariate extension of multiple linear regression – modeling the relationship between m responses Y 1,…,Y m and.
Independent t -test Features: One Independent Variable Two Groups, or Levels of the Independent Variable Independent Samples (Between-Groups): the two.
Other Analysis of Variance Designs Chapter 15. Chapter Topics Basic Experimental Design Concepts  Defining Experimental Design  Controlling Nuisance.
Analysis of variance (ANOVA)-the General Linear Model (GLM)
1 Multifactor ANOVA. 2 What We Will Learn Two-factor ANOVA K ij =1 Two-factor ANOVA K ij =1 –Interaction –Tukey’s with multiple comparisons –Concept of.
Experimental Design Terminology  An Experimental Unit is the entity on which measurement or an observation is made. For example, subjects are experimental.
Text Exercise 5.20 (a) (b) 1 for man-made shade X 1 = 0 otherwise Y =  0 +  1 X 1 +  2 X 2 +  or E(Y) =  0 +  1 X 1 +  2 X 2 Do this by first defining.
Lecture 9: One Way ANOVA Between Subjects
Incomplete Block Designs
1 1 Slide © 2003 South-Western/Thomson Learning™ Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Analysis of Variance & Multivariate Analysis of Variance
Repeated Measures ANOVA Used when the research design contains one factor on which participants are measured more than twice (dependent, or within- groups.
Two-Way Analysis of Variance STAT E-150 Statistical Methods.
Example of Simple and Multiple Regression
Statistics for the Social Sciences Psychology 340 Fall 2013 Thursday, November 21 Review for Exam #4.
ANCOVA Lecture 9 Andrew Ainsworth. What is ANCOVA?
Introduction to SAS Essentials Mastering SAS for Data Analytics
Topic 28: Unequal Replication in Two-Way ANOVA. Outline Two-way ANOVA with unequal numbers of observations in the cells –Data and model –Regression approach.
1 Experimental Statistics - week 7 Chapter 15: Factorial Models (15.5) Chapter 17: Random Effects Models.
1 Experimental Statistics - week 6 Chapter 15: Randomized Complete Block Design (15.3) Factorial Models (15.5)
Analysis of Covariance ANOVA is a class of statistics developed to evaluate controlled experiments. Experimental control, random selection of subjects,
1 1 Slide © 2005 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS St. Edward’s University Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
1 1 Slide © 2007 Thomson South-Western. All Rights Reserved OPIM 303-Lecture #9 Jose M. Cruz Assistant Professor.
1 1 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
1 1 Slide Multiple Regression n Multiple Regression Model n Least Squares Method n Multiple Coefficient of Determination n Model Assumptions n Testing.
1 1 Slide © 2004 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS St. Edward’s University Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
23-1 Analysis of Covariance (Chapter 16) A procedure for comparing treatment means that incorporates information on a quantitative explanatory variable,
1 Experimental Statistics - week 10 Chapter 11: Linear Regression and Correlation Note: Homework Due Thursday.
Psychology 301 Chapters & Differences Between Two Means Introduction to Analysis of Variance Multiple Comparisons.
Rater Reliability How Good is Your Coding?. Why Estimate Reliability? Quality of your data Number of coders or raters needed Reviewers/Grant Applications.
 Slide 1 Two-Way Independent ANOVA (GLM 3) Chapter 13.
Chapter 10: Analyzing Experimental Data Inferential statistics are used to determine whether the independent variable had an effect on the dependent variance.
Chapter 4 Linear Regression 1. Introduction Managerial decisions are often based on the relationship between two or more variables. For example, after.
The Completely Randomized Design (§8.3)
BUSI 6480 Lecture 8 Repeated Measures.
Chapter 13 Multiple Regression
ANOVA: Analysis of Variance.
Analysis of Variance (One Factor). ANOVA Analysis of Variance Tests whether differences exist among population means categorized by only one factor or.
1 Experimental Statistics - week 14 Multiple Regression – miscellaneous topics.
Topic 30: Random Effects. Outline One-way random effects model –Data –Model –Inference.
Latin Squares (Kirk, chapter 8) BUSI 6480 Lecture 7.
PSYC 3030 Review Session April 19, Housekeeping Exam: –April 26, 2004 (Monday) –RN 203 –Use pencil, bring calculator & eraser –Make use of your.
Multiple Regression. Simple Regression in detail Y i = β o + β 1 x i + ε i Where Y => Dependent variable X => Independent variable β o => Model parameter.
1 1 Slide © 2003 South-Western/Thomson Learning™ Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Text Exercise 12.2 (a) (b) (c) Construct the completed ANOVA table below. Answer this part by indicating what the f test statistic value is, what the appropriate.
1 Experimental Statistics - week 9 Chapter 17: Models with Random Effects Chapter 18: Repeated Measures.
Chapter 11 Analysis of Variance. 11.1: The Completely Randomized Design: One-Way Analysis of Variance vocabulary –completely randomized –groups –factors.
1 Experimental Statistics Spring week 6 Chapter 15: Factorial Models (15.5)
One-Way Analysis of Variance Recapitulation Recapitulation 1. Comparing differences among three or more subsamples requires a different statistical test.
CRD, Strength of Association, Effect Size, Power, and Sample Size Calculations BUSI 6480 Lecture 4.
1 Experimental Statistics - week 13 Multiple Regression Miscellaneous Topics.
Experimental Statistics - week 9
Topic 27: Strategies of Analysis. Outline Strategy for analysis of two-way studies –Interaction is not significant –Interaction is significant What if.
Formula for Linear Regression y = bx + a Y variable plotted on vertical axis. X variable plotted on horizontal axis. Slope or the change in y for every.
ANOVA and Multiple Comparison Tests
1 Experimental Statistics - week 8 Chapter 17: Mixed Models Chapter 18: Repeated Measures.
Chapter 14 Introduction to Multiple Regression
i) Two way ANOVA without replication
Chapter 13 Created by Bethany Stubbe and Stephan Kogitz.
Other Analysis of Variance Designs
Reasoning in Psychology Using Statistics
Randomized Complete Block and Repeated Measures (Each Subject Receives Each Treatment) Designs KNNL – Chapters 21,
Reasoning in Psychology Using Statistics
Reasoning in Psychology Using Statistics
Chapter Fourteen McGraw-Hill/Irwin
Exercise 1 Use Transform  Compute variable to calculate weight lost by each person Calculate the overall mean weight lost Calculate the means and standard.
Presentation transcript:

Randomized Block Design (Kirk, chapter 7) BUSI 6480 Lecture 6

A blocking strategy rather than independent samples is what makes the difference. Blocking can obtain a more precise test for examining differences in the factor level means. A block is a factor in which we are not primarily interested. Difference between Randomized Block Design and Completely Randomized Design

Nuisance Variation can be Accounted for in Blocks  A block may contain p matched subjects  A block may contain a single subject that is observed p times (alternatively called repeated measures design).  A design with repeated measurements in which the order of administration of the treatment levels is the same for all subjects is a subject-by-trials design.

Experimental Design Model RB-p  Y ij =  +  j +  i +  ij  Where  j is the main treatment effect and  i is the block effect. Grand Mean Treatment Effect Block Effect Residual Effect The term MSWG for a CRD model is replaced by the term MSRES for a RB model. No nesting of subject within treatment.

Relative Efficiency of Randomized Block Design  RE = MSWG (from CRD) / MSRES (from RB) MSWG can be computed from a RB model by using the following formula. MSWG = ((n-1)MSBL +n(p-1)MSRES)/(np-1)

Larger RE Implies Smaller Sample Size Is Necessary In RB Model.  The n j number of subjects in each treatment level of a CRD necessary to match the efficiency of a randomized block design is n j = RE * n (where n is from RB model)

Partial Omega Squared and Partial Intraclass Correlation The “.” denotes the association between the dependent variable, Y, and the treatment A with the effects of blocks ignored. A similar equation holds for Y|BL.A where alpha is replaced by .

Computational Formulas for Omega Squared and 

Computations for the Treatment Variability and Block Variability Fixed Effects EstimatesRandom Effects Estimates Notice similarities!

Between Subjects and Within Subjects Design

Randomized Block Design Treatment means test Block means test

The personnel director at Blackburn Industries is investigating dental claims submitted by married employees having at least one child. Of interest is whether the average annual dollar amounts of dental work claimed by the husband, by the wife, and per child are the same. Data were collected by randomly selected 15 families and recording these three dollar amounts (total claims for the year by the husband, by the wife, and per child). RB Design Example: Dental Claims by Husband, Wife, Per Child Equal?

The Randomized Block Design

Main Treatment Test – Hypothesis Same as in CRD Can Dental Claim data be analyzed using CRD? No, since dependency exists between husband, wife, and child, CRD cannot be used. Note that the error degrees of freedom is smaller for a RB design than for a CRD.

The df for the factor are = 2, for blocks are = 15, and for total are = 47, leaving = 30 df for error. Note that df error = (df factor)*(df blocks) Df Error for RB

In a completely randomized design, the Blocks SS and the SSE would be combined into the SSE. One F test is for the factor and the other is for the blocks. RB Design Splits Error Sum of Squares in CRD

To test H 0 :  H =  W =  C, we use F 1 = Since > F.05, 2, 30 = 3.32, we reject H 0 and conclude that the three average claim amounts are not equal. By observing the sample means, we notice that the claims per child are considerably higher than those for the husband and wife. As a final note, the block (family) effect is not significant here, since F 2 = 1.50 < F.05, 15, 30 = Decision for RB Design Example

Example: Completely Randomized Design with p = 3 Treatments Recall that a completely randomized design to compare p treatments is one in which the treatments are randomly assigned to the experimental units.

Treatments (Liquids) CAB ACB BCA ABC ACB A randomized block design to compare 3 treatments involving 5 blocks, each containing 3 relatively homogeneous experimental units. The 3 treatments are randomly assigned to the experimental units within each block, with one experimental unit assigned per treatment. Changing CRD into a RB Design Blocks (Runners)

The Regression Model for CRD Example y = $ 0 + $ 1 x 1 + $ 2 x 2 +, Where: Interpretation of dummy variable coefficients: : A = $ 0 + $ 1 : B = $ 0 + $ 2 : C = $ 0

The Regression Model for RB Design

Data on Page 260 of Kirk can be typed in Excel and used for an RB Design. Use both SAS and SPSS and compare. HW6: Analyze Data on Page 260 of Kirk

HW6: Put Data on Kirk Page 260 In Long Format & Use Random Factor for Block  In SPSS, data must be in the following format. (SAS can put data in this format for SPSS). Put variables in the Univarate GLM dialog box.

Click on Model in SPSS and Click on Custom. Do not include an intercept term in the model. HW6: Select only Main Effects

Be sure to click “Add” in SPSS Dialog Box. HW6: Create Plot of Treatment Versus Subjects

Click on the Post Hoc Option and Selecting the Main Treatment and Checking Tukey box. Multiple comparison procedures can only be performed on fixed effect factors. HW6: Perform the Tukey test

HW6: In SAS, First Import Data from Excel.  DM "Log;Clear;OUT;Clear;" ;  options pageno=min nodate formdlim='-';  title 'Randomized block analysis';  PROC IMPORT OUT= mydata  DATAFILE= “D:\RB Data KirkP260.xls”  DBMS=EXCEL2000 REPLACE;  RANGE="Sheet1$";  GETNAMES=Yes;  RUN;

HW6: Data Need To Be Put in Column Format for Proc Glm.  Data mydata;  set mydata;  s = _N_;  Data Treat1;  set mydata;  resp = a1;  TreatLevel = 1;  Data Treat2;  set mydata;  resp = a2;  TreatLevel = 2; Data Treat3; set mydata; resp = a3; TreatLevel = 3; Data Treat4; set mydata; resp = a4; TreatLevel = 4; Data myAnovaData; Set Treat1 Treat2 Treat3 Treat4;

HW6: Note that Colum s and Level are Created  Obs s resp Level             

HW6: To Export Column Format Data use the Proc Export Command. This exported data set can be used in SPSS.  proc export data=myAnovaData outfile='D:\MyAnovaDatainColformat.xls' dbms=Excel97 replace;  Run;  Don’t forget to end your SAS program with “quit;”

Use Proc GLM for RB ANOVA  proc glm data = myAnovaData;  class TreatLevel s;  model resp = TreatLevel s;  random s;  means TreatLevel / Tukey;  output out=rb4out2 predicted=p rstudent=r ;  run; Get Tukey Comparisons, and out file with predicted and residuals.

In the SAS Output, Expected Mean Squares Are Displayed  Randomized block analysis  The GLM Procedure  Source Type III Expected Mean Square  TreatLevel Var(Error) + Q(TreatLevel)  s Var(Error) + 4 Var(s)

Get Plot of Residual and Predicted Values and Interpret.  symbol1 v=circle;  proc gplot data=rb4out2;  plot r*p;  run;

Use Original Data Set to Run Multivariate ANOVA (MANOVA)  proc glm data=mydata;  model a1 a2 a3 a4 = / nouni;  repeated s;  run;  This procedure will also give Huynh/Feldt (H-F) test and Geisser-Greenhouse (G-G) test as discussed on pages Test for a difference among Treatment levels.

Get Power With Proc GlmPower Procedure  proc glmpower data = myAnovaData;  class TreatLevel s;  model resp = TreatLevel s;  Power Alpha =.01  stddev =  ntotal = 32  power =.;  run; The means of the data set must be in the input file for each level combination. For a RB model, each observation is a mean for a level combination since there is only one observation per cell.

HW6: Using the data on Page 260, determine the efficiency of the RB design versus the CR design.  How many subjects would be required in a completely randomized design to match the efficiency of the randomized block design? Efficiency of RB Design

For the RB design with the data on Page 260, compute and interpret the value of What is the noncentrality parameter for finding the power of the test for the main treatment? Use alpha =.05 and use the Charts in the back of the textbook. Omega Square and Intraclass Correlation

Different Ways of Running Experimental Designs in SAS