Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1. You will need your ticker code (show your ticker code on your homework and in

ID: 3360611 • Letter: 1

Question

1. You will need your ticker code (show your ticker code on your homework and include a printout of the data!) for stock prices for this question. Use your ticker code to obtain the closing prices for the following three time periods to obtain three data sets:

March 2, 2016 to March 16, 2016

Data set A: .03, .02, .02, .02, .02, .02, .02, .00

March 17, 2016 to March 31, 2016

Data set B: .03, .03, .01, .03, .01, .01, .01, .02

April 1, 2016 to April 17, 2016

Data set C: .02, .02, .02, .02, .02, .05

Imagine you are testing for the effects of two experimental drugs (data sets B and C) relative to a control group (Data set A) on a physiological variable.

a)Conduct an ANOVA on the data set. Show all calculations, table of results, and state your conclusion.

b)Use the Bonferroni-Holm (regardless of whether part “a” is significant or not) to examine all pairwise comparisons. Show all you calculations and state your conclusions.

Explanation / Answer

following information has been generated using ms-excel

we use one-way anova with

null hypothesis H0:mean(A)=mean(B)=mean(C)

alternate hypothesis H1: atleast one differ from another

here p-value of F of between set is more than alpha=0.05, so we fail to reject H0.

(b) here we have there are 3-pair of comparison=n=3C2

least significant difference =lsd=sqrt(mse*(1/r1+1/r2)*t(alpha/3,error df)

bonferroni procedure of calculation of least significant difference

lsd for A and B=sqrt(0.0001*(1/8+1/8))*t(0.05/3,19)=sqrt(0.0001*(1/8+1/8))*2.63=0.0132

lsd for A and C=sqrt(0.0001*(1/8+1/6))*t(0.05/3,19)=sqrt(0.0001*(1/8+1/6))*2.63=0.0142

( difference=0.025-0.01875=0.00625)

lsd for B and C=sqrt(0.0001*(1/8+1/8))*t(0.05/3,19)=sqrt(0.0001*(1/8+1/8))*2.63=0.0132

( difference=0.025-0.01875=0.00625)

since non of the difference is more than the corresponding lsd, so no pair is significantly different to one another

SetA SetB SetC Anova: Single Factor 0.03 0.03 0.02 0.02 0.03 0.02 SUMMARY 0.02 0.01 0.02 Groups Count Sum Average Variance 0.02 0.03 0.02 Column 1 8 0.15 0.01875 6.96E-05 0.02 0.01 0.02 Column 2 8 0.15 0.01875 9.82E-05 0.02 0.01 0.05 Column 3 6 0.15 0.025 0.00015 0.02 0.01 0 0.02 ANOVA Source of Variation SS df MS F P-value F crit Between Groups 0.00017 2 8.52E-05 0.841204 0.446631 3.521893 Within Groups 0.001925 19 0.000101 Total 0.002095 21