Docsity

3 Solved Problems on Statistics - Assignment 5 | STAT 516, Assignments of Data Analysis & Statistical Methods

Toggle sidebar
bg1
STAT 516 - Homework 5 Solutions
1a) An ANOVA is performed to see how effective different methods of studying are, and how much extra time spent helps.
Students studied by either primarily going over old exams, reading notes, or reading the text; and they studied for either two,
five, or ten hours. The forty-five students were assigned at random so that there were five in each of the combinations of
studying strategies and time.
Factorial - each of the nine combinations of time and method occur
With Replication - There are five observations at each level
Balanced - There are the same number (five) of observations at each level
Fixed effect probably applies for the ways of studying, but the two, five, or ten hours may or may not be random e
effects (why those three time periods in particular?)
b) An ANOVA is performed to see how effective different methods of studying are, and how much extra time spent helps.
Students studied by either primarily going over old exams, reading notes, or reading the text; and they studied for either two,
five, or ten hours. The sixteen students were assigned at random so that four spent two hours using the text, four spent two
hours using the notes, four spent two hours using the old exams, two spent five hours using text, and two spent ten hours
using the text.
NOT Factorial - only five of the nine possible combinations occur
With Replication - there are two or four observations at each level that occurs
NOT Balanced - There are not the same number (it is either two or four) of observations at each level
Fixed effect probably applies for the ways of studying, but the two, five, or ten hours may or may not be random
effects (why those three time periods in particular?)
c) An ANOVA is performed to see how effective different methods of studying are, and how much extra time spent helps.
Students were assigned to study by either primarily going over old exams, reading notes, or reading the text; and they studied
for either two, five, or ten hours. The nine students were assigned at random so that there was one in each of the
combinations of studying strategies and time.
Factorial - each of the nine combinations of time and method occur
WithOUT Replication - there is only one observation at each level
Balanced - There are the same number (one) of observations at each level
Fixed effect probably applies for the ways of studying, but the two, five, or ten hours may or may not be random
effects (why those three time periods in particular?)
2) Advertising
Promotional
Discount None Moderate Heavy
1.09 2.12 3.02
None 1.58 1.86 2.59
2.35 3.29 4.92
1.11 6.44 6.92
Moderate 2.69 4.25 8.52
2.07 4.37 9.72
3.17 10.23 21.22
Heavy 5.66 12.91 18.29
4.59 18.84 26.77
a) It is desired to see which (if any) of the discount levels are significantly more effective than the others on average.
Holm test on all pairs of discount levels
b) It is desired to see if changing the discount level has the same effect on sales regardless of the advertising campaign
expenditures.
The Type III test for interaction
c) It is desired to see if changing the level of advertising has the same effect on sales regardless of the amount of discount
being offered.
The Type III test for interaction
d) It is desired to see if discounts and advertising have any affect at all on sales, or if the apparent effect is just a fluke.
The main p-value from the ANOVA table
pf3

Partial preview of the text

Download 3 Solved Problems on Statistics - Assignment 5 | STAT 516 and more Assignments Data Analysis & Statistical Methods in PDF only on Docsity!

STAT 516 - Homework 5 Solutions

1a) An ANOVA is performed to see how effective different methods of studying are, and how much extra time spent helps. Students studied by either primarily going over old exams, reading notes, or reading the text; and they studied for either two, five, or ten hours. The forty-five students were assigned at random so that there were five in each of the combinations of studying strategies and time.

Factorial - each of the nine combinations of time and method occur With Replication - There are five observations at each level Balanced - There are the same number (five) of observations at each level Fixed effect probably applies for the ways of studying, but the two, five, or ten hours may or may not be random e effects (why those three time periods in particular?)

b) An ANOVA is performed to see how effective different methods of studying are, and how much extra time spent helps. Students studied by either primarily going over old exams, reading notes, or reading the text; and they studied for either two, five, or ten hours. The sixteen students were assigned at random so that four spent two hours using the text, four spent two hours using the notes, four spent two hours using the old exams, two spent five hours using text, and two spent ten hours using the text.

NOT Factorial - only five of the nine possible combinations occur With Replication - there are two or four observations at each level that occurs NOT Balanced - There are not the same number (it is either two or four) of observations at each level Fixed effect probably applies for the ways of studying, but the two, five, or ten hours may or may not be random effects (why those three time periods in particular?)

c) An ANOVA is performed to see how effective different methods of studying are, and how much extra time spent helps. Students were assigned to study by either primarily going over old exams, reading notes, or reading the text; and they studied for either two, five, or ten hours. The nine students were assigned at random so that there was one in each of the combinations of studying strategies and time.

Factorial - each of the nine combinations of time and method occur WithOUT Replication - there is only one observation at each level Balanced - There are the same number (one) of observations at each level Fixed effect probably applies for the ways of studying, but the two, five, or ten hours may or may not be random effects (why those three time periods in particular?)

  1. Advertising Promotional Discount None Moderate Heavy 1.09 2.12 3. None 1.58 1.86 2. 2.35 3.29 4. 1.11 6.44 6. Moderate 2.69 4.25 8. 2.07 4.37 9. 3.17 10.23 21. Heavy 5.66 12.91 18. 4.59 18.84 26.

a) It is desired to see which (if any) of the discount levels are significantly more effective than the others on average. Holm test on all pairs of discount levels

b) It is desired to see if changing the discount level has the same effect on sales regardless of the advertising campaign expenditures. The Type III test for interaction

c) It is desired to see if changing the level of advertising has the same effect on sales regardless of the amount of discount being offered. The Type III test for interaction

d) It is desired to see if discounts and advertising have any affect at all on sales, or if the apparent effect is just a fluke. The main p-value from the ANOVA table

100 110 120 P_IQ

0

20

R _ I Q

-2 0 2 RN_IQ

0

20

R _ I Q

  1. The data on the web is extracted from a study that appeared in European Bulletin of Cognitive Psychology. Eight adopted children were selected from each of four groups. The four groups were based on two factors: adoptive parents had either very high or very low social economic status, and the biological parents had either very high or very low social economic status.

DATA Adopt; INPUT IQ ADOPTIVE $ BIOLOGIC $; CARDS; 136.00 High High 99.00 High High 121.00 High High 133.00 High High 125.00 High High 131.00 High High 103.00 High High 115.00 High High 94.00 High Low

103.00 High Low 99.00 High Low 125.00 High Low 111.00 High Low 93.00 High Low 101.00 High Low 94.00 High Low 98.00 Low High 99.00 Low High 91.00 Low High 124.00 Low High 100.00 Low High

116.00 Low High 113.00 Low High 119.00 Low High 92.00 Low Low 91.00 Low Low 98.00 Low Low 83.00 Low Low 99.00 Low Low 68.00 Low Low 76.00 Low Low 115.00 Low Low ;

a) Write down the model equation for this two-way ANOVA being careful to identify the parameters.

y (^) ijk = μ baseline + α i + γ j +( αγ ) (^) ij+ ε ijk for i =high or low, j = high or low, and k =1,... n , where the y (^) ijk are the observed IQs of the adopted children μ baseline is the baseline α low , α high are the effects on the children’s IQ due to the adoptive parents SES γ low , γ high are the effects on the children’s IQ due to the biological parents SES ( αγ ) low-low , ( αγ) low-high , ( αγ ) high-low , ( αγ ) high-high are the interactions for the combinations of adoptive and biological parents SES ε ijk are the errors

b) Check the assumptions for the two-way ANOVA... including using Levene’s test for the variances. Also, comment on why it is unreasonable to expect data of this sort to have the independence you would usually find in an experiment.

Using PROC INSIGHT to get the plots...

PROC INSIGHT; OPEN Adopt; FIT IQ=ADOPTIVE BIOLOGIC ADOPTIVE*BIOLOGIC; RUN;

We see that the errors appear to be approximately normally distributed from the Q-Q plot. The means of the errors are zero for each of the groups, although one of the groups appears skewed. Also, there may be some problems with the variances being equal.

Using PROC GLM (as per the web-site) to test whether the variances are equal...

DATA Adopt2; SET Adopt; KEEP Block IQ; Block = trim(ADOPTIVE)||trim(BIOLOGIC);

PROC GLM DATA=Adopt2 ORDER=DATA; CLASS Block; MODEL IQ = Block; MEANS Block / HOVTEST=BF; RUN;