Sample Statistics
Describe a sample before estimating a population
A sample statistic summarizes the units actually observed. Its calculation depends on whether observations are numerical measurements or indicators of a trait. A statistic describes its sample exactly, while using it to describe a larger population requires attention to how the sample was collected.
Numerical summaries
The sample mean, xˉ, is the sum of n numerical observations divided by n. The usual sample variance is s2=∑i=1n(xi−xˉ)2/(n−1), defined here when n>1. Subtracting the mean centers each deviation on the same value; squaring gives the variance squared measurement units.
The sample standard deviation, s, is the square root of s2, so it has the original measurement units. Dividing the squared-deviation sum by n instead gives the mean squared deviation of these observed values, a different descriptive quantity.
Proportions and populations
For a binary trait, the sample proportion, p^, is the number of observed units with the trait divided by the number observed. It has no measurement unit: if 7 of 20 sampled leaves have a spot, p^=7/20=0.35=35%. A count, proportion, and percentage are related but should be labeled distinctly.
The corresponding population parameters are the mean μ, variance σ2, and proportion p for a specified population. Sample statistics can estimate them when the sampling design supports that target, but an estimate need not equal its parameter. The statistic's symbol alone says nothing about representativeness.
Worked example
Suppose three measured lengths are 3, 5, and 7 cm. Their mean is (3+5+7)/3=5cm, and their squared deviations are 4, 0, and 4cm2. Thus the usual sample variance is (4+0+4)/(3−1)=4cm2, while the standard deviation is 2cm.
These values summarize those three lengths. To interpret them as population estimates, first specify which larger set of lengths the sampling process was meant to represent.
Of 45 sampled plants, 18 have purple flowers. Which statement reports the sample proportion and its role correctly?
A lab combines two nonoverlapping samples measured on the same scale: 10 seedlings have mean height 6 cm and 20 seedlings have mean height 9 cm. What is the mean of all 30 seedlings?