Calculating a sample proportion in probability statistics is straightforward. Not only is such a calculation a handy tool in its own right, but it is also a useful way to illustrate how sample sizes in normal distributions affect the standard deviations of those samples.
Say that a baseball player is batting .300 over a career that includes many thousands of plate appearances, meaning that the probability he will get a base hit any time he faces a pitcher is 0.3. From this, it is possible to determine how close to .300 he will hit in a smaller number of plate appearances.
Definitions and Parameters
For these problems, it is important that the sample sizes be sufficiently large to produce meaningful results. The product of the sample size n and the probability p of the event in question occurring must be greater than or equal to 10, and similarly, the product of the sample size and one minus the probability of the event in occurring must also greater than or equal to 10. In mathematical language, this means that
The sample proportion p̂ is simply the number of observed events x divided by the sample size n, or
Mean and Standard Deviation of the Variable
The mean of x is simply np, the number of elements in the sample multiplied by the probability of the event occurring. The standard deviation of x is:
Returning to the example of the baseball player, assume he has 100 plate appearances in his first 25 games. What are the mean and standard deviation of the number of hits he is expected to get?
This means that the player getting as few as 25 hits in his 100 plate appearances or as many as 35 would not be considered statistically anomalous.
Mean and Standard Deviation of the Sample Proportion
The mean of any sample proportion p̂ is just p. The standard deviation of p̂ is:
For the baseball player, with 100 tries at the plate, the mean is simply 0.3 and the standard deviation is:
Note that the standard deviation of p̂ is far smaller than the standard deviation of x.
About the Author
Kevin Beck holds a bachelor's degree in physics with minors in math and chemistry from the University of Vermont. Formerly with ScienceBlogs.com and the editor of "Run Strong," he has written for Runner's World, Men's Fitness, Competitor, and a variety of other publications. More about Kevin and links to his professional work can be found at www.kemibe.com.