Question: using r code the following problem 2 89 modified a...
Using R, code the following:
Problem 2 (8.9 modified)
A study of the average salaries of New York City residents was conducted for 770 different jobs. It was found that massage therapists average $58,260 in yearly income. Suppose the study surveyed 25 massage therapists and had a standard deviation of $3,250. Perform a significance test of the null hypothesis that the average massage therapist makes $55,000 per year against the one-sided alternative that it is more. Assume the data is normally distributed.
Next, suppose the true population mean is $57,000. Find beta, the probability of type II error.