






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







For one-way ANOVA we have 1 dependent variable and 1 independent variable [factor] which as at least 2 levels.
Problem description A pharmaceutical company is interested in the effectiveness of a new preparation designed to relieve arthritis pain. Three variations of the compound have been prepared for investigation, which differ according to the proportion of the active ingredients: T contains 15% active ingredients, T40 contains 40% active ingredients, and T50 contains 50% active ingredients. A sample of 20 patients is selected to participate in a study comparing the three variations of the compound. A control compound, which is currently available over the counter, is also included in the investigation. Patients are randomly assigned to one of the four treatments (control, T15, T40, T50) and the time (in minutes) until pain relief is recorded on each subject.
Control T15 T40 T 12 20 17 14 15 21 16 13 18 22 19 12 16 19 15 14 20 20 19 11
Enter data such that the response variable is in one column and the factor is in a separate column. Such that it looks like this:
Graphical Analysis [stem and leaf plots/boxplots/normal plots] We will begin the ANOVA by assessing the necessary assumption of normality and equal variance. To do this we will need to create boxplots, stem and leaf plots, and normal plots.
Boxplot
Doing this will give you individual Stem and Leaf plots for each categorical variable. You can scroll through to see the stem and leaf at drugs = 0, drugs = 1, etc.
To see a Stem and Leaf plot of all dependent data points, simply exclude the “by variable” of drugs.
You then have the above stem and leaf plot of all data.
Normal probability plot
Note: For separate normal probability plot for each group,
Analysis of Variance - ANOVA Assuming not problems with our assumptions we can continue by running the one-way ANOVA.
Output Recall that the null hypothesis in ANOVA is that the means of all the groups are the same and the alternative is that at least one is different. So for our example with 4 treatment groups
HA : at least one mean is different
To check the hypothesis the computer compares the value for the observed F [12.72] to the expected value for F-observed given the number of groups and the sample sizes. If this is a rare event [it will be unusually large is Ho is not true] we will reject Ho. To determine if F- observed is unusual, we need to look at the (Sig)nificance of the F value [often called the P- value]. If this value is less than .05, it means that a score this large would occur less than 5% of the time [or 1 in every 20 trials] and we will consider it sufficiently rare. The smaller this value gets the more rare the score and the more certain we can be that the null hypothesis is incorrect. In the case of above example, we can be confident that if we reject the null hypothesis, there is less than a 1 in a 1000 chance that we would be incorrect. We limit ourselves to 1 in a 1000 as [Sig=.000] does not mean that the probability of getting a score this large is zero, just that its equal to zero at three significant figures
Contrast
A priori contrast: comparisons identified before the experiment has been performed. For this example we will compare 3 different contrasts
Creating contrasts: Only requirement is that the sum of the coefficients = 0
Step 1 – Link MINITAB to the MACRO library
Step 2 – Enter your contrasts in column format with the coefficient for the first group being at the top and the coefficients for the last group being at the bottom (there should be as many coefficients as there are groups – 4 in this case)
Step 3 – Run the macro Hit “Ctrl+L” to bring up the command line editor Type in the macro command with this format o %contrast C ; o Groups Y X. Where C is the column location for the contrast (column 4) Where Y is the column location for the response (column 2) Where X is the column location for the treatment (column 1)
For this specific example:
Minitab Output (Session Window) Row Categs Freq xbar StdDev 1 0 5 16.2 3. 2 1 5 20.4 1. 3 2 5 17.2 1. 4 3 5 12.8 1.
PooledS 1. alpha 0.
CT 3 - 1 - 1 - 1
Estimated contrast: - 1.80000, with standard error 3.03974. t= - 0.59216 (with df= 16); one-sided P-value=0. Confidence interval: ( - 8.24395, 4.64395).
NOTE – We will commonly use a 2-sided P-value so you will need to multiply the 1-sided P-value by 2 to receive the proper P-value (for this contrast p = 0.