Great Deal! Get Instant $10 FREE in Account on First Order + 10% Cashback on Every Order Order Now

ANOVA An experiment to investigate how different types of feed can affect weight gain in pigs is conducted. This example uses data for pigs which have been randomly assigned to four groups, with each...

1 answer below »

ANOVA An experiment to investigate how different types of feed can affect weight gain in pigs is conducted. This example uses data for pigs which have been randomly assigned to four groups, with each group being given a different feed. The response is weight gain as follows:

Using the sample data above, answer the following questions:

a) Specify the null and alternate hypotheses to determine if there is a significant difference between weight gain in pigs given different types of feed.

b) Calculate the test statistic to test your hypotheses and report your result.

c) Specify an appropriate probability of committing a Type I error (α).

d) Report your decision and clearly explain your result

a)

Hypothesis

H0: µ1 = µ2 = µ3 = µ4 - There is no significant difference between weight gain in pigs given different types of feed

Ha: µ1 ≠ µ2 ≠ µ3 ≠ µ4 - There is significant difference between weight gain in pigs given different types of feed

b)

The total sample size is N = 15. Therefore, the total degrees of freedom are:

dftotal = 15-1 = 14

The between groups degrees of freedom are dfbetween = 4-1 = 3, and the within groups degrees of freedom are:

Dfwithin = dftotal - dfbetween = 14 – 3 = 11

First, we need to compute the total sum of values and the mean

The sum of squared value is:

Based on the above calculations, the total sum of squares is:

SStotal =


= XXXXXXXXXX -

= XXXXXXXXXX

The within sum of squares is computes as:

SSwithin = sswithingroups = XXXXXXXXXX42.747 = 76.91

The between sum of squares is:

SSbetween = SStotal – SSwithin = XXXXXXXXXX – 76.91 = XXXXXXXXXX

Answered 8 days After Jul 11, 2022

Solution

Monica answered on Jul 20 2022
77 Votes
Solution
Given
ANOVA An experiment to investigate how different types of feed can affect weight gain in pigs is conducted. This example uses data for pigs which have been randomly assigned to four groups, with each group being given a different feed. The response is weight gain as follows:
Solution
a) The test of hypothesis is given by
There is no significant difference between weight gain in pigs given different types of feed.

There is significant difference between weight gain in pigs given different types of feed.
) Below are the steps to obtain the test statistic
Sum of squares between (SSB):
1. For each subject, compute the difference between its group mean and the grand mean. The grand mean is the mean of all NN scores (just sum all scores and divide by the total sample size NN)
2. Square all these differences
3. Sum the squared differences
Calculate the SSB
Next, we will calculate the regression sum of squares (SSB) using the following formula:
1. Calculate the means for each group.
a. The mean of the first group is
) Calculate the overall mean
therefore,
where:
· Σ: a greek symbol that means “sum”
· Xij: the ith observation in group j
· Xj: the mean of group j
Sum of squares within (SSW):
1. For each subject, compute the difference between its score and its group mean....
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here