OK, stats question: I'm doing a hypothesis test and I want to know when I can stop my test, i.e. I want to know the sample size necessary to reach a certain confidence. However, I care about both type 1 and type 2 errors, and it's a two-sided test. Where can I find a formula for this? And go easy on me please, stats bends my brain something fierce!
Thanks for using JustAnswer. My name isXXXXX will do whatever I can to answer your questions.Don't Forget the deposit you placed to ask this question is not used to compensate me until you rate my service! Please Remember that when you are asked to give a rating, you are rating My Service and not this website itself.A couple of questions while looking this prompt over - I will go as "Easy" on you as possible. :-)1) What is the population size that you are using? This is important to know when looking at sample size. What confidence level are you trying to reach for the test? (90%, 95%, 99%, etc). Of course, the greater the confidence level required, the larger the population that will be required.2) If you can provide some additional information (such as asked above), I will try to help you put this together using the "formula" you are requesting.
However, if you really just need the formula first and then help working through it, you can let me know that as well. Just want to be sure I know which direction and the type of help you are needing. :-)
I would like to leave confidence level as a variable if at all possible, but if not, we are aiming for 85%
And I'm not sure what you mean about the population size? I think we're assuming that the population is everyone ever...
Thank you most kindly for your help!
Most definitely - windows are open and the sun is shining here in Northern California! :)