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

  • Context: MHB 
  • Thread starter Thread starter markosheehan
  • Start date Start date
  • Tags Tags
    Test
Click For Summary

Discussion Overview

The discussion revolves around calculating the sample size for a t-test with a 95% confidence interval. Participants are exploring the application of hypothesis testing and confidence interval formulas in the context of a specific problem, which involves determining the necessary sample size to achieve a desired confidence level.

Discussion Character

  • Homework-related
  • Mathematical reasoning
  • Technical explanation

Main Points Raised

  • One participant expresses difficulty with a specific question related to sample size calculation for a t-test.
  • Another participant suggests that the question may involve the lower bound of the confidence interval and asks for the formula used to calculate it.
  • A participant provides the formula for the t-test and identifies the values for the sample mean, population mean, and standard deviation, but is uncertain about what to equate the formula to for the 5% confidence level.
  • A later reply reiterates the formula for the confidence interval and emphasizes focusing on the lower bound, introducing the t-value corresponding to the 95% confidence level and suggesting a method to solve for the sample size.

Areas of Agreement / Disagreement

Participants are generally engaged in a collaborative exploration of the problem, but there is no consensus on the correct approach to calculating the sample size, as some are still uncertain about the application of the formulas involved.

Contextual Notes

There are unresolved aspects regarding the specific values to use in the calculations and the interpretation of the confidence interval in relation to the sample size.

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: 141
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 2 ·
Replies
2
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
6
Views
3K
  • · Replies 22 ·
Replies
22
Views
4K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 7 ·
Replies
7
Views
2K