A one-variable statistics calculator can store repeated observations by entering a value and its frequency. This worksheet accepts three value-and-count rows and gives the mean, population standard deviation, and sample standard deviation. It can be used to check a result from a TI-30X IIS or to compare what changes when you use a population denominator rather than a sample denominator for the same observations.
Enter observations as values with occurrence counts
Use the value field for the actual measurement and its count for how many times that measurement occurs. Suppose three cables were measured at 12 centimeters. Enter 12 in one value field and 3 beside it. A row with a count of zero is excluded. Two rows with the same value have the same effect as one row containing their combined count. A frequency summary is a compact representation of separate observations, so its counts should be whole numbers.
On a TI-30X IIS, Texas Instruments describes using one-variable statistics and entering values and their frequencies in the data editor. Then read the desired statistic from the statistical variable menu. Check for any old rows left in memory when comparing exercises. Results may be labeled differently across models, so use the model guide to identify the sample and population notation instead of assuming two nearby outputs are interchangeable.
Worked data set with three distinct values
Enter 12 with a count of 3, 17 with a count of 2, and 23 with a count of 5. There are ten observations. Their sum is three times 12 plus two times 17 plus five times 23, or 185. Divide by ten for a mean of 18.5. The unweighted average of 12, 17, and 23 would instead be the mean of only three observations and would ignore the repeated values.
To calculate the spread, subtract 18.5 from each value, square each difference, and multiply it by that value's frequency. The three contributions are 126.75, 4.50, and 101.25. Their sum is 232.5. Divide by ten to get a population variance of 23.25, then take its square root for a population standard deviation of about 4.82182538. Divide by nine instead and take the square root to get a sample standard deviation of about 5.08265023.
Choose the denominator your question calls for
When the observations represent the whole group you want to describe, the population version divides by the observation count. If you are using a sample to estimate the spread of an underlying population, many statistics exercises use the sample version. It divides by one less than the observation count. The numerator is the same in both calculations. With more than one observation and nonzero spread, the sample deviation is larger because its denominator is smaller.
The units of standard deviation are the same as the input values. If the observations represent centimeters, the squared differences used along the way have units of square centimeters, but taking a square root puts the deviation back in centimeters. If all included values are identical, the deviations from the mean are zero. The sample version still needs at least two observations for its denominator to be defined.
Diagnose discrepancies by checking the data entry
Start by comparing the displayed observation count. A count of three rather than ten in the worked example generally indicates that the calculator used each entered value once. A count higher than expected may mean an extra row is active or frequencies have been repeated. Then check the weighted total used for the mean before examining the standard deviations. Two calculators using the same observations can display slightly different last digits because of rounding, even if their underlying values agree closely.
The form treats frequencies as counts of repeated observations. It does not handle continuous survey weights or general probability weights. Those kinds of weights can have different formulas for variance and effective sample size. Before comparing results from a handheld and a statistics package, verify both the meaning of the weights and which deviation convention was selected. A difference in those choices can change the result more than display precision.
Frequently asked questions
Can one row represent the entire data set?
Use zero for the other two counts. The population standard deviation is zero for repeated identical values, and the sample statistic is defined only if the total count exceeds one.
Why is the mean not the simple mean of the three entries?
The calculator counts every repetition. A value entered five times influences the mean more than a value entered twice.
Which standard deviation should I report for homework?
Use the definition requested in the problem. Look for whether the observations are described as the full population or a sample, and check the notation in your course material.
Can I use negative values?
The value fields accept negative numbers. Frequencies remain counts and must be nonnegative integers.
Texas Instruments instructions for one-variable statistics and deviation