Qt Karthik S Assignment Annova

Preview:

Citation preview

UNIVERSITY OF MADRAS

DEPARTMENT OF MANAGEMENT STUDIES

QUANTITATIVE TECHNIQUESASSIGNMENT

Staff

Dr. J. Khaja Sheriff, Ph.D (Assistant Professor)

By

Karthik.S

Roll No.:22

Register Number:32312033

First Year, MBA (REGULAR),

DOMS,

UNOM

Page 1 of 14

1. A pool of participants was randomly divided into FIVE treatment groups. The groups were administered daily doses of vitamin C over a 12-month period. The data in the table represents the number of cold and flu viruses reported by the participant as a function of their vitamin C dosage. Using α = .05, analyze the data using the correct statistical procedure.

0mg 250mg 500mg 1000mg 2000mg

6 3 3 4 1

5 4 3 1 0

3 5 4 0 2

2 4 2 3 1

ΣX1 = 16 ΣX2 = 16 ΣX3 = 12 ΣX4 = 8 ΣX5 = 4

ΣX12 = 74 ΣX2

2 = 66 ΣX3

2 = 38 ΣX42 = 26 ΣX5

2 = 6

ΣXTOT = 56

ΣXTOT2 = 210

What kind of an ANOVA will you need to conduct?

One-way ANOVA

STEP 1: State the null and alternative hypotheses.

Ho : The means are the same for each condition

H1 : At least one of these group means is different from another

STEP 2: Set up the criteria for making a decision about your null hypothesis.

Page 2 of 14

dfbetween = K – 1 = 5 – 1 = 4

dfwi/error = N – K = 20-5 = 15

so Fcrit = 3.06

STEP 3: Summarize the data into the appropriate tests statistic.

SStot = 210 – (562/20) = 53.2

SSwithin/error = (74 – [162/4]) + (66 – [162/4]) + (38 – [122/4]) + (26 – [82/4]) + (6 – [42/4]) = 10+2+2+10+2 = 26

SSbetween/group = ([162/4] + [162/4] + [122/4] + [82/4] + [42/4]) - (562/20) = (64+64+36+16+4)-156.8 = 27.2

MSbetween/group = 27.2/4 = 6.8

MSwithin/error = 26/15 = 1.73

F = 6.8/1.73 = 3.93

STEP 4: Evaluate the null hypothesis: Reject for Fail to Reject?

STEP 5: If appropriate, use a Tukey HSD post-test to determine which means are different from one another.

HSD = 4.37 (SQRT [1.73/4]) = 2.87

Page 3 of 14

Mean1 = 4; Mean2 = 4; Mean3 = 3; Mean4 = 2; Mean5 = 1 …so,

Mean1 – Mean2 = 4 – 4 = 0

Mean1 – Mean3 = 4 – 3 = 1

Mean1 – Mean4 = 4 – 2 = 2

Mean1 – Mean5 = 4 – 1 = 3*** significant difference

Mean2 – Mean3 = 4 – 3 = 1

Mean2 – Mean4 = 4 – 2 = 2

Mean2 – Mean5 = 4 – 1 = 3*** Significant difference

Mean3 – Mean4 = 3 – 2 = 1

Mean3 – Mean5 = 3 – 1 = 2

Mean4 – Mean5 = 2 – 1 = 1

STEP 6: Calculate and interpret Eta-Squared.

η2 = 27.2/53.2 = .51

51% of the overall variability in our experiment is due to the fact that we have different groups.

2. Given the below information, find Fcrit for a One-Way ANOVA:

A) α = .01, dfbetween/group = 7, dfwithin/error = 60 __2.95____

B) α = .01, dfbetween/group = 4, dfwithin/error = 30 __4.02____

C) α = .05, dfbetween/group = 5, dfwithin/error = 100 __2.30____

Page 4 of 14

D) α = .05, dfbetween/group = 3, dfwithin/error = 24 __3.01____

3. Complete the One-Way ANOVA summary table (you do NOT need raw data to do this).

Source SS df MS F

Between (group) 80 2 40 23.95

Within/Error 20 12 1.67

Total 100 14

4. A new treatment meant to help those with chronic arthritis pain was developed and tested for its long-tern effectiveness. Participants in the experiment rated their level of pain on a 0 (no pain) to 9 (extreme pain) scale at three-month intervals. Was the treatment effective? α = .05.

Participant Before 3mo 6mo 9mo

1 8 7 6 6Σp1 = 27

2 6 5 5 4Σp2 = 20

3 7 6 6 5Σp3 = 24

4 5 5 4 4Σp4 = 18

ΣX1 = 26 ΣX2 = 23 ΣX3 = 21 ΣX4 = 19ΣpTOT = 89

Page 5 of 14

ΣX12 = 174 ΣX2

2 = 135 ΣX3

2 = 113 ΣX42 = 93

ΣXTOT = 89

ΣXTOT2 = 515

What kind of an ANOVA will you need to conduct?

Repeated-measures ANOVA

STEP 1: State the null and alternative hypotheses.

Ho : The means are the same for each condition

H1 : At least one of these group means is different from another

OR people experienced less pain after receiving at least one of these doses compared to at least one other dose.

STEP 2: Set up the criteria for making a decision about your null hypothesis.

dfbetween = K – 1 = 4 – 1 = 3

dferror = (k-1)(s-1) = 3*3 = 9

so Fcrit = 3.86

STEP 3: Summarize the data into the appropriate tests statistic.

Page 6 of 14

SStot = 515 – (892/16) = 19.94

SSbetween/group = ([262/4] + [232/4] + [212/4] + [192/4]) - (892/16) = (169+132.25+110.25+90.25)-495.06 = 6.69

SSwithin/error = (174 – [262/4]) + (135 – [232/4]) + (113 – [212/4]) + (93 – [192/4]) = 5+2.75+2.75+2.75 = 13.25

SSsubjects/within pure = (272/4 + 202/4 + 242/4 + 182/4) – (892/16) = (182.25+100+144+81) – 495.06 = 12.19

SSerror = SSwithin/error - SSsubjects/within pure = 13.25-12.19 = 1.06

MSbetween/group = 6.69/3 = 2.23

MSerror = 1.06/9 = .118

F = 2.23/.118 = 18.90

STEP 4: Evaluate the null hypothesis: Reject for Fail to Reject?

Interpret your decision. That is, what do you conclude from this experiment.

The dosage did affect the amount of pain participant felt.

If you wanted, could you conduct a post-hoc test on this data?

Page 7 of 14

YES

5. Neuroscience researchers examined the impact of environment on rat development. Rats were randomly assigned to be raised in one of the four following test conditions: Impoverished (wire mesh cage - housed alone), standard (cage with other rats), enriched (cage with other rats and toys), super enriched (cage with rats and toys changes on a periodic basis). After two months, the rats were tested on a variety of learning measures (including the number of trials to learn a maze to a three perfect trial criteria), and several neurological measure (overall cortical weight, degree of dendritic branching, etc.). The data for the maze task is below. Compute the appropriate test for the data provided below.

Impoverished Standard Enriched Super Enriched22 17 12 819 21 14 715 15 11 1024 12 9 918 19 15 12

Source SS df MS FBetween 323.35 3 107.7833 12.71Within 135.6 16 8.475Total 458.95 19

1. What is your computed answer? F = 12.71 (3,16) p < .012. What would be the null hypothesis in this study? Environment will have no

impact on learning ability as operationalized by maze performance in rats.3. What would be the alternate hypothesis? Environment will have an impact on

learning ability as operationalized by maze performance in rats.4. What is your Fcrit? Fcrit = 5.295. Are there any significant differences between the four testing conditions? Yes -

There is no significant difference between the impoverished group and the standard group (Fcomp = 2.32 and qobs= 2.15, n.s.). There is a significant difference between the impoverished group and both the enriched and supenriched group (Fcomp = 16.15 and qobs= 5.68, p < .01) and Fcomp = 31.90 and qobs= 7.98, p < .01), respectively). There is no significant difference between the standard group and the enriched group (Fcomp = 6.24 and qobs= 3.53, n.s.). There is a significant difference between the standard group and the supenriched group (Fcomp = 17.03 and qobs= 5.83, p < .05). There is no

Page 8 of 14

significant difference between the enriched group and the superenriched group (Fcomp = 2.65 and qobs= 2.30, p < .05)).

6. Interpret your answer. Environment may have an impact on ability to learn. Differences were found between groups when each group is compared to a group at least two levels above the one under study. Thus for example, there is a difference between the impoverished and the enriched and superenriched but not between the impoverished and the standard groups.

6. A researcher is concerned about the level of knowledge possessed by university students regarding United States history. Students completed a high school senior level standardized U.S. history exam. Major for students was also recorded. Data in terms of percent correct is recorded below for 32 students. Compute the appropriate test for the data provided below.

Education Business/Management Behavioral/Social Science Fine Arts62 72 42 8081 49 52 5775 63 31 8758 68 80 6467 39 22 2848 79 71 2926 40 68 6236 15 76 45

Source SS df MS FBetween 63.25 3 21.0833333333 .04Within 12298.25 28 439.2232143Total 12361.5 31

1. What is your computed answer? F = .04 (3,28), not significant2. What would be the null hypothesis in this study? There will be no difference in

history test scores between students with different academic major.3. What would be the alternate hypothesis? There will be a difference somewhere

in history scores between the four groups with different academic major.4. What probability level did you choose and why? p = .05 There is little risk

involved if either a Type I or a Type II major is made.5. What were your degrees of freedom? 3, 286. Is there a significant difference between the four testing conditions? No

significant differences were found between the four groups in terms of performance on a U.S. history exam.

Page 9 of 14

7. Interpret your answer. Students regardless of academic major performed equally (in this case poorly) on a high school senior standardized U.S. history exam.

8. If you have made an error, would it be a Type I or a Type II error? Explain your answer. If I have made an error, it would be a Type II error. There really is a difference in history knowledge between academic major but somehow I failed to demonstrate that with this study.

7. A researcher is concerned about the level of knowledge possessed by university students regarding United States history. Students completed a high school senior level standardized U.S. history exam. Major for students was also recorded. Data in terms of percent correct is recorded below for 32 students. Compute the appropriate test for the data provided below.

Education Business/Management Behavioral/Social Science Fine Arts62 72 42 8081 49 52 5775 63 31 8758 68 80 6467 39 22 2848 79 71 2926 40 68 6236 15 76 45

Source SS df MS FBetween 63.25 3 21.0833333333 .04Within 12298.25 28 439.2232143Total 12361.5 31

1. What is your computed answer? F = .04 (3,28), not significant2. What would be the null hypothesis in this study? There will be no difference in

history test scores between students with different academic major.3. What would be the alternate hypothesis? There will be a difference somewhere

in history scores between the four groups with different academic major.4. What probability level did you choose and why? p = .05 There is little risk

involved if either a Type I or a Type II major is made.5. What were your degrees of freedom? 3, 286. Is there a significant difference between the four testing conditions? No

significant differences were found between the four groups in terms of performance on a U.S. history exam.

Page 10 of 14

7. Interpret your answer. Students regardless of academic major performed equally (in this case poorly) on a high school senior standardized U.S. history exam.

8. If you have made an error, would it be a Type I or a Type II error? Explain your answer. If I have made an error, it would be a Type II error. There really is a difference in history knowledge between academic major but somehow I failed to demonstrate that with this study.

8. Year in school and car accidents. 10th     11th    12th   2        13        4   9        17        8   3        14        2    1          9        1    7         1         4                       SS      df    ms Between     150.53    2   75.27 Within        228.80  12   19.07 Total          379.33  14   27.10 F =   3.95 Which grade has the most car accidents: The critical value is 3.74, so F is significant. You can now do multiple t-tests to discover which means are significantly different from each other.

9. House color and people’s stay (in years). Blue    Green   Peach  8        11         4  7         9          8  3         7          9   1       18          2   9       12          4                   SS     df    ms Between     116.13   2   58.07 Within        151.60  12  12.63 Total          267.73   14   19.12 F =   4.60Which color of house is lived in the longest (in years)? The critical value is 3.74, so F is significant. You can now do multiple t-tests to discover which means are significantly different from each other.

10. Susan Sound predicts that students will learn most effectively with a constant background sound, as opposed to an unpredictable sound or no sound at all. She randomly divides twenty-four students into three groups of eight. All students study a passage of text for 30 minutes. Those in group 1 study with background sound at a constant volume in the background. Those in group 2

Page 11 of 14

study with noise that changes volume periodically. Those in group 3 study with no sound at all. After studying, all students take a 10 point multiple choice test over the material. Their scores follow:

group test scores

1) constant sound

7 4 6 8 6 6 2 9

2) random sound

5 5 3 4 4 7 2 2

3) no sound 2 4 7 1 2 1 5 5

x1 x12 x2 x2

2  x3 x32

7 49 5 25 2 4

4 16 5 25 4 16

6 36 3 9 7 49

8 64 4 16 1 1

6 36 4 16 2 4

6 36 7 49 1 1

2 4 2 4 5 25

9 81 2 4 5 25

Sx1 = 48Sx1

2 = 322

Sx2 = 32Sx2

2 = 148 Sx3 = 27 Sx32 = 125

(Sx1)2 = 2304

  (Sx2)2 = 1024

  (Sx3)2 = 729  

M1 = 6   M2 = 4   M3 = 3.375  

Page 12 of 14

= 595 - 477.04

SStotal = 117.96

= 507.13 - 477.04

SSamong = 30.08

SSwithin = 117.96 - 30.08 = 87.88

Source

SSdf

MS F

Among

30.08

215.04

3.59

Within

87.88

21

4.18

 

*(according to the F sig/probability table with df = (2,21) F must be at least 3.4668 to reach p < .05, so F score is statistically significant)

Interpretation: Susan can conclude that her hypothesis may be supported. The means are as she predicted, in that the constant music group has the highest score. However, the signficant F only indicates that at least two means are signficantly different from one another, but she can't know which specific mean pairs significantly differ until she conducts a post-hoc analysis (e.g., Tukey's HSD).

Page 13 of 14

Page 14 of 14