Question

A psychologist is designing a study to detect a difference between two means. The smallest difference...

A psychologist is designing a study to detect a difference between two means. The smallest difference between the means that she wants to detect is 1.5. The variance of the quantity that she is measuring is 4. She plans to enroll an equal number of subjects in each group. What is the total number of subjects that she should enroll so that her study has 80% power at the 1% significance level? (Use R to do the calculation and give the code thanks!)

Homework Answers

Answer #1

Sol:

standard deviation =sqrt(4)=2

differnce in means=d=1.5

alpha=0.01

difference between two means so two tail

use library pwr in R

Rcode:

library(pwr)
pwr.t.test(d=(1.5)/2,power=.8,sig.level=.01,type="two.sample",alternative="two.sided")


Two-sample t test power calculation

n = 43.21294
d = 0.75
sig.level = 0.01
power = 0.8
alternative = two.sided

NOTE: n is number in *each* group

total number of subjects that she should enroll to detect a difference between two means =43+43=86

Know the answer?
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
Similar Questions
Shea wants to estimate the difference between two population means and plans to use data collected...
Shea wants to estimate the difference between two population means and plans to use data collected from two independent simple random samples of sizes ?1=27 and ?2=32. She does not know the population standard deviations, so she plans to construct a two-sample ?-confidence interval for the difference in the two means. Use a ?‑distribution table to determine the positive ?‑critical value needed to construct a 95% confidence interval using a conservative estimate of the number of degrees of freedom. Enter...
This question comes from R studio statistical software. For a comparison between two means, what information...
This question comes from R studio statistical software. For a comparison between two means, what information will the R code below provide? > power.t.test(n=6, delta=NULL, sd=2.2, sig.level=0.05, power=0.8) Group of answer choices A.) The number of replications needed to achieve the stated level of power B.) The effect size (detectable difference) at the stated level of power C.) The Type I error rate
We are going to study the difference in means of two independent samples. We assume the...
We are going to study the difference in means of two independent samples. We assume the difference in mean between these two samples 6.0 (assuming: mu1=16 and mu2=10), and the standard deviation (among all patients in two groups) is 10. Our hypothesis is H0: mu1 = mu2 vs Ha: mu1 not equal to mu2. To achieve a power of 80% to test the difference of 6.0, how many patients in total should we recruit? The significance level is 0.05, and...
1. For a pair of sample x- and y-values, what is the difference between the observed...
1. For a pair of sample x- and y-values, what is the difference between the observed value of y and the predicted value of y? a) An outlier b) The explanatory variable c) A residual d) The response variable 2. Which of the following statements is false: a) The correlation coefficient is unitless. b) A correlation coefficient of 0.62 suggests a stronger correlation than a correlation coefficient of -0.82. c) The correlation coefficient, r, is always between -1 and 1....
Item 1 In the case below, the original source material is given along with a sample...
Item 1 In the case below, the original source material is given along with a sample of student work. Determine the type of plagiarism by clicking the appropriate radio button. Original Source Material Student Version Major changes within organizations are usually initiated by those who are in power. Such decision-makers sponsor the change and then appoint someone else - perhaps the director of training - to be responsible for implementing and managing change. Whether the appointed change agent is in...
Sign In INNOVATION Deep Change: How Operational Innovation Can Transform Your Company by Michael Hammer From...
Sign In INNOVATION Deep Change: How Operational Innovation Can Transform Your Company by Michael Hammer From the April 2004 Issue Save Share 8.95 In 1991, Progressive Insurance, an automobile insurer based in Mayfield Village, Ohio, had approximately $1.3 billion in sales. By 2002, that figure had grown to $9.5 billion. What fashionable strategies did Progressive employ to achieve sevenfold growth in just over a decade? Was it positioned in a high-growth industry? Hardly. Auto insurance is a mature, 100-year-old industry...