Learning Labs , 7 labs

Chance & Simulation

Estimate answers from seeded random trials, watch sample means turn normal, bootstrap one small sample, send walkers on random walks, queue customers at service windows and test a system's reliability. Every lab here runs live on a reviewed model, with challenges the model scores.

Start from your question

What are you working out?

The labs

All 7 chance & simulation labs

Chance & simulation

Bootstrap Confidence Interval Lab

The nonparametric bootstrap of one sample of 2 to 30 values, generated from a seeded Normal, Uniform or Exponential parent or placed by the visitor: up to 1,000 resamples with replacement from one seeded stream, the mean or the median, the type 7 percentile interval beside the basic interval and the t-interval, the bootstrap standard error and bias and the exact plug-in standard error, a 30-bin histogram with a normal reference, pick counts of the first five resamples, the width at n = 5, 10, 20 and 30 against a 1/sqrt(n) guide, the median's share and distinct medians, and five scored challenges.

Chance & simulation

Central Limit Theorem Explorer

Draws up to 500 seeded samples of 1 to 30 values from a uniform, a fair die, an exponential or a custom parent of up to six whole values with whole weights, and shows the central limit theorem at work: the histogram of the sample means on exact lattice bins (die and custom) or grid bins, over the whole range or zoomed to the means, against the normal curve the theorem predicts; the spread of the means against sigma over the square root of n, and their skewness and kurtosis against the theory, at the chosen n and at n = 1, 2, 5, 10, 20 and 30 from the same draws; the share of means within one standard error; and the running mean of all draws (the law of large numbers). One seeded integer stream by jump-ahead, checked against the plain chain; five scored challenges are included. For learning sampling distributions.

Chance & simulation

Monte Carlo Probability Laboratory

Seeded, repeatable Monte Carlo experiments computed entirely by the model: estimate pi from random points, flip coins, roll dice or sample a uniform, triangular, exponential or custom discrete distribution, for up to 500 trials. Shows every trial, the running estimate with its confidence band, a histogram against the exact counts, the exact answer and an interval for the event probability, with five scored challenges. For learning probability and sampling.

Chance & simulation

Monte Carlo Variance Reduction Lab

Estimates the integral of one of four fixed functions on 0 to 1 (an exponential, a tilted hump, a hockey stick or an event share) five ways that each spend the same N evaluations, repeated 40 times on one seeded stream: plain sampling, antithetic pairs, a control variate with an estimated or chosen coefficient, and one draw per stratum. Every exact mean and variance is a closed form, shown beside the spread of the 40 estimates, with the variance ratios against plain sampling, the narrowest method, interval coverage, the control's spread against its coefficient and the exact variance against N. Five scored challenges are included. For learning variance reduction in Monte Carlo integration.

Chance & simulation

Poisson Queue Laboratory

Customers arrive at random at 1 to 4 service windows, wait in one first-come-first-served line, and are turned away when a limited room is full; service is exponential, two-stage Erlang or constant. One seeded run of up to 100 customers, computed customer by customer with common random numbers, gives 101 animation frames, the step path of the number in the system, the time share of each queue length against exact theory, three more runs to show how much one short run can mislead, and Little's law; the exact long-run results come from the Erlang C, M/M/c/K and Pollaczek-Khinchine formulas, with the Allen-Cunneen approximation labelled. Five challenges are scored on exact theory. For learning queueing theory and simulation.

Chance & simulation

Random Walk and Diffusion Lab

Up to 300 seeded walkers take 100 unit steps on a line (with a whole-percent bias and an optional absorbing wall) or on the square lattice: the mean squared displacement with a +/- 2 standard-error band against the exact theory (it grows like the number of steps, the RMS distance like its square root), a position histogram against the exact binomial law (the image formula with the wall), the absorbed share against the reflection principle and a fitted diffusion coefficient. One seeded integer stream by jump-ahead; five scored challenges are included. For learning probability and diffusion.

Chance & simulation

Reliability Monte Carlo Explorer

Up to eight parts in up to four k-out-of-n stages in series, or the five-part bridge: the exact system reliability at the mission time and over time, each part's Birnbaum importance, and a seeded sample of up to 500 simulated systems (exponential lives, common random numbers) with the fail frame and failed part of each, a Wilson band, a running estimate, a life histogram against exact expected counts and the zero-failure bound beside the rule of three. Five scored challenges are included. For learning system reliability and what a test campaign can prove.

Results are informational and not professional advice. See our Terms of Use. Calculations powered by SpreadsheetWeb.
About · Privacy · Terms