Question

Question 03) Suppose you wish to test the effect of Prozac on the well-being of depressed individuals, using a standardizedb) Write down the test statistic that you recommend to use and find its value at a = 0.05 level. c) Define the rejection regi

0 0
Add a comment Improve this question Transcribed image text
Answer #1

The R output is:

Project: (None) - + Run + - Source - List - C . ® RStudio File Edit Code View Plots Session Build Debug Profile Tools Help OR

The R code is:

MoodPre <- c(3,0,6,7,4,3,2,1,4)
MoodPost <- c(5,1,5,7,10,9,7,11,8)
t.test(MoodPre, MoodPost, paired = TRUE, alternative = "two.sided")
delta <- -3.666667
sigma <- 3.5
d <- delta/sigma
power.t.test(n = 9, d=d, sig.level = 0.05, type = 'paired')
power.t.test(d=d, sig.level = 0.05, power = 0.85, type = 'paired')

(a) The hypothesis being tested is:

H0: µd = 0

Ha: µd ≠ 0

(b) The paired t-test statistic is -3.1429.

(c) Reject H0 if t > 1.859548.

(d) The p-value is 0.01375.

(e) Since the p-value (0.01375) is less than the significance level (0.05), we can reject the null hypothesis.

Therefore, we can conclude that Prozac is effective.

(f) Power = 0.7856895

(g) Sample size = 10.27718 = 11

Please give me a thumbs-up if this helps you out. Thank you!

Add a comment
Know the answer?
Add Answer to:
Question 03) Suppose you wish to test the effect of Prozac on the well-being of depressed...
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