0% found this document useful (0 votes)
11 views3 pages

MATH 2275 Assignment #5

This document outlines Assignment #5 for MATH 2275 Statistics I, due on April 5, 2025. It includes various statistical tasks such as hypothesis testing, regression analysis, and ANOVA, requiring both handwritten and R/RStudio submissions. Students must show all workings and provide final numerical answers to three decimal places.

Uploaded by

Mark Vitalis
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views3 pages

MATH 2275 Assignment #5

This document outlines Assignment #5 for MATH 2275 Statistics I, due on April 5, 2025. It includes various statistical tasks such as hypothesis testing, regression analysis, and ANOVA, requiring both handwritten and R/RStudio submissions. Students must show all workings and provide final numerical answers to three decimal places.

Uploaded by

Mark Vitalis
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

MATH 2275 Sem II (2024/2025)

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:

x1 : 194.11 182.80 187.43


x2 : 216.06 203.50 216.88
x3 : 178.10 189.20 181.33
x4 : 197.11 202.68 209.18
[25]
2. A study was done to study the effect of ambient temperature (x) on the electric power
consumed by a chemical plant (y). Other factors were held constant, and the data were
collected from an experimental pilot plant.

x (°F) 27 25 72 58 31 60 34 74
y (BTU) 250 285 320 295 265 298 267 321

The summary statistics are given below:


∑8i=1 xi = 401 ∑8i=1 yi = 2301 ∑8i=1 xi2 = 22, 495 ∑8i=1 y2i = 666, 509 ∑8i=1 xi yi = 118, 652
(a) Find the equation of the least squares line that approximates the regression of temper-
ature on the electric power consumed by the chemical plant. Given an interpretation
of the regression coefficients. [7]

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]

Questions 3 and 4 are to be done in R/RStudio in an R Markdown file, which should


then be exported and then saved as a pdf file.

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:

Normal Stress, x Shear Resistance, y


26.8 26.5
25.4 27.3
28.9 24.2
23.6 27.1
27.7 23.6
23.9 25.9
24.7 26.3
28.1 22.5
26.9 21.7
27.4 21.4
22.6 25.8
25.6 24.9

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:

(i) What is the estimated equation of the regression line? [1]

(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

You might also like