Show transcribed image text 4. -6 points My Notes Ask Your Teache Let X1.x2, x be a sample of observations from a normal population with unknown mean Î¼ and unknown standard deviation . Suppose the sample mean is x and the sample standard deviation is s. we wish to test the null hypothesis Ho:Î¼=20 against the alternative Ha:Î¼>20. Our test statistic will be T = sample yields x = 22.25 and s = 1.91. Answer the following using R code. a)If xbar-22.. 25 and s = 1.91 then what is the value of T? b) T has a t distribution. How many degrees of freedom does this distribution have? x-20 7 c) If we test at the 1% level then what is the critical value? d) What is the p-value based upon our sample? e) Do we reject the null hypothesis at the 1% level?(Y/N)? O N FA f) If we repeat a 1% level test 300 times then about how many times do we expect to commit a type() error? 9) Copy your R script for the above into the text box here.

4. -6 points My Notes Ask Your Teache Let X1.x2, x be a sample of observations from a normal population with unknown mean Î¼ and unknown standard deviation . Suppose the sample mean is x and the sample standard deviation is s. we wish to test the null hypothesis Ho:Î¼=20 against the alternative Ha:Î¼>20. Our test statistic will be T = sample yields x = 22.25 and s = 1.91. Answer the following using R code. a)If xbar-22.. 25 and s = 1.91 then what is the value of T? b) T has a t distribution. How many degrees of freedom does this distribution have? x-20 7 c) If we test at the 1% level then what is the critical value? d) What is the p-value based upon our sample? e) Do we reject the null hypothesis at the 1% level?(Y/N)? O N FA f) If we repeat a 1% level test 300 times then about how many times do we expect to commit a type() error? 9) Copy your R script for the above into the text box here.