Question
Please provide SAS code with answers Part II Dataset trt pre post A 11 6 A 9 1 A 5 2 A 14 8 A
Please provide SAS code with answers
Part II Dataset
trt pre post
A 11 6
A 9 1
A 5 2
A 14 8
A 19 11
A 6 4
A 10 13
A 6 1
A 11 8
A 3 0
B 6 0
B 6 2
B 7 3
B 8 1
B 18 18
B 8 4
B 19 14
B 8 9
B 5 1
B 15 9
C 16 13
C 13 10
C 11 18
C 9 5
C 21 23
C 16 12
C 12 5
C 12 16
C 7 1
C 12 20
Part II.Anexperimentwasconductedtostudytheeffectof3drugsinthetreatment ofleprosy.Thethreedrugsincludetwoantibiotics(AandB)andacontrol(C).Ten patientswereselectedforeachtreatment (Drug).Apretreatmentscoreandaposttreat-mentscoreofleprosybacilliweremeasuredforeachpatient.Thegoalistodetermine theeffectofdrugtreatmentsontheposttreatmentcountofbacilli.(data:leprosy.txt).
1.Ignoringthepretreatmentscore,useANOVAtotestwhetherthe3treat-mentsdiffersignificantly. Specifyyourhypothesis,teststatisticsanditsvalue, p-valueandconclusion.Iftheyarenotthesame,useTukey'smethodtoexplore thepairwisedifference.
2.Writedownthefittedmodelin(1),clarifyyournotations, andexplaintheestimatedvaluesinthemodel.
3.Fitanappropriatemodelandconducthypothesistestingtocheckthelinear relationshipbetweenposttreatmentandpretreatmentscores. Doweneedtouse pretreatmentscoreasacovariate?[Specifyyourmodel,hypothesis,teststatistics anditsvalue,p-valueandconclusion]
4.Conductahypothesistesttocheckwhetherthereisasignificantinteraction betweentreatmentandpretreatmentscores.Specifyyourmodel,hypothesis,test statisticsanditsvalue,p-valueandconclusion.
5.StateanANCOVAmodelthatcanbeusedtocomparethethreetreatments, controllingforthepretreatmentscore.Clarifyyournotations.
6.ConductanANCOVAtotestwhetherthe3treatmentsdiffer significantly, controllingforthepretreatment score.Specifyyourhypothesis,teststatistics, pvalueandconclusion.Iftheyarenotallthesame,useTukey's methodtosimultaneouslycompareallpossiblepairsoftreatmentsanddrawyour conclusion.
7.Comparetheresultsinquestions1and6andinterpretwhy theresultsdiffer.Whichcorrectlydescribestheeffectsofthe3treatments?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started