rcb and rep measures

23
Randomized Block and Randomized Block and Repeated Measures Repeated Measures Designs Designs

Upload: muhammad-naeem-iqbal

Post on 04-Nov-2015

224 views

Category:

Documents


0 download

DESCRIPTION

sc

TRANSCRIPT

  • Randomized Block and Repeated Measures Designs

  • Block DesignsIn the Types of Studies presentation we discussed the use of blocking to control for a source of variation we think may effect the response (e.g. slope in field, day, subject, etc.).When the blocks are subjects we often times refer to the experiment as a repeated measures design because we are taking repeated measurements on the same subjects.

  • Example: Measuring Blood Serum The goal of this study was to determine if 4 different methods for determining blood serum levels differ in terms of the readings they give. Suppose we plan to have 6 readings from each method which we will then use to make our comparisons. One approach we could take would be to find 24 volunteers and randomly allocate six subjects to each method and compare the readings obtained using the four methods. (Note: this is a completely randomized design).

    There is one major problem with this approach, what is it? Any significant differences between the methods could be due to differences between the subjects within the methods and NOT the methods themselves !!!

  • Example: Measuring Blood SerumInstead of using a completely randomized design it would clearly be better to use each method on the same subject,

    This removes subject to subject variation from the results and will allow us to get a clearer picture of the actual differences in the methods. Also if we truly only wish to have 6 readings for each method, this approach will only require the use of 6 subjects (i.e. blood samples) versus the 24 subjects the completely randomized approach requires, thus reducing the cost of the experiment. Also if we still used 24 subjects the number of replicates 6 24, which increases POWER and PRECISION (i.e. smaller margins of error).i.e. SUBJECTS = BLOCKS.

  • Example: Measuring Blood SerumThe design described on the previous slide is called a randomized complete block (RCB) design with subjects/blood sample as blocks.The results are shown below:

  • Example: Measuring Blood SerumAn incorrect analysis would treat these results as coming from a completely randomized design and we would compare readings across method only using one-way ANOVA.Clearly between group variation is very small relative to within group variation. Not surprisingly we fail to find method differences (p = .7871).

  • Example: Measuring Blood SerumWhat is lost in the previous analysis is that the same blood samples are being used for each method.Clearly much of the within group variation is due to subject differences! Our analysis needs to consider this source of variation as well!After removing the subject to subject variation the differences between the methods look like this. Clearly the methods differ!

  • Model and AssumptionsThe model for the observed response is given by:

    We assume that the errors are normally distributed with constant variance.

    This implies that the populations being sampled are also normally distributed with equal variances!

  • HypothesesHo: treatment means are all equalHA: at least two treatment means differ For the blood serum level example we can state things much more precisely Ho: the four methods give the same mean serum level when measuring the same blood samples.HA: at least two methods differ on average when measuring the same blood samples.

  • SS and MS FormulaeThe Mean Squares for Treatment, Block and Error are the SS divided by their df, i.e. MSeffect = SSeffect/dfeffect

  • Test Statistic for Treatment Effect Fop-valueLarge values of Fo support the alternative and correspond to small p-values.

  • Example: Measuring Blood SerumData Formats JMPSPSSSubject and Method must be nominal!

  • Example: Measuring Blood SerumBlocking factor goes here.Factor of interest goes here.In JMP - Analyze > Fit Y by X

  • Example: Measuring Blood SerumANOVA Table

    SSTreat+ SSBlock+ SSError= SSTotalMSTreatMSError= FoThe methods significantly differ when testing the same blood sample (p < .0001).Dont test blocks because they are not randomized.Subject to subject variation is LARGE! Blocking was effective!!

  • Example: Measuring Blood SerumUse Tukeys for Pair-wise Comparisons of the Methods Compare Means > All Pairs, Tukeys HSD

    Methods 2 and 4 differ significantly from methods 1 and 3. Also methods 2 and 4 do not significantly differ nor do methods 1 and 3.These intervals can be used to quantify differences between the methods when measuring the same blood sample.

  • Example: Measuring Blood SerumFactors of interest go here.In JMP - Fit Model Approach (we will use this lots later)Make sure these boxes are as shown. We will change them later when we consider multiple and logistic regression.ResponseFor a JMP demo of this and the previous approaches click here.

  • Example: Measuring Blood SerumSPSS: Analyze > General Linear Model > Univariate

    Dependent Variable Serum LevelFixed Factors: Subject (blocks) Method (factor of interest) Click here to specify the model

    Click Custom and add both Subject and Method to be in the model.Click here to specify Tukey comparisons of the different Methods.

  • Repeated Measures AnalysisThe previous example can also be thought of as a repeated measures design because repeated measurements of the same blood sample were taken, each coming using a different method. Another example would be a situation where different treatments are used on the same subjects, obviously this is not always possible. Yet another common situation is where the repeated measurements are taken over time.

  • Example 2: ESR for Arthritic PatientsIn a study of arthritic patients their response to sulfasalazine was investigated. The erythocyte sedimentation rate (ESR) was measured at baseline (0 months) and again 3, 6, and 12 months after treatment with sulfasalazine. Q: Is there evidence that the mean ESR changes over time? If so, researchers wish to compare mean ESR for the three follow-up periods to baseline.

  • Example 2: ESR for Arthritic Patients

  • Example 2: ESR for Arthritic PatientsThe mean ESR is significantly lower than baseline for all three follow-up periods.

  • Example 2: ESR for Arthritic PatientsThere is no evidence that the mean ESRs past baseline significantly differ.Use these Tukey intervals to quantify changes in mean ESR from baseline.

  • Example 2: ESR for Arthritic Patients The response ESR appears to be normally distributed for each time period. The equality of variance tests do not suggest that the variation in the ESRs differ over time (p > .10).