VIEW THIS AS

Auto mode follows the Route Engine until you choose a viewpoint.

YOU ARE HERE

ROUTE CHECK

CONNECTED TO

WHAT NEXT

Use the canonical route for this room, or HELP if you are unsure.

Why Mathematics? | Effective Sample Size for Bayesian Reliability Models: Autocorrelation, Bulk and Tail ESS, Quantiles and Precision

The importance of mathematics becomes clear when 4,000 saved Markov chain draws do not contain the information of 4,000 independent samples. Consecutive draws are usually autocorrelated. Effective sample size translates their dependence into the approximate number of independent draws that would give comparable Monte Carlo precision for a chosen quantity.

In a teaching calculation, suppose N=4,000 and the first three autocorrelations are 0.60, 0.30 and 0.10, with later values neglected only for illustration. The integrated autocorrelation time is 1+2(0.60+0.30+0.10)=3, giving ESS=4,000/3≈1,333. Real estimators use stable paired or positive-sequence rules, combine multiple chains carefully and calculate separate bulk, tail and quantile efficiencies.

Full chapter index

Chapters 1–5 · Understand the question
  1. Saved draws are not independent
  2. Autocorrelation by lag
  3. Integrated autocorrelation time
  4. Worked ESS about 1,333
  5. Efficiency ratio
Chapters 6–10 · Reproduce the example
  1. Why autocorrelations become noisy
  2. Geyer sequence ideas
  3. Multiple-chain ESS
  4. Bulk ESS
  5. Tail ESS
Chapters 11–15 · Check assumptions
  1. Quantile-specific efficiency
  2. Reliability probabilities
  3. Censored-data effects
  4. Hierarchical parameters
  5. Negative autocorrelation
Chapters 16–20 · Explore applications
  1. Thinning
  2. More iterations
  3. Reparameterisation
  4. ESS and Monte Carlo error
  5. ESS is not data sample size
Chapters 21–25 · Study and verify
  1. ESS is not importance ESS
  2. Stopping by target precision
  3. Software and reproducibility
  4. Parent and student learning route
  5. Common misconceptions and next reading

CHAPTER 1 OF 25 · Understand the question

1. Saved draws are not independent

Back to contents

Begin with serial dependence. A Markov chain deliberately makes each draw depend on its predecessor. A slowly moving Weibull shape produces long runs of similar values. This step matters because autocorrelation, independent-equivalent information and reliability precision require the mathematical object, prediction target and reliability question to stay aligned. File size is not information size. Inspect dependence.

A reproducible audit should record variables, units, observation boundaries, censoring codes, model version and software settings. Record the estimand, chain structure, autocorrelation method and software version. Rebuild the displayed number from saved inputs before interpreting it. A result that cannot be reproduced is not ready to guide reliability work.

Try a small learning experiment: sum autocorrelations 0.60, 0.30 and 0.10, form an autocorrelation time of three and divide 4,000 by three. Use saved draws are not independent as the focus. Predict the direction of change before using software, alter one defensible input, and finish with two sentences: what the calculation supports, and what remains uncertain. This habit turns mathematics education into transferable problem-solving rather than formula recall.

Did You Know? Effective sample size belongs to a chosen posterior quantity; one chain can have high ESS for a mean and low ESS for a tail quantile. That is why a careful report includes the construction, not only the final scalar.

Contents · Next chapter

CHAPTER 2 OF 25 · Understand the question

2. Autocorrelation by lag

Back to contents

Now translate correlation into independent-equivalent information. Lag-k autocorrelation measures linear dependence between draws k steps apart. The example uses 0.60, 0.30 and 0.10. This step matters because autocorrelation, independent-equivalent information and reliability precision require the mathematical object, prediction target and reliability question to stay aligned. Negative and nonlinear dependence need careful treatment. Plot several lags.

A reproducible audit should record variables, units, observation boundaries, censoring codes, model version and software settings. Report bulk, tail and local ESS for the quantities that drive decisions. Rebuild the displayed number from saved inputs before interpreting it. A result that cannot be reproduced is not ready to guide reliability work.

Try a small learning experiment: sum autocorrelations 0.60, 0.30 and 0.10, form an autocorrelation time of three and divide 4,000 by three. Use autocorrelation by lag as the focus. Predict the direction of change before using software, alter one defensible input, and finish with two sentences: what the calculation supports, and what remains uncertain. This habit turns mathematics education into transferable problem-solving rather than formula recall.

Contents · Previous chapter · Next chapter

CHAPTER 3 OF 25 · Understand the question

3. Integrated autocorrelation time

Back to contents

Precision depends on the particular posterior quantity. Add one plus twice the relevant autocorrelation sum. The teaching sum is 1+2×1=3. This step matters because autocorrelation, independent-equivalent information and reliability precision require the mathematical object, prediction target and reliability question to stay aligned. Arbitrary truncation can make the estimate unstable. Use validated sequence estimators.

A reproducible audit should record variables, units, observation boundaries, censoring codes, model version and software settings. Keep MCMC ESS distinct from observed sample size and weighted-sample ESS. Rebuild the displayed number from saved inputs before interpreting it. A result that cannot be reproduced is not ready to guide reliability work.

Try a small learning experiment: sum autocorrelations 0.60, 0.30 and 0.10, form an autocorrelation time of three and divide 4,000 by three. Use integrated autocorrelation time as the focus. Predict the direction of change before using software, alter one defensible input, and finish with two sentences: what the calculation supports, and what remains uncertain. This habit turns mathematics education into transferable problem-solving rather than formula recall.

Contents · Previous chapter · Next chapter

CHAPTER 4 OF 25 · Understand the question

4. Worked ESS about 1,333

Back to contents

Begin with serial dependence. Divide N by the integrated autocorrelation time. 4,000/3 is about 1,333. This step matters because autocorrelation, independent-equivalent information and reliability precision require the mathematical object, prediction target and reliability question to stay aligned. The number is quantity-specific and approximate. Report method and target.

A reproducible audit should record variables, units, observation boundaries, censoring codes, model version and software settings. Use effective draws per second when comparing computational efficiency. Rebuild the displayed number from saved inputs before interpreting it. A result that cannot be reproduced is not ready to guide reliability work.

Try a small learning experiment: sum autocorrelations 0.60, 0.30 and 0.10, form an autocorrelation time of three and divide 4,000 by three. Use worked ess about 1,333 as the focus. Predict the direction of change before using software, alter one defensible input, and finish with two sentences: what the calculation supports, and what remains uncertain. This habit turns mathematics education into transferable problem-solving rather than formula recall.

Primary research: https://doi.org/10.1214/ss/1177011137. Read the authors’ definition and conditions before carrying the method into a censored reliability model.

QuantityValue
Saved draws N4,000
Illustrative autocorrelations0.60, 0.30, 0.10
Autocorrelation time3
Illustrative ESS1,333
Efficiency ratio0.333
Effective-sample-size teaching calculation.

Contents · Previous chapter · Next chapter

CHAPTER 5 OF 25 · Understand the question

5. Efficiency ratio

Back to contents

Now translate correlation into independent-equivalent information. ESS divided by N describes information retained per draw. 1,333/4,000 is about 0.333. This step matters because autocorrelation, independent-equivalent information and reliability precision require the mathematical object, prediction target and reliability question to stay aligned. High computational cost per draw is not reflected. Compare time per effective draw.

A reproducible audit should record variables, units, observation boundaries, censoring codes, model version and software settings. Pair ESS with R-hat, MCSE, trace or rank plots and model diagnostics. Rebuild the displayed number from saved inputs before interpreting it. A result that cannot be reproduced is not ready to guide reliability work.

Try a small learning experiment: sum autocorrelations 0.60, 0.30 and 0.10, form an autocorrelation time of three and divide 4,000 by three. Use efficiency ratio as the focus. Predict the direction of change before using software, alter one defensible input, and finish with two sentences: what the calculation supports, and what remains uncertain. This habit turns mathematics education into transferable problem-solving rather than formula recall.

Contents · Previous chapter · Next chapter

CHAPTER 6 OF 25 · Reproduce the example

6. Why autocorrelations become noisy

Back to contents

Precision depends on the particular posterior quantity. At large lags fewer paired observations remain and estimates fluctuate. A tail of small sample correlations changes the raw sum. This step matters because autocorrelation, independent-equivalent information and reliability precision require the mathematical object, prediction target and reliability question to stay aligned. Summing every lag can produce nonsense. Use initial positive sequences.

A reproducible audit should record variables, units, observation boundaries, censoring codes, model version and software settings. Record the estimand, chain structure, autocorrelation method and software version. Rebuild the displayed number from saved inputs before interpreting it. A result that cannot be reproduced is not ready to guide reliability work.

Try a small learning experiment: sum autocorrelations 0.60, 0.30 and 0.10, form an autocorrelation time of three and divide 4,000 by three. Use why autocorrelations become noisy as the focus. Predict the direction of change before using software, alter one defensible input, and finish with two sentences: what the calculation supports, and what remains uncertain. This habit turns mathematics education into transferable problem-solving rather than formula recall.

Did You Know? Effective sample size belongs to a chosen posterior quantity; one chain can have high ESS for a mean and low ESS for a tail quantile. That is why a careful report includes the construction, not only the final scalar.

Contents · Previous chapter · Next chapter

CHAPTER 7 OF 25 · Reproduce the example

7. Geyer sequence ideas

Back to contents

Begin with serial dependence. Pair autocovariances and truncate with positivity and monotonicity principles. Noisy late pairs are excluded. This step matters because autocorrelation, independent-equivalent information and reliability precision require the mathematical object, prediction target and reliability question to stay aligned. Finite-sample estimates still have uncertainty. Keep chain length adequate.

A reproducible audit should record variables, units, observation boundaries, censoring codes, model version and software settings. Report bulk, tail and local ESS for the quantities that drive decisions. Rebuild the displayed number from saved inputs before interpreting it. A result that cannot be reproduced is not ready to guide reliability work.

Try a small learning experiment: sum autocorrelations 0.60, 0.30 and 0.10, form an autocorrelation time of three and divide 4,000 by three. Use geyer sequence ideas as the focus. Predict the direction of change before using software, alter one defensible input, and finish with two sentences: what the calculation supports, and what remains uncertain. This habit turns mathematics education into transferable problem-solving rather than formula recall.

Contents · Previous chapter · Next chapter

CHAPTER 8 OF 25 · Reproduce the example

8. Multiple-chain ESS

Back to contents

Now translate correlation into independent-equivalent information. Modern estimators use within- and between-chain information with rank-based transformations. Four chains contribute to one bulk ESS. This step matters because autocorrelation, independent-equivalent information and reliability precision require the mathematical object, prediction target and reliability question to stay aligned. Concatenating nonconverged chains can inflate confidence. Check R-hat first.

A reproducible audit should record variables, units, observation boundaries, censoring codes, model version and software settings. Keep MCMC ESS distinct from observed sample size and weighted-sample ESS. Rebuild the displayed number from saved inputs before interpreting it. A result that cannot be reproduced is not ready to guide reliability work.

Try a small learning experiment: sum autocorrelations 0.60, 0.30 and 0.10, form an autocorrelation time of three and divide 4,000 by three. Use multiple-chain ess as the focus. Predict the direction of change before using software, alter one defensible input, and finish with two sentences: what the calculation supports, and what remains uncertain. This habit turns mathematics education into transferable problem-solving rather than formula recall.

Contents · Previous chapter · Next chapter

CHAPTER 9 OF 25 · Reproduce the example

9. Bulk ESS

Back to contents

Precision depends on the particular posterior quantity. Bulk ESS measures efficiency for central location and rank-normalised means. Median log lifetime is the target. This step matters because autocorrelation, independent-equivalent information and reliability precision require the mathematical object, prediction target and reliability question to stay aligned. A large bulk ESS does not guarantee precise extreme quantiles. Add tail ESS.

A reproducible audit should record variables, units, observation boundaries, censoring codes, model version and software settings. Use effective draws per second when comparing computational efficiency. Rebuild the displayed number from saved inputs before interpreting it. A result that cannot be reproduced is not ready to guide reliability work.

Try a small learning experiment: sum autocorrelations 0.60, 0.30 and 0.10, form an autocorrelation time of three and divide 4,000 by three. Use bulk ess as the focus. Predict the direction of change before using software, alter one defensible input, and finish with two sentences: what the calculation supports, and what remains uncertain. This habit turns mathematics education into transferable problem-solving rather than formula recall.

Contents · Previous chapter · Next chapter

CHAPTER 10 OF 25 · Reproduce the example

10. Tail ESS

Back to contents

Begin with serial dependence. Tail ESS examines indicators for lower and upper quantile regions. Reliability at the 5th and 95th percentiles mixes slowly. This step matters because autocorrelation, independent-equivalent information and reliability precision require the mathematical object, prediction target and reliability question to stay aligned. One tail can be much worse than the centre. Report both tails.

A reproducible audit should record variables, units, observation boundaries, censoring codes, model version and software settings. Pair ESS with R-hat, MCSE, trace or rank plots and model diagnostics. Rebuild the displayed number from saved inputs before interpreting it. A result that cannot be reproduced is not ready to guide reliability work.

Try a small learning experiment: sum autocorrelations 0.60, 0.30 and 0.10, form an autocorrelation time of three and divide 4,000 by three. Use tail ess as the focus. Predict the direction of change before using software, alter one defensible input, and finish with two sentences: what the calculation supports, and what remains uncertain. This habit turns mathematics education into transferable problem-solving rather than formula recall.

Contents · Previous chapter · Next chapter

CHAPTER 11 OF 25 · Check assumptions

11. Quantile-specific efficiency

Back to contents

Now translate correlation into independent-equivalent information. Local ESS can be calculated for probabilities near a chosen quantile. The 0.99 lifetime quantile drives a warranty limit. This step matters because autocorrelation, independent-equivalent information and reliability precision require the mathematical object, prediction target and reliability question to stay aligned. Global ESS averages away local difficulty. Match ESS to the estimand.

A reproducible audit should record variables, units, observation boundaries, censoring codes, model version and software settings. Record the estimand, chain structure, autocorrelation method and software version. Rebuild the displayed number from saved inputs before interpreting it. A result that cannot be reproduced is not ready to guide reliability work.

Try a small learning experiment: sum autocorrelations 0.60, 0.30 and 0.10, form an autocorrelation time of three and divide 4,000 by three. Use quantile-specific efficiency as the focus. Predict the direction of change before using software, alter one defensible input, and finish with two sentences: what the calculation supports, and what remains uncertain. This habit turns mathematics education into transferable problem-solving rather than formula recall.

Did You Know? Effective sample size belongs to a chosen posterior quantity; one chain can have high ESS for a mean and low ESS for a tail quantile. That is why a careful report includes the construction, not only the final scalar.

Contents · Previous chapter · Next chapter

CHAPTER 12 OF 25 · Check assumptions

12. Reliability probabilities

Back to contents

Precision depends on the particular posterior quantity. Derived survival probabilities require their own ESS. R(1,000 hours) is computed at every draw. This step matters because autocorrelation, independent-equivalent information and reliability precision require the mathematical object, prediction target and reliability question to stay aligned. Parameter ESS does not automatically equal prediction ESS. Diagnose generated quantities.

A reproducible audit should record variables, units, observation boundaries, censoring codes, model version and software settings. Report bulk, tail and local ESS for the quantities that drive decisions. Rebuild the displayed number from saved inputs before interpreting it. A result that cannot be reproduced is not ready to guide reliability work.

Try a small learning experiment: sum autocorrelations 0.60, 0.30 and 0.10, form an autocorrelation time of three and divide 4,000 by three. Use reliability probabilities as the focus. Predict the direction of change before using software, alter one defensible input, and finish with two sentences: what the calculation supports, and what remains uncertain. This habit turns mathematics education into transferable problem-solving rather than formula recall.

Second authoritative source: https://doi.org/10.1214/20-BA1221. Compare its reference distribution, diagnostics and finite-simulation cautions with this worked example.

Contents · Previous chapter · Next chapter

CHAPTER 13 OF 25 · Check assumptions

13. Censored-data effects

Back to contents

Begin with serial dependence. Few observed failures can create strong posterior correlation between shape and scale. A ridge reduces ESS for median lifetime. This step matters because autocorrelation, independent-equivalent information and reliability precision require the mathematical object, prediction target and reliability question to stay aligned. More chains do not remove weak identification. Improve design or prior information.

A reproducible audit should record variables, units, observation boundaries, censoring codes, model version and software settings. Keep MCMC ESS distinct from observed sample size and weighted-sample ESS. Rebuild the displayed number from saved inputs before interpreting it. A result that cannot be reproduced is not ready to guide reliability work.

Try a small learning experiment: sum autocorrelations 0.60, 0.30 and 0.10, form an autocorrelation time of three and divide 4,000 by three. Use censored-data effects as the focus. Predict the direction of change before using software, alter one defensible input, and finish with two sentences: what the calculation supports, and what remains uncertain. This habit turns mathematics education into transferable problem-solving rather than formula recall.

Contents · Previous chapter · Next chapter

CHAPTER 14 OF 25 · Check assumptions

14. Hierarchical parameters

Back to contents

Now translate correlation into independent-equivalent information. Population means and group deviations often mix at different rates. Batch variance has ESS 120 while mean life has ESS 2,000. This step matters because autocorrelation, independent-equivalent information and reliability precision require the mathematical object, prediction target and reliability question to stay aligned. Reporting only the best value hides risk. Show the minimum relevant ESS.

A reproducible audit should record variables, units, observation boundaries, censoring codes, model version and software settings. Use effective draws per second when comparing computational efficiency. Rebuild the displayed number from saved inputs before interpreting it. A result that cannot be reproduced is not ready to guide reliability work.

Try a small learning experiment: sum autocorrelations 0.60, 0.30 and 0.10, form an autocorrelation time of three and divide 4,000 by three. Use hierarchical parameters as the focus. Predict the direction of change before using software, alter one defensible input, and finish with two sentences: what the calculation supports, and what remains uncertain. This habit turns mathematics education into transferable problem-solving rather than formula recall.

Contents · Previous chapter · Next chapter

CHAPTER 15 OF 25 · Check assumptions

15. Negative autocorrelation

Back to contents

Precision depends on the particular posterior quantity. Some algorithms can yield ESS estimates above the nominal number of draws. Alternating draws reduce variance of a mean. This step matters because autocorrelation, independent-equivalent information and reliability precision require the mathematical object, prediction target and reliability question to stay aligned. Very large estimates can also signal estimator noise. Interpret with diagnostics.

A reproducible audit should record variables, units, observation boundaries, censoring codes, model version and software settings. Pair ESS with R-hat, MCSE, trace or rank plots and model diagnostics. Rebuild the displayed number from saved inputs before interpreting it. A result that cannot be reproduced is not ready to guide reliability work.

Try a small learning experiment: sum autocorrelations 0.60, 0.30 and 0.10, form an autocorrelation time of three and divide 4,000 by three. Use negative autocorrelation as the focus. Predict the direction of change before using software, alter one defensible input, and finish with two sentences: what the calculation supports, and what remains uncertain. This habit turns mathematics education into transferable problem-solving rather than formula recall.

Contents · Previous chapter · Next chapter

CHAPTER 16 OF 25 · Explore applications

16. Thinning

Back to contents

Begin with serial dependence. Keeping every kth draw reduces stored autocorrelation but usually discards useful information. Saving every tenth draw shrinks the file. This step matters because autocorrelation, independent-equivalent information and reliability precision require the mathematical object, prediction target and reliability question to stay aligned. Thinning rarely improves ESS per computation. Thin only for justified storage or rank needs.

A reproducible audit should record variables, units, observation boundaries, censoring codes, model version and software settings. Record the estimand, chain structure, autocorrelation method and software version. Rebuild the displayed number from saved inputs before interpreting it. A result that cannot be reproduced is not ready to guide reliability work.

Try a small learning experiment: sum autocorrelations 0.60, 0.30 and 0.10, form an autocorrelation time of three and divide 4,000 by three. Use thinning as the focus. Predict the direction of change before using software, alter one defensible input, and finish with two sentences: what the calculation supports, and what remains uncertain. This habit turns mathematics education into transferable problem-solving rather than formula recall.

Did You Know? Effective sample size belongs to a chosen posterior quantity; one chain can have high ESS for a mean and low ESS for a tail quantile. That is why a careful report includes the construction, not only the final scalar.

Contents · Previous chapter · Next chapter

CHAPTER 17 OF 25 · Explore applications

17. More iterations

Back to contents

Now translate correlation into independent-equivalent information. When chains mix adequately, longer runs usually increase ESS roughly with work. Doubling post-warmup length nearly doubles bulk ESS. This step matters because autocorrelation, independent-equivalent information and reliability precision require the mathematical object, prediction target and reliability question to stay aligned. Poor geometry can prevent proportional gains. Measure ESS per second.

A reproducible audit should record variables, units, observation boundaries, censoring codes, model version and software settings. Report bulk, tail and local ESS for the quantities that drive decisions. Rebuild the displayed number from saved inputs before interpreting it. A result that cannot be reproduced is not ready to guide reliability work.

Try a small learning experiment: sum autocorrelations 0.60, 0.30 and 0.10, form an autocorrelation time of three and divide 4,000 by three. Use more iterations as the focus. Predict the direction of change before using software, alter one defensible input, and finish with two sentences: what the calculation supports, and what remains uncertain. This habit turns mathematics education into transferable problem-solving rather than formula recall.

Contents · Previous chapter · Next chapter

CHAPTER 18 OF 25 · Explore applications

18. Reparameterisation

Back to contents

Precision depends on the particular posterior quantity. A better coordinate system can reduce posterior correlation and raise ESS. Non-centred batch effects move more freely. This step matters because autocorrelation, independent-equivalent information and reliability precision require the mathematical object, prediction target and reliability question to stay aligned. Reparameterisation must preserve the intended prior. Validate the transformed model.

A reproducible audit should record variables, units, observation boundaries, censoring codes, model version and software settings. Keep MCMC ESS distinct from observed sample size and weighted-sample ESS. Rebuild the displayed number from saved inputs before interpreting it. A result that cannot be reproduced is not ready to guide reliability work.

Try a small learning experiment: sum autocorrelations 0.60, 0.30 and 0.10, form an autocorrelation time of three and divide 4,000 by three. Use reparameterisation as the focus. Predict the direction of change before using software, alter one defensible input, and finish with two sentences: what the calculation supports, and what remains uncertain. This habit turns mathematics education into transferable problem-solving rather than formula recall.

Contents · Previous chapter · Next chapter

CHAPTER 19 OF 25 · Explore applications

19. ESS and Monte Carlo error

Back to contents

Begin with serial dependence. For a posterior mean, MCSE is approximately posterior SD divided by square root ESS. ESS converts dependence into precision. This step matters because autocorrelation, independent-equivalent information and reliability precision require the mathematical object, prediction target and reliability question to stay aligned. This formula needs an appropriate central limit approximation. Report both quantities.

A reproducible audit should record variables, units, observation boundaries, censoring codes, model version and software settings. Use effective draws per second when comparing computational efficiency. Rebuild the displayed number from saved inputs before interpreting it. A result that cannot be reproduced is not ready to guide reliability work.

Try a small learning experiment: sum autocorrelations 0.60, 0.30 and 0.10, form an autocorrelation time of three and divide 4,000 by three. Use ess and monte carlo error as the focus. Predict the direction of change before using software, alter one defensible input, and finish with two sentences: what the calculation supports, and what remains uncertain. This habit turns mathematics education into transferable problem-solving rather than formula recall.

Contents · Previous chapter · Next chapter

CHAPTER 20 OF 25 · Explore applications

20. ESS is not data sample size

Back to contents

Now translate correlation into independent-equivalent information. MCMC ESS concerns numerical simulation, not the number of tested components. Fifty failures analysed with ESS 2,000 still have fifty observed failures. This step matters because autocorrelation, independent-equivalent information and reliability precision require the mathematical object, prediction target and reliability question to stay aligned. Computational precision cannot create scientific information. Keep both sample sizes distinct.

A reproducible audit should record variables, units, observation boundaries, censoring codes, model version and software settings. Pair ESS with R-hat, MCSE, trace or rank plots and model diagnostics. Rebuild the displayed number from saved inputs before interpreting it. A result that cannot be reproduced is not ready to guide reliability work.

Try a small learning experiment: sum autocorrelations 0.60, 0.30 and 0.10, form an autocorrelation time of three and divide 4,000 by three. Use ess is not data sample size as the focus. Predict the direction of change before using software, alter one defensible input, and finish with two sentences: what the calculation supports, and what remains uncertain. This habit turns mathematics education into transferable problem-solving rather than formula recall.

Contents · Previous chapter · Next chapter

CHAPTER 21 OF 25 · Study and verify

21. ESS is not importance ESS

Back to contents

Precision depends on the particular posterior quantity. Particle or importance-weight ESS uses weight concentration, while MCMC ESS uses serial dependence. Both share an independent-equivalent intuition. This step matters because autocorrelation, independent-equivalent information and reliability precision require the mathematical object, prediction target and reliability question to stay aligned. The formulas and failure modes differ. Name the estimator.

A reproducible audit should record variables, units, observation boundaries, censoring codes, model version and software settings. Record the estimand, chain structure, autocorrelation method and software version. Rebuild the displayed number from saved inputs before interpreting it. A result that cannot be reproduced is not ready to guide reliability work.

Try a small learning experiment: sum autocorrelations 0.60, 0.30 and 0.10, form an autocorrelation time of three and divide 4,000 by three. Use ess is not importance ess as the focus. Predict the direction of change before using software, alter one defensible input, and finish with two sentences: what the calculation supports, and what remains uncertain. This habit turns mathematics education into transferable problem-solving rather than formula recall.

Did You Know? Effective sample size belongs to a chosen posterior quantity; one chain can have high ESS for a mean and low ESS for a tail quantile. That is why a careful report includes the construction, not only the final scalar.

Contents · Previous chapter · Next chapter

CHAPTER 22 OF 25 · Study and verify

22. Stopping by target precision

Back to contents

Begin with serial dependence. Continue sampling until relevant ESS or MCSE targets are met after convergence checks. A warranty quantile needs more tail ESS. This step matters because autocorrelation, independent-equivalent information and reliability precision require the mathematical object, prediction target and reliability question to stay aligned. Stopping on a favourable estimate can bias reporting. Predefine targets.

A reproducible audit should record variables, units, observation boundaries, censoring codes, model version and software settings. Report bulk, tail and local ESS for the quantities that drive decisions. Rebuild the displayed number from saved inputs before interpreting it. A result that cannot be reproduced is not ready to guide reliability work.

Try a small learning experiment: sum autocorrelations 0.60, 0.30 and 0.10, form an autocorrelation time of three and divide 4,000 by three. Use stopping by target precision as the focus. Predict the direction of change before using software, alter one defensible input, and finish with two sentences: what the calculation supports, and what remains uncertain. This habit turns mathematics education into transferable problem-solving rather than formula recall.

Contents · Previous chapter · Next chapter

CHAPTER 23 OF 25 · Study and verify

23. Software and reproducibility

Back to contents

Now translate correlation into independent-equivalent information. Record chain counts, draws, transformations and estimator version. Two packages may use different legacy formulas. This step matters because autocorrelation, independent-equivalent information and reliability precision require the mathematical object, prediction target and reliability question to stay aligned. A bare ESS number is hard to reproduce. Save diagnostic settings.

A reproducible audit should record variables, units, observation boundaries, censoring codes, model version and software settings. Keep MCMC ESS distinct from observed sample size and weighted-sample ESS. Rebuild the displayed number from saved inputs before interpreting it. A result that cannot be reproduced is not ready to guide reliability work.

Try a small learning experiment: sum autocorrelations 0.60, 0.30 and 0.10, form an autocorrelation time of three and divide 4,000 by three. Use software and reproducibility as the focus. Predict the direction of change before using software, alter one defensible input, and finish with two sentences: what the calculation supports, and what remains uncertain. This habit turns mathematics education into transferable problem-solving rather than formula recall.

Contents · Previous chapter · Next chapter

CHAPTER 24 OF 25 · Study and verify

24. Parent and student learning route

Back to contents

Precision depends on the particular posterior quantity. ESS connects sequences, correlations, sums, ratios and square roots. Verify tau=3 and ESS≈1,333. This step matters because autocorrelation, independent-equivalent information and reliability precision require the mathematical object, prediction target and reliability question to stay aligned. The main insight is that dependence reduces information. Compare two correlation patterns.

A reproducible audit should record variables, units, observation boundaries, censoring codes, model version and software settings. Use effective draws per second when comparing computational efficiency. Rebuild the displayed number from saved inputs before interpreting it. A result that cannot be reproduced is not ready to guide reliability work.

Try a small learning experiment: sum autocorrelations 0.60, 0.30 and 0.10, form an autocorrelation time of three and divide 4,000 by three. Use parent and student learning route as the focus. Predict the direction of change before using software, alter one defensible input, and finish with two sentences: what the calculation supports, and what remains uncertain. This habit turns mathematics education into transferable problem-solving rather than formula recall.

Useful next reading: eduKate Mathematics Learning System, approach to learning mathematics, Bukit Timah Mathematics curriculum overview, cross-subject learning approach, previous Why Mathematics article, Mathematics Learning Hub. Choose the destination that matches the next question rather than treating links as a checklist.

Contents · Previous chapter · Next chapter

CHAPTER 25 OF 25 · Study and verify

25. Common misconceptions and next reading

Back to contents

Begin with serial dependence. ESS is not the number of observations, a universal property of a chain or a substitute for convergence. Bulk and tail values answer different precision questions. This step matters because autocorrelation, independent-equivalent information and reliability precision require the mathematical object, prediction target and reliability question to stay aligned. A large ESS cannot validate the scientific model. Read Geyer and the improved R-hat and ESS paper.

A reproducible audit should record variables, units, observation boundaries, censoring codes, model version and software settings. Pair ESS with R-hat, MCSE, trace or rank plots and model diagnostics. Rebuild the displayed number from saved inputs before interpreting it. A result that cannot be reproduced is not ready to guide reliability work.

Try a small learning experiment: sum autocorrelations 0.60, 0.30 and 0.10, form an autocorrelation time of three and divide 4,000 by three. Use common misconceptions and next reading as the focus. Predict the direction of change before using software, alter one defensible input, and finish with two sentences: what the calculation supports, and what remains uncertain. This habit turns mathematics education into transferable problem-solving rather than formula recall.

Quick answers

What must be fixed before checking a model or algorithm? Define the dataset unit, censoring mechanism, time scale, parameterisation, simulation design and diagnostic rule.

Does a satisfactory diagnostic prove the model is true? No. It supports a particular check under stated assumptions and simulation conditions.

Which mathematics matters? Probability defines the reference distribution, simulation makes it observable, proportions summarise tail events, variance describes uncertainty and graphs expose structured mismatch.

How should a student practise? Preserve intermediate quantities, predict directions before calculating, change one input at a time and explain the result in ordinary language.

What follows an internal check? Sensitivity analysis, independent computation, held-out or later-data prediction and a separate decision analysis when cost or safety matters.

Contents · Previous chapter · Mathematics Learning Hub

Extended practice laboratory

Practice case 1: Saved draws are not independent

Setup: Use this chapter’s illustrative case: A slowly moving Weibull shape produces long runs of similar values.

Task: Inspect dependence.

Checking target: File size is not information size.

Practice case 2: Autocorrelation by lag

Setup: Use this chapter’s illustrative case: The example uses 0.60, 0.30 and 0.10.

Task: Plot several lags.

Checking target: Negative and nonlinear dependence need careful treatment.

Practice case 3: Integrated autocorrelation time

Setup: Use this chapter’s illustrative case: The teaching sum is 1+2×1=3.

Task: Use validated sequence estimators.

Checking target: Arbitrary truncation can make the estimate unstable.

Practice case 4: Worked ESS about 1,333

Setup: Use this chapter’s illustrative case: 4,000/3 is about 1,333.

Task: Report method and target.

Checking target: The number is quantity-specific and approximate.

Practice case 5: Efficiency ratio

Setup: Use this chapter’s illustrative case: 1,333/4,000 is about 0.333.

Task: Compare time per effective draw.

Checking target: High computational cost per draw is not reflected.

Practice case 6: Why autocorrelations become noisy

Setup: Use this chapter’s illustrative case: A tail of small sample correlations changes the raw sum.

Task: Use initial positive sequences.

Checking target: Summing every lag can produce nonsense.

Practice case 7: Geyer sequence ideas

Setup: Use this chapter’s illustrative case: Noisy late pairs are excluded.

Task: Keep chain length adequate.

Checking target: Finite-sample estimates still have uncertainty.

Practice case 8: Multiple-chain ESS

Setup: Use this chapter’s illustrative case: Four chains contribute to one bulk ESS.

Task: Check R-hat first.

Checking target: Concatenating nonconverged chains can inflate confidence.

Practice case 9: Bulk ESS

Setup: Use this chapter’s illustrative case: Median log lifetime is the target.

Task: Add tail ESS.

Checking target: A large bulk ESS does not guarantee precise extreme quantiles.

Practice case 10: Tail ESS

Setup: Use this chapter’s illustrative case: Reliability at the 5th and 95th percentiles mixes slowly.

Task: Report both tails.

Checking target: One tail can be much worse than the centre.