I'm trying to work out how to calculate the necessary sample size for a two sample t-test using excel and need some help.
I don't think I am able to upload an excel attachment, so I will write out what I have.
Cell B1 = mu1, Cell B2 = mu2, Cell B3 = sigma
The calculation i'm doing is
=((1.96+NORM.INV(0.8,0,1))/((B1-B2)/B3))^2
For the entry of mu1 = 0.4, mu2 = 0.43, sigma = 0.1 I'm getting an n = 87.212
Plugging those same numbers into here:
https://www.stat.ubc.ca/~rollin/stats/ssize/n2.html
They are showing that I need almost double of that. Am I doing something incorrectly?
*edit: It's actually almost exactly double. They do state that their's is "sample size (for each sample separately)", so I don't see why I would need to double mine since mine should be for each sample separately as well I believe.