MATH 2275 Assignment #5
MATH 2275 Assignment #5
MATH 2275
Statistics I
ASSIGNMENT #5
Ms. E. Sonron
Please note:
• This assignment is to submitted by Saturday April 05, 2025 at 11:59 pm via the myeLearning
Assignment #5 Drop Box.
• Your solutions except for the R/RStudio questions are to be handwritten.
Both your solutions to the structured questions and R/RStduio questions are to be merged and
submitted as one pdf file.
• On your script, please ensure that you have included at the top the following: your name, your
UWI ID number.
• In your responses you must show all working to obtain full marks.
• For numerical answers, give your final answers to three (3) decimal places.
1. Four groups of three pigs each were fed individually four different feeds for a specified
length of time to test the hypothesis H0 : µ1 = µ2 = µ = µ4 , where µi , i = 1, 2, 3, 4, is
the mean weight gain for each of the feeds. Determine whether the null hypothesis is
rejected at a 5% significance level if the observed weight gains in pounds are, respectively,
as follows:
x (°F) 27 25 72 58 31 60 34 74
y (BTU) 250 285 320 295 265 298 267 321
Page 1 of 3
MATH 2275 Sem II (2024/2025)
(b) Test if there is a linear relationship between the temperature and the electric power
consumed by the chemical plant at 0.10 level of significance. [7]
(c) Estimate the power consumption for an ambient temperature of 65°F. [2]
(d) Calculate the sample correlation coefficient, r, and interpret the value of r2 . [3]
3. The data in the following table represent the number of hours of relief provided by five dif-
ferent brands of headache tablets administered to 25 subjects experiencing fevers of 38°C.
(a) Using the data file tablet.csv, perform the analysis of variance at the 0.05 level of
significance and indicate whether the hours of relief provided differ significantly for
the five brands of headache tablets. State clearly your hypotheses and use α = 0.10 [8]
(b) Based on your result in (a), is there a need to run a post-hoc test such as Tukey HSD? [3]
(c) Test the assumptions of ANOVA that the residuals are normally distributed and the
variance across groups are homogeneous (constant variance). [6]
Page 2 of 3
MATH 2275 Sem II (2024/2025)
4. In a certain type of metal test specimen, the normal stress on a specimen is known to be
functionally related to the sheer resistance. The following is a set of coded experimental
data on two variables:
Enter the data in R. The x variable is to be called stress, and the y variable to be called
resistance. Create a data frame called specimen with both variables.
(a) Plot a scatter plot of resistance vs stress and interpret the relationship between the
two variables. [3]
(b) Run the regression model and answer the following questions based on your output:
(ii) Is there a linear relationship between normal stress and shear resistance? State
your hypotheses for this test and use α = 0.05 [2]
(iii) How much of the variation in sheer resistance is explained by the model? [3]
(iv) Plot the Residual vs Fitted and the Normal Q-Q plots and give an interpretation
of each plot. Have the assumptions that they assess been violated? [6]
(c) Test the significance of the correlation between stress and resistance. State your hy-
potheses and use α = 0.05. [4]
[TOTAL: 80 marks]
END OF ASSIGNMENT 5
Page 3 of 3