Sampling for AP Stats


This little javaScript program will allow you to enter a population of up to 600 items. You will have to enter the actual percent of the population of one of your items, as well as, the number of items that you want the program to pick.

How big is your Population(Max=1000)
What is the true sample percent of type 1 items (decimal please):
How many to pick each time (Max = Population -1)
How many samples to pick (Maximum = 10000):

Status of Picking

Results
Trial Number:
How many of 1st type picked
How many of 2nd type picked
Mean of the sample:
Sample Standard Deviation:
0.0 up to 0.05 0.05 up to 0.1 0.1 up to 0.15 0.15 up to 0.2 0.2 up to 0.25
0.25 up to 0.3 0.3 up to 0.35 0.35 up to 0.4 0.4 up to 0.45 0.45 up to .5
0.5 up to 0.55 0.55 up to 0.6 0.6 up to 0.65 0.65 up to 0.7 0.7 up to 0.75
0.75 up to 0.8 0.8 up to 0.85 0.85 up to 0.9 0.9 up to 0.95 0.95 up to .1