Choose your reading route
eduKateSG · Why Mathematics? · Spike-and-Slab Priors for Reliability Variable Selection: Inclusion Indicators, Posterior Probabilities, Multiplicity and Model Uncertainty
Start with the question, audit the worked example, or jump to the assumptions and practice. Every chapter stays open for uninterrupted reading.
Understand the question
Define the quantity and follow the mechanism.Route 2 · Chapters 6–10
Reproduce the example
Audit the numbers one step at a time.Route 3 · Chapters 11–15
Check assumptions
See where design and calibration matter.Route 4 · Chapters 16–20
Explore applications
Connect the method to a concrete investigation.Route 5 · Chapters 21–25
Study and verify
Practise, inspect failure cases and read further.
Full chapter index · Practice and checking · Mathematics Learning Hub
The importance of mathematics becomes visible when a reliability analyst must represent uncertainty about whether a predictor belongs in a model at all. A spike-and-slab prior mixes a spike at or near zero with a wider slab for a potentially active coefficient. A binary inclusion indicator connects coefficient estimation with model uncertainty, while posterior inclusion probabilities preserve uncertainty that a single selected model would discard.
Suppose a predictor has prior inclusion probability 0.20, so the prior odds are 0.20/0.80=0.25. If its Bayes factor for inclusion over exclusion is 6, posterior odds are 0.25×6=1.5 and posterior inclusion probability is 1.5/(1+1.5)=0.60. The arithmetic is exact for the stated two-model comparison; the Bayes factor itself depends on the likelihood, slab, model space and treatment of censoring.
Full chapter index
Chapters 1–5 · Understand the question
Chapters 6–10 · Reproduce the example
Chapters 11–15 · Check assumptions
Chapters 16–20 · Explore applications
Chapters 21–25 · Study and verify
Begin with explicit model uncertainty. Reliability studies may measure more candidate predictors than failures support. Sensors, suppliers and interactions compete for attention. This step matters because explicit model uncertainty, probabilistic inclusion and predictive reliability decisions require the mathematical object, prediction target and reliability question to stay aligned. A selected variable is not automatically causal. Define the prediction goal.
A reproducible audit should record variables, units, observation boundaries, censoring codes, model version and software settings. Save the candidate model space, inclusion prior, spike and slab. 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: convert prior inclusion 0.20 to odds, multiply by Bayes factor six, and convert posterior odds to probability. Use why selection appears 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? The model with the highest posterior probability need not be the model with the best squared-error predictive properties under the median-probability theorem’s conditions. That is why a careful report includes the construction, not only the final scalar.
Now update inclusion odds with evidence. The spike concentrates at zero or in a narrow neighbourhood. Excluded effects contribute no or tiny variation. This step matters because explicit model uncertainty, probabilistic inclusion and predictive reliability decisions require the mathematical object, prediction target and reliability question to stay aligned. A continuous spike is not exact exclusion. Name the construction.
A reproducible audit should record variables, units, observation boundaries, censoring codes, model version and software settings. Rebuild prior odds, Bayes factors and posterior inclusion probabilities. 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: convert prior inclusion 0.20 to odds, multiply by Bayes factor six, and convert posterior odds to probability. Use the spike component 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.
Averaged predictions preserve uncertainty. The slab permits scientifically plausible nonzero effects. An active temperature slope varies on a wider scale. This step matters because explicit model uncertainty, probabilistic inclusion and predictive reliability decisions require the mathematical object, prediction target and reliability question to stay aligned. An extremely diffuse slab can create paradoxical evidence. Calibrate it predictively.
A reproducible audit should record variables, units, observation boundaries, censoring codes, model version and software settings. Inspect joint inclusion for collinear predictors and interactions. 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: convert prior inclusion 0.20 to odds, multiply by Bayes factor six, and convert posterior odds to probability. Use the slab component 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.
Begin with explicit model uncertainty. A binary gamma links each coefficient to spike or slab. Gamma one activates the predictor. This step matters because explicit model uncertainty, probabilistic inclusion and predictive reliability decisions require the mathematical object, prediction target and reliability question to stay aligned. Indicators increase a combinatorial model space. Use appropriate computation.
A reproducible audit should record variables, units, observation boundaries, censoring codes, model version and software settings. Keep posterior inclusion distinct from causality and decision value. 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: convert prior inclusion 0.20 to odds, multiply by Bayes factor six, and convert posterior odds to probability. Use inclusion indicator 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.1080/01621459.1988.10478694. Read the authors’ definition and conditions before carrying the method into a censored reliability model.
Now update inclusion odds with evidence. Pi expresses the probability assigned to inclusion before data. Pi 0.20 favours sparse models. This step matters because explicit model uncertainty, probabilistic inclusion and predictive reliability decisions require the mathematical object, prediction target and reliability question to stay aligned. It is not a frequentist false-positive rate. State and justify pi.
A reproducible audit should record variables, units, observation boundaries, censoring codes, model version and software settings. Validate averaged predictions on held-out or later data. 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: convert prior inclusion 0.20 to odds, multiply by Bayes factor six, and convert posterior odds to probability. Use prior inclusion probability 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.
Averaged predictions preserve uncertainty. Convert probability pi to odds pi over one minus pi. For pi 0.20, prior odds are 0.25. This step matters because explicit model uncertainty, probabilistic inclusion and predictive reliability decisions require the mathematical object, prediction target and reliability question to stay aligned. Odds and probabilities are not interchangeable. Show the conversion.
A reproducible audit should record variables, units, observation boundaries, censoring codes, model version and software settings. Save the candidate model space, inclusion prior, spike and slab. 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: convert prior inclusion 0.20 to odds, multiply by Bayes factor six, and convert posterior odds to probability. Use prior odds 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? The model with the highest posterior probability need not be the model with the best squared-error predictive properties under the median-probability theorem’s conditions. That is why a careful report includes the construction, not only the final scalar.
| Quantity | Value |
|---|---|
| Prior inclusion probability | 0.20 |
| Prior odds | 0.25 |
| Bayes factor inclusion/exclusion | 6 |
| Posterior odds | 1.50 |
| Posterior inclusion probability | 0.60 |
Begin with explicit model uncertainty. Multiply prior odds by the inclusion Bayes factor. A Bayes factor six gives posterior odds 1.5. This step matters because explicit model uncertainty, probabilistic inclusion and predictive reliability decisions require the mathematical object, prediction target and reliability question to stay aligned. Bayes factors are sensitive to prior scale. Report the slab.
A reproducible audit should record variables, units, observation boundaries, censoring codes, model version and software settings. Rebuild prior odds, Bayes factors and posterior inclusion probabilities. 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: convert prior inclusion 0.20 to odds, multiply by Bayes factor six, and convert posterior odds to probability. Use bayes factor update 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.
Now update inclusion odds with evidence. Convert posterior odds O to O over one plus O. Odds 1.5 become probability 0.60. This step matters because explicit model uncertainty, probabilistic inclusion and predictive reliability decisions require the mathematical object, prediction target and reliability question to stay aligned. Sixty percent is uncertainty, not proof. Preserve the probability.
A reproducible audit should record variables, units, observation boundaries, censoring codes, model version and software settings. Inspect joint inclusion for collinear predictors and interactions. 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: convert prior inclusion 0.20 to odds, multiply by Bayes factor six, and convert posterior odds to probability. Use posterior inclusion probability 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.
Averaged predictions preserve uncertainty. Calculate 0.20/0.80, multiply by six, then divide 1.5 by 2.5. The final inclusion probability is 0.60. This step matters because explicit model uncertainty, probabilistic inclusion and predictive reliability decisions require the mathematical object, prediction target and reliability question to stay aligned. Rounding early can distort close decisions. Keep exact fractions.
A reproducible audit should record variables, units, observation boundaries, censoring codes, model version and software settings. Keep posterior inclusion distinct from causality and decision value. 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: convert prior inclusion 0.20 to odds, multiply by Bayes factor six, and convert posterior odds to probability. Use worked sequence 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.
Begin with explicit model uncertainty. A point mass gives exact zeros while a narrow normal approximates exclusion. Different samplers favour different forms. This step matters because explicit model uncertainty, probabilistic inclusion and predictive reliability decisions require the mathematical object, prediction target and reliability question to stay aligned. They imply different posterior meanings. Do not conflate them.
A reproducible audit should record variables, units, observation boundaries, censoring codes, model version and software settings. Validate averaged predictions on held-out or later data. 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: convert prior inclusion 0.20 to odds, multiply by Bayes factor six, and convert posterior odds to probability. Use point-mass versus continuous spike 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.
Now update inclusion odds with evidence. P candidate predictors generate up to two to the power P subsets. Twenty predictors imply over one million subsets. This step matters because explicit model uncertainty, probabilistic inclusion and predictive reliability decisions require the mathematical object, prediction target and reliability question to stay aligned. Not every subset is scientifically valid. Impose hierarchy and constraints.
A reproducible audit should record variables, units, observation boundaries, censoring codes, model version and software settings. Save the candidate model space, inclusion prior, spike and slab. 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: convert prior inclusion 0.20 to odds, multiply by Bayes factor six, and convert posterior odds to probability. Use model-space 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.
Did You Know? The model with the highest posterior probability need not be the model with the best squared-error predictive properties under the median-probability theorem’s conditions. That is why a careful report includes the construction, not only the final scalar.
Averaged predictions preserve uncertainty. A hierarchical prior on inclusion probability can adapt as more predictors are considered. Evidence must compete across a wider set. This step matters because explicit model uncertainty, probabilistic inclusion and predictive reliability decisions require the mathematical object, prediction target and reliability question to stay aligned. Automatic adjustment depends on the chosen prior. Explain the mechanism.
A reproducible audit should record variables, units, observation boundaries, censoring codes, model version and software settings. Rebuild prior odds, Bayes factors and posterior inclusion probabilities. 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: convert prior inclusion 0.20 to odds, multiply by Bayes factor six, and convert posterior odds to probability. Use multiplicity control 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/009053604000000238. Compare its reference distribution, diagnostics and finite-simulation cautions with this worked example.
Begin with explicit model uncertainty. An interaction may require both main effects. Temperature by load appears only with its parents. This step matters because explicit model uncertainty, probabilistic inclusion and predictive reliability decisions require the mathematical object, prediction target and reliability question to stay aligned. Unrestricted selection can create hard-to-interpret models. Encode heredity.
A reproducible audit should record variables, units, observation boundaries, censoring codes, model version and software settings. Inspect joint inclusion for collinear predictors and interactions. 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: convert prior inclusion 0.20 to odds, multiply by Bayes factor six, and convert posterior odds to probability. Use strong heredity for interactions 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.
Now update inclusion odds with evidence. Correlated predictors can divide inclusion probability among substitutes. Two sensors measure similar vibration. This step matters because explicit model uncertainty, probabilistic inclusion and predictive reliability decisions require the mathematical object, prediction target and reliability question to stay aligned. Low marginal inclusion can hide strong group importance. Inspect joint inclusion events.
A reproducible audit should record variables, units, observation boundaries, censoring codes, model version and software settings. Keep posterior inclusion distinct from causality and decision value. 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: convert prior inclusion 0.20 to odds, multiply by Bayes factor six, and convert posterior odds to probability. Use collinearity 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.
Averaged predictions preserve uncertainty. The likelihood must include both failures and censoring under each model. A predictor observed mostly in censored units has weak evidence. This step matters because explicit model uncertainty, probabilistic inclusion and predictive reliability decisions require the mathematical object, prediction target and reliability question to stay aligned. Treating censoring as failure biases selection. Audit likelihood code.
A reproducible audit should record variables, units, observation boundaries, censoring codes, model version and software settings. Validate averaged predictions on held-out or later data. 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: convert prior inclusion 0.20 to odds, multiply by Bayes factor six, and convert posterior odds to probability. Use censoring 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.
Begin with explicit model uncertainty. Every subset receives probability after integrating parameters. Several models may remain plausible. This step matters because explicit model uncertainty, probabilistic inclusion and predictive reliability decisions require the mathematical object, prediction target and reliability question to stay aligned. The highest-probability model need not dominate. Report uncertainty.
A reproducible audit should record variables, units, observation boundaries, censoring codes, model version and software settings. Save the candidate model space, inclusion prior, spike and slab. 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: convert prior inclusion 0.20 to odds, multiply by Bayes factor six, and convert posterior odds to probability. Use posterior model 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.
Did You Know? The model with the highest posterior probability need not be the model with the best squared-error predictive properties under the median-probability theorem’s conditions. That is why a careful report includes the construction, not only the final scalar.
Now update inclusion odds with evidence. Average predictions across models using posterior probabilities. Failure risk combines multiple subset predictions. This step matters because explicit model uncertainty, probabilistic inclusion and predictive reliability decisions require the mathematical object, prediction target and reliability question to stay aligned. Poorly calibrated models remain poor when averaged. Check predictive fit.
A reproducible audit should record variables, units, observation boundaries, censoring codes, model version and software settings. Rebuild prior odds, Bayes factors and posterior inclusion probabilities. 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: convert prior inclusion 0.20 to odds, multiply by Bayes factor six, and convert posterior odds to probability. Use bayesian model averaging 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.
Averaged predictions preserve uncertainty. Under specific normal-linear conditions, variables with inclusion probability at least one half can form an optimal predictive model. The teaching example crosses 0.50. This step matters because explicit model uncertainty, probabilistic inclusion and predictive reliability decisions require the mathematical object, prediction target and reliability question to stay aligned. The theorem has conditions and does not cover every survival model. Cite conditions.
A reproducible audit should record variables, units, observation boundaries, censoring codes, model version and software settings. Inspect joint inclusion for collinear predictors and interactions. 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: convert prior inclusion 0.20 to odds, multiply by Bayes factor six, and convert posterior odds to probability. Use median probability model 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.
Begin with explicit model uncertainty. Enumeration, MCMC model jumps or continuous relaxations explore model space. A sampler moves among predictor subsets. This step matters because explicit model uncertainty, probabilistic inclusion and predictive reliability decisions require the mathematical object, prediction target and reliability question to stay aligned. Poor mixing understates model uncertainty. Use repeated chains and diagnostics.
A reproducible audit should record variables, units, observation boundaries, censoring codes, model version and software settings. Keep posterior inclusion distinct from causality and decision value. 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: convert prior inclusion 0.20 to odds, multiply by Bayes factor six, and convert posterior odds to probability. Use computation 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.
Now update inclusion odds with evidence. Vary pi, slab width and indicator dependence. Posterior inclusion moves from 0.60 under alternative assumptions. This step matters because explicit model uncertainty, probabilistic inclusion and predictive reliability decisions require the mathematical object, prediction target and reliability question to stay aligned. A stable selected set can hide unstable predictions. Track both.
A reproducible audit should record variables, units, observation boundaries, censoring codes, model version and software settings. Validate averaged predictions on held-out or later data. 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: convert prior inclusion 0.20 to odds, multiply by Bayes factor six, and convert posterior odds to probability. Use prior sensitivity 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.
Averaged predictions preserve uncertainty. Compare averaged predictions on held-out or later data. A sparse model preserves calibration. This step matters because explicit model uncertainty, probabilistic inclusion and predictive reliability decisions require the mathematical object, prediction target and reliability question to stay aligned. Selection on the same data can look optimistic. Use proper validation.
A reproducible audit should record variables, units, observation boundaries, censoring codes, model version and software settings. Save the candidate model space, inclusion prior, spike and slab. 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: convert prior inclusion 0.20 to odds, multiply by Bayes factor six, and convert posterior odds to probability. Use predictive validation 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? The model with the highest posterior probability need not be the model with the best squared-error predictive properties under the median-probability theorem’s conditions. That is why a careful report includes the construction, not only the final scalar.
Begin with explicit model uncertainty. Inclusion probabilities can guide sensor-retention studies. A costly sensor has modest predictive value. This step matters because explicit model uncertainty, probabilistic inclusion and predictive reliability decisions require the mathematical object, prediction target and reliability question to stay aligned. Probability of inclusion is not monetary value. Combine with costs.
A reproducible audit should record variables, units, observation boundaries, censoring codes, model version and software settings. Rebuild prior odds, Bayes factors and posterior inclusion probabilities. 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: convert prior inclusion 0.20 to odds, multiply by Bayes factor six, and convert posterior odds to probability. Use decision implications 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.
Now update inclusion odds with evidence. Save model space, pi, spike, slab, Bayes factor method and sampler diagnostics. A reviewer reproduces posterior odds. This step matters because explicit model uncertainty, probabilistic inclusion and predictive reliability decisions require the mathematical object, prediction target and reliability question to stay aligned. A selected formula alone hides uncertainty. Archive all settings.
A reproducible audit should record variables, units, observation boundaries, censoring codes, model version and software settings. Inspect joint inclusion for collinear predictors and interactions. 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: convert prior inclusion 0.20 to odds, multiply by Bayes factor six, and convert posterior odds to probability. Use reproducible reporting 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.
Averaged predictions preserve uncertainty. Spike-and-slab priors connect mixtures, odds, multiplication and combinatorics. Verify 0.25, 1.5 and 0.60. This step matters because explicit model uncertainty, probabilistic inclusion and predictive reliability decisions require the mathematical object, prediction target and reliability question to stay aligned. A posterior probability is conditional on the model set. Draw the probability tree.
A reproducible audit should record variables, units, observation boundaries, censoring codes, model version and software settings. Keep posterior inclusion distinct from causality and decision value. 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: convert prior inclusion 0.20 to odds, multiply by Bayes factor six, and convert posterior odds to probability. 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.
Begin with explicit model uncertainty. Spike-and-slab selection does not prove causation or guarantee one true model. It represents uncertainty over specified alternatives. This step matters because explicit model uncertainty, probabilistic inclusion and predictive reliability decisions require the mathematical object, prediction target and reliability question to stay aligned. A threshold is a decision rule, not a law. Read Mitchell, Beauchamp, Barbieri and Berger.
A reproducible audit should record variables, units, observation boundaries, censoring codes, model version and software settings. Validate averaged predictions on held-out or later data. 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: convert prior inclusion 0.20 to odds, multiply by Bayes factor six, and convert posterior odds to probability. 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.
Extended practice laboratory
Practice case 1: Why selection appears
Setup: Use this chapter’s illustrative case: Sensors, suppliers and interactions compete for attention.
Task: Define the prediction goal.
Checking target: A selected variable is not automatically causal.
Practice case 2: The spike component
Setup: Use this chapter’s illustrative case: Excluded effects contribute no or tiny variation.
Task: Name the construction.
Checking target: A continuous spike is not exact exclusion.
Practice case 3: The slab component
Setup: Use this chapter’s illustrative case: An active temperature slope varies on a wider scale.
Task: Calibrate it predictively.
Checking target: An extremely diffuse slab can create paradoxical evidence.
Practice case 4: Inclusion indicator
Setup: Use this chapter’s illustrative case: Gamma one activates the predictor.
Task: Use appropriate computation.
Checking target: Indicators increase a combinatorial model space.
Practice case 5: Prior inclusion probability
Setup: Use this chapter’s illustrative case: Pi 0.20 favours sparse models.
Task: State and justify pi.
Checking target: It is not a frequentist false-positive rate.
Practice case 6: Prior odds
Setup: Use this chapter’s illustrative case: For pi 0.20, prior odds are 0.25.
Task: Show the conversion.
Checking target: Odds and probabilities are not interchangeable.
Practice case 7: Bayes factor update
Setup: Use this chapter’s illustrative case: A Bayes factor six gives posterior odds 1.5.
Task: Report the slab.
Checking target: Bayes factors are sensitive to prior scale.
Practice case 8: Posterior inclusion probability
Setup: Use this chapter’s illustrative case: Odds 1.5 become probability 0.60.
Task: Preserve the probability.
Checking target: Sixty percent is uncertainty, not proof.
Practice case 9: Worked sequence
Setup: Use this chapter’s illustrative case: The final inclusion probability is 0.60.
Task: Keep exact fractions.
Checking target: Rounding early can distort close decisions.
Practice case 10: Point-mass versus continuous spike
Setup: Use this chapter’s illustrative case: Different samplers favour different forms.
Task: Do not conflate them.
Checking target: They imply different posterior meanings.