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.


Using R, code the following: Problem 2 (8.9 modified) A study of the average salaries of...
Problem 2 (25 pts). The following multiple regression model is to study the tradeoff between time spent on sleeping and working and to look at other factors affecting sleep: sleep-a-bítoturk + bgeduc-b3age te where sleep and totwork (total work) are measured in minutes per week and educ and age are measured in years The estimated model is as follows. sleep3638.25 0.148 totwrk -11.13 educ + 2.2 age (5.88) (112.28) (0.017) n = 706, R-0.113 The standard error of each coefficient...
Directions: Please complete the case study by following the prompted directions and answering the following questions. Many questions are asking for your opinion on the analysis of data/graphs, therefore many answers are considered acceptable with a proper explanation. You hould turn in any graphs/questions that are asked for; if I do not ask for a graph or explanation it is not necessary. The solutions should be numbered based on the question you are answering The solutions may be hand written...