exercise 1 you have a clinical study in which 10 patients will either get the standard treatment or...

4
Exercise 1 You have a clinical study in which 10 patients will either get the standard treatment or a new treatment Randomize which 5 of the 10 get the new treatment so that all possible combinations can result. Use Excel or R or another formal randomization method. Instead, randomize so that in each pair of patients entered by date, one has the standard and one the new treatment (blocked randomization). What are the advantages of each method? Why is randomization important? April 2, 2013 SPH 247 Statistical Analysis of Laboratory Data 1

Upload: suzan-norman

Post on 18-Jan-2018

216 views

Category:

Documents


0 download

DESCRIPTION

Data Sources The coop data is from the MASS library (Modern Applied Statistics in S) The folate data and the enalaprilat data are from ISwR (Introductory Statistics with R) Estradiol data are from Rosner Fasting blood glucose from Andrews and Herzberg, Data, with the data on Statlib at April 2, 2013SPH 247 Statistical Analysis of Laboratory Data3

TRANSCRIPT

Page 1: Exercise 1 You have a clinical study in which 10 patients will either get the standard treatment or a new treatment Randomize which 5 of the 10 get the

SPH 247 Statistical Analysis of Laboratory Data 1

Exercise 1You have a clinical study in which 10

patients will either get the standard treatment or a new treatmentRandomize which 5 of the 10 get the new

treatment so that all possible combinations can result. Use Excel or R or another formal randomization method.

Instead, randomize so that in each pair of patients entered by date, one has the standard and one the new treatment (blocked randomization).

What are the advantages of each method?Why is randomization important?

April 2, 2013

Page 2: Exercise 1 You have a clinical study in which 10 patients will either get the standard treatment or a new treatment Randomize which 5 of the 10 get the

SPH 247 Statistical Analysis of Laboratory Data 2

Exercise 2Analyze the testosterone levels from Rosner’s

endocrin data set in the same way as we did for the estradiol levels, using anova(lm())

Reanalyze estradiol and testosterone using lme() and verify that the results are the same. Here is the specificationlme(Testosterone ~ 1, random = ~1 | Subject,data=endocrin)

Repeat the analysis of the coop data for specimens 2 and 5 separately. Do the analysis both with the traditional ANOVA tables using lm() and with lme() and compare the results

April 2, 2013

Page 3: Exercise 1 You have a clinical study in which 10 patients will either get the standard treatment or a new treatment Randomize which 5 of the 10 get the

SPH 247 Statistical Analysis of Laboratory Data 3

Data SourcesThe coop data is from the MASS library

(Modern Applied Statistics in S)The folate data and the enalaprilat data are

from ISwR (Introductory Statistics with R)Estradiol data are from RosnerFasting blood glucose from Andrews and

Herzberg, Data, with the data on Statlib athttp://lib.stat.cmu.edu/datasets/Andrews/

April 2, 2013

Page 4: Exercise 1 You have a clinical study in which 10 patients will either get the standard treatment or a new treatment Randomize which 5 of the 10 get the

SPH 247 Statistical Analysis of Laboratory Data 4

Course Websitehttp://dmrocke.ucdavis.edu

April 2, 2013