The Fundamental Difference: Statistics vs Time Study
Work Sampling differs ontologically from traditional time tracking. Whereas a stopwatch measures durations, sampling is an inferential technique based on probability theory that estimates the frequency of occurrence of activities through instantaneous, random observations.
The Statistical Objective
The engineer seeks to estimate the population parameter p (the real proportion of time dedicated to an activity) through the sample statistic pĖ (the proportion observed in the sample).
1. Binomial Distribution and Normal Approximation
Work sampling is grounded in the fact that when observing a system (worker or machine), the state at an instant is a dichotomous variable: the event either occurs or does not occur. This places sampling in the domain of the binomial distribution.
In practice, given that the number of observations is usually high (N > 30), the binomial distribution is approximated by the normal distribution (Gaussian curve). This approximation allows using standard formulas to determine:
- The required sample size
- Control limits
- Confidence intervals
2. Standard Error (Īp)
The sampling error measures how much our estimate pĖ may vary relative to the real value p. It is defined as:
Standard Error
Estimated proportion
Number of observations
Standard error
This formula shows that precision is inversely proportional to the square root of the sample size. Doubling the precision requires quadrupling the observations.
3. Sample Size Formula (N)
One of the most glaring shortcomings of generalist software is the absence of sample size calculators. The fundamental formula, derived from the normal approximation, is:
Fundamental Formula
This equation incorporates three critical variables that define the rigor of the study:
3.1. Z Value (Confidence Level)
It represents statistical certainty. The most common values are:
| Confidence | Z Value | Typical Use |
|---|---|---|
| 90% | 1.645 | Quick exploratory studies |
| 95% | 1.96 â 2 | Industry standard |
| 99% | 2.576 | High-impact decisions, agreements |
đĄ What does 95% confidence mean?
That if you repeated the study 100 times, 95 of those times you would obtain results within the configured margin of error.
3.2. Estimated Proportion (p)
It is the preliminary estimate of the occurrence of the key activity:
- If you have no prior data: Use p = 0.50 (maximum variance, maximum sample size)
- If you have data from previous studies: Use that percentage
- If you ran a pilot study: Use the preliminary result
Using p = 0.50 is the "worst case" because it maximizes the product p(1-p) = 0.25, guaranteeing a conservative sample size.
3.3. Absolute Error (e)
It is the acceptable tolerance (Âą X%). Examples:
- e = 0.10 (Âą10%): Exploratory studies â ~100 observations
- e = 0.05 (Âą5%): Standard studies â ~385 observations
- e = 0.03 (Âą3%): High precision â ~1,067 observations
- e = 0.01 (Âą1%): Maximum precision â ~9,604 observations
4. Absolute Precision vs Relative Precision
A technical nuance that distinguishes the expert is selecting the type of precision:
Absolute Precision (s)
"Idle time is 20% Âą2%"
Range: 18% - 22%
The error is a fixed value independent of the mean
Relative Precision (sr)
"The error is 5% of the mean"
If p=20%, error = 0.05 Ã 0.20 = 1%
Range: 19% - 21%
The error is proportional to the measured value
The formula for relative precision is:
Relative precision requires more observations when p is small, which is critical in studies of rare events (accidents, infrequent machine stops).
5. P Control Charts
To validate the consistency of the study during its execution, daily proportions (pdaily) should be plotted. Control limits are calculated as:
Upper Control Limit (UCL)
UCL = pĖ + 3â( pĖ(1-pĖ) / nday )
Lower Control Limit (LCL)
LCL = pĖ - 3â( pĖ(1-pĖ) / nday )
Points outside these limits indicate abnormal conditions on that day (e.g. breakdown, management visit, drill). The engineer must decide whether to include those data.
6. The Importance of Randomness
The validity of pĖ as an estimator of p depends strictly on randomness. If observations are not random, a systematic bias is introduced that sampling formulas cannot correct.
â ī¸ Errors that invalidate the study
- âĸ Always observing at the same time (e.g. on the hour every hour)
- âĸ Depending on the worker pressing "start/stop" manually
- âĸ Following predictable routes that workers anticipate
- âĸ "Reconstructing" observations from memory at the end of the shift
â Our app guarantees randomness
The observation generation engine distributes moments in a truly random way within the configured time slots, with push notifications that ensure instantaneous observations without bias.
Practical Calculation Example
An engineer wants to study a production line with:
- Confidence level: 95% (Z = 1.96)
- Margin of error: Âą5% (e = 0.05)
- Estimated proportion: unknown (p = 0.50)
Calculation:
N = Z² à p(1-p) / e²
N = (1.96)² à 0.50 à 0.50 / (0.05)²
N = 3.8416 Ã 0.25 / 0.0025
N = 0.9604 / 0.0025
N = 384.16 â 385 observations
Our app does these calculations for you
Configure the parameters and the system automatically calculates how many observations you need.