Question

2. (25 points) Suppose that we have a sample of size n 64, we know the population standard deviation is σ 48, and we are cons   

Use R to find to find the answers to the problems
0 0
Add a comment Improve this question Transcribed image text
Answer #1

a) This is a right tailed test.

The critical value can be found by using the command:

alpha=0.05
z_alpha=qnorm(1-alpha) #This gives you the point below which 95% of the area lies, Hence above this point only 5% of the area lies.


This gives the critical value as z-alpha= 1.644854

b) The test statistic is: X-200 X-200 48 6 V64

The critical value is 1.644854. Equating these gives, from R:

critical_xbar=6*z_alpha+200
critical_xbar

Output:

 209.8691

c) X-208 209.8691 208 P (Reject Ho 208)-PX> 209.8691]- P 6 6

                                                                                              

In R terms this is 1-pnorm((critical_xbar-208)/6)

Output:

0.3777026

d) The same procedure as above except in R we will find 1-pnorm((critical_xbar-216)/6)

Output:

0.3777026

e) P(Type I error) is given as:

X-200 209.8691-200 P (Reject HoP-200)-PIX > 209.86911-P 6

In R: 1-pnorm((critical_xbar-200)/6)

Output:

0.05
Add a comment
Know the answer?
Add Answer to:
   Use R to find to find the answers to the problems 2. (25 points) Suppose that we have a sample of size n 64, we know the population standard deviation is σ 48, and we are considering a normal...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT