MHB How Do You Calculate Sample Size for a T-Test with a 95% Confidence Interval?

  • Thread starter Thread starter markosheehan
  • Start date Start date
  • Tags Tags
    Test
Click For Summary
SUMMARY

The discussion focuses on calculating the sample size for a one-sample t-test with a 95% confidence interval. The relevant formula is x - u / (s / √n), where x is the sample mean (101.6), u is the population mean (100), s is the standard deviation (15), and n is the sample size. The correct sample size, determined using the t-distribution for a 95% confidence level, is 338. The critical t-value for this calculation is 1.96, applicable when n exceeds 30.

PREREQUISITES
  • Understanding of hypothesis testing and t-tests
  • Familiarity with confidence intervals and their calculation
  • Knowledge of statistical terms such as mean, standard deviation, and sample size
  • Ability to manipulate algebraic equations
NEXT STEPS
  • Learn how to calculate confidence intervals using the formula $$\overline{x} \pm t^{*} \frac{s}{\sqrt{n}}$$
  • Study the differences between t-distribution and normal distribution
  • Explore sample size determination for different confidence levels and power analysis
  • Investigate the implications of sample size on statistical power and hypothesis testing
USEFUL FOR

Statisticians, data analysts, researchers conducting hypothesis testing, and students studying statistics will benefit from this discussion.

markosheehan
Messages
133
Reaction score
0
View attachment 7546

i am stuck on question 12

I am trying to use the hypothesis testing 1 sample t test formula .

the right answer is 338 but I can not get this
 

Attachments

  • WIN_20171118_10_55_32_Pro.jpg
    WIN_20171118_10_55_32_Pro.jpg
    92.3 KB · Views: 137
Physics news on Phys.org
I think this question has to do with the lower bound of the confidence interval since the mean of the sample is above 100. What is the formula you've been given to calculate a confidence interval of a mean? What values do we already have that fit into that equation?
 
So the forumula is x-u/(s/✓n). Where X is the value 101.6

U is the mean which is 100,s is the standard deviation which is 15 , n is the size of the sample which is what we are looking for. What I'm not sure is what I am supposed to equal this to. I know it's something to do with the 5% level of confidence, but that forumula gives its answer as a z value.
 
markosheehan said:
So the forumula is x-u/(s/✓n). Where X is the value 101.6

U is the mean which is 100,s is the standard deviation which is 15 , n is the size of the sample which is what we are looking for. What I'm not sure is what I am supposed to equal this to. I know it's something to do with the 5% level of confidence, but that forumula gives its answer as a z value.

On the right track!

So here's our confidence interval formula: $$\overline{x} \pm t^{*} \frac{s}{\sqrt{n}}$$.

Like you wrote, we just care about the lower bound so we can ignore the upper bound for now. The $t$ here corresponds to the 95% confidence level. Usually we say when $n>30$ we can use the normal distribution which would make $t=1.96$. If we plug that in we get:

$$100 = 101.6 -1.96 \frac{15}{\sqrt{n}}$$

Now we want to solve for $n$.
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
2K
Replies
1
Views
1K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
3
Views
12K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K