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

  • Context:
  • Thread starter Thread starter markosheehan
  • Start date Start date
  • Tags Tags
    Test
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 3K views
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: 166
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$.