How to use this calculator
Convert unequal nonnegative weights into the equally weighted sample size with the same weight concentration.
- Enter Nonnegative weights. Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
How Effective sample size from weights calculator works
Convert unequal nonnegative weights into the equally weighted sample size with the same weight concentration.
Inputs and units
- Nonnegative weights: One nonnegative analysis weight per observation; separate values with commas or spaces.
Formula and method
n_eff = (Σwᵢ)² / Σ(wᵢ²)
Worked example
Weights 1, 1, and 2 give (4²)/(1+1+4)=16/6≈2.67 effective observations.
Interpreting the result
Equal weights give n_eff=n; greater weight imbalance lowers the effective size.
Assumptions and limits
Requires a positive total and at least one positive weight. This Kish approximation captures unequal weighting only; clustering, stratification, calibration, and finite population effects may require design-based variance estimates.
Sources and method
- Effective sample size is interpreted as an SRS-equivalent measure; the page applies the unequal-weight Kish approximation only. Statistics Canada effective sample size
Frequently asked questions
Can effective sample size be fractional?
Yes. It is an equivalent information measure, so a value such as 2.67 is expected.
Does this account for clusters?
No. This calculator only reflects unequal weights and does not estimate a full complex-survey design effect.
How do I use the Effective sample size from weights calculator?
Enter Nonnegative weights. Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of Effective sample size from weights?
Weights 1, 1, and 2 give (4²)/(1+1+4)=16/6≈2.67 effective observations.
What does the Effective sample size from weights calculator calculate?
Convert unequal nonnegative weights into the equally weighted sample size with the same weight concentration.