CommerceLens
Random Variables & Uncertainty

Continuous Distribution Lab

Model Simulation

Continuous random variables can take any value within a range, not just whole numbers. Each tab below fits a business scenario to a theoretical distribution shape parameterized by assumptions or an observed rate — these are forward-looking models, not distributions re-derived by fitting raw per-row data.

Business scenario: within a fixed promotional window, a session is equally likely to start at any moment — session arrival time is modeled as Uniform(a, b).

Parameters
Default window: a = 0, b = 12 (hours into the window)
Window start (a)0
Window end (b)12
Mean
6
Variance
12
Std. Deviation
3.46
Density & Cumulative Distribution
PDF is flat between a and b; CDF rises linearly from 0 to 1
Point & Range Probabilities
Evaluate at x6
P(X ≤ 6)
50.00%
P(X > 6)
50.00%
Evaluate between x1 and x23 – 9
P(3 < X ≤ 9)
50.00%
Uniform(a, b) formulas
f(x) = 1 / (b − a) for a ≤ x ≤ b F(x) = (x − a) / (b − a) E[X] = (a + b) / 2 Var(X) = (b − a)² / 12
Uniformity is a strong assumption: it says every moment in the window is equally likely to see a session start. It can be reasonable for a short, evenly-promoted flash window, but is usually a poor fit for a real marketing campaign, where traffic typically spikes right after launch or around reminder emails/push notifications rather than spreading evenly — this is a simplifying model choice, not a fact verified against raw session timestamps.