Question: 4. The Boston data set is a built-in dataset in the MASS library of R. Assume the variable medv in the Boston data set is

4. The "Boston" data set is a built-in dataset in the "MASS" library of R. Assume the variable "medv" in the Boston data set is approximately normally distributed. (a) Test the null hypothesis that the mean "medv" for the population is 21.5 against the alternative hypothesis that it is greater than 21.5 at significance level of 5%. (b) Test the null hypothesis that the mean "medv" for the population is 22 against the alternative hypothesis that it is greater than 22 at significance level of 5%
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
