Stationary-distribution calibration for a two-state chain
Compare a known stationary distribution with matrix iteration and occupation frequencies from a deterministic-seed Markov-chain simulation.
Research, software, data and methods. Inspect the context, compare your options, and take a useful next step.
Compare a known stationary distribution with matrix iteration and occupation frequencies from a deterministic-seed Markov-chain simulation.
Integrate y'=-y from zero to one at five resolutions and compare each final value with the analytical exponential solution.
Implement bounded-memory reservoir sampling and record sample integrity plus marginal inclusion frequencies across a fixed-seed simulation.
Compare sequential sum and math.fsum on a repeated cancellation pattern, with a Fraction reference for the exact represented inputs.
Generate 256 paired synthetic measurements through a declared linear transformation of independent standard-normal draws, with known population covariance.
Generate paired complete, independently missing, and value-dependent missing observations from a declared standard-normal process.
Generate 128 regression observations with known coefficients, a declared Gaussian noise process, and a fixed train/test split, together with a small reference fit.
Compare a raw second-moment formula, Welford accumulation, and statistics.pvariance on five large observations with an exact population variance of two.
Recorded license evidence is scoped to each source; it is not a blanket permission or a verification result.