• 100% Satisfaction Guarantee

Mr. Gregory White, Teacher
Category: General
Satisfied Customers: 5140
Experience:  M.A., M.S. Education / Educational Administration
46856550
Mr. Gregory White is online now

# Statistics (Non-homework, do not move)

### Resolved Question:

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!

Submitted: 3 years ago.
Category: General
Expert:  Mr. Gregory White replied 3 years ago.

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.

:-)

Customer: replied 3 years ago.

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...

Expert:  Mr. Gregory White replied 3 years ago.
I am going to put two resources here that I think will be helpful (especially the second one) in your situation. The first is going to be the actual formula but I think the calculator resources I am going to provide secondly will be even better for you as you can manipulate some numbers on it to get a better determination of what you need.

First, the formula used (in research) to determine sample size is

Where

Z = Z value (e.g. 1.96 for 95% confidence level)
Confidence Level/ Value for Z
90% / 1.645
95% / 1.960
99% / 2.575
99.9% / 3.29
You probably would want at least a 90% confidence level for your results.

p = percentage picking a choice, expressed as decimal
(.5 used for sample size needed)
c = confidence interval, expressed as decimal
(e.g., .04 = ±4)

Now, this can get really frustrating for someone who is not really into the "math" side of the formula.

In my own research, I often use the following site which allows you to enter the information (data) and it will give you a good estimate of the sample size you will need

The first box is the confidence level you want (gives options of the 90, 95, and 99). The second box is the confidence interval you want (you enter a whole number - I would use 4 as a good starting point). This then allows a +4/-4 interval on either side of the level in the sample size. Finally, you have to enter a population. It is impossible to determine a sample size without having a "population" that you are drawing from. For example, if looking at ALL high school students, you would need to estimate how many high school students there are and put in that amount. Then based on the level and interval, you would know how many high school students you would need to sample in order to reach the confidence level that is needed.

I hope this helps. If I can be of ANY further assistance, please click on "Reply to Expert"

:-)
Mr. Gregory White, Teacher
Category: General
Satisfied Customers: 5140
Experience: M.A., M.S. Education / Educational Administration
Customer: replied 3 years ago.

Thank you most kindly for your help!

Expert:  Mr. Gregory White replied 3 years ago.
You are more than welcome! I hope it helped to work it through.

If you need any further assistance on your efforts, feel free to request me again anytime.

Have a wonderful rest of the week. Hope it is warmer in your area of the country than mine right now.

:-)
Customer: replied 3 years ago.

Most definitely - windows are open and the sun is shining here in Northern California! :)

Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.

### What Customers are Saying:

• Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C. Freshfield, Liverpool, UK
< Previous | Next >
• Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C. Freshfield, Liverpool, UK
• This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!! Alex Los Angeles, CA
• Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult. GP Hesperia, CA
• I couldn't be more satisfied! This is the site I will always come to when I need a second opinion. Justin Kernersville, NC
• Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around. Esther Woodstock, NY
• Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know. Robin Elkton, Maryland
• He answered my question promptly and gave me accurate, detailed information. If all of your experts are half as good, you have a great thing going here. Diane Dallas, TX

• ### Dr. Y.

#### Satisfied Customers:

20065
I am fellowship trained specializing in general urology and reconstructive urology.
< Last | Next >

### Dr. Y.

#### Satisfied Customers:

20065
I am fellowship trained specializing in general urology and reconstructive urology.

### John

#### Satisfied Customers:

13453
Appliance repair business owner for over 43 years.

### Tina

#### Satisfied Customers:

8775
JD, BBA Over 25 years legal and business experience.

### GM Tech (Cam)

#### Satisfied Customers:

5780
GM Grand Master Technician 2007. 14 years experience.

### dermdoc19

#### Satisfied Customers:

4067
30 years practice in general and cosmetic dermatology

### Dr. Gary

#### Satisfied Customers:

3754
DVM, Emergency Veterinarian, BS (Physiology)

### Dr. Pat

#### Satisfied Customers:

3596
25+ years working primarily or exclusively with birds