Lambdia

Probability & statistics

Conditioning, expectation, distributions and the paradoxes that make strong candidates answer too fast.

30 questions

A Linear Term in the Exponent Moves the Bell and Does Nothing Else

A plain t sitting next to the t squared in a Gaussian exponent looks like a new function and is only a shift. Completing the square turns the integral of e to the minus a t squared over two plus b t, from x to infinity, into e to the b squared over 2a times the root of 2 pi over a times the standard normal at a rescaled and shifted argument, never at x itself. The worked case comes out as exactly half a bell, e root pi over two or 2.40901455, but only because its lower limit happens to land on the centre b over a.

0

Twenty Daily Variances Do Not Make a Monthly One, and the 18 Percent That Explains It

Daily, weekly and monthly returns give per-day variance estimates of 1.0000, 1.3225 and 1.4000, and the reflex is to average them into 1.2408, a figure no horizon produced. The variance ratio is a weighted sum of autocorrelations, so a forty percent overshoot at twenty periods measures dependence rather than noise, and the coefficient that reproduces it is 0.17554. With twenty years of daily data that ratio sits 4.6 standard errors above one and with five years only 2.3, which is why the number means nothing without the sample size attached.

0

A Shock Is Still Half Remembered Thirty-Four Days Later

Two weights that add to 0.98 give the variance forecast a half-life of 34.31 days; delete the second one and the half-life is 0.2744 days, gone before the next open. The same recursion turns strictly normal daily draws into a year with kurtosis exactly 297/67, and one shuffle of those same numbers separates the fat tail from the clustering. It also has a condition nobody quotes: stationarity is not enough for that kurtosis to be finite.

0

The Average of e to the X Is Never One

Moving the average inside the exponential returns 1, and 1 happens to be the exact median and the exact geometric mean of e^X, which is why the mistake survives every re-check of the arithmetic. Completing the square in the exponent gives the true value e^(sigma squared over two), or 1.6487 at unit spread, because multiplying a Gaussian density by e^x slides its centre and scales its mass. Convexity settles the direction before any integral is set up, and on a heavy-tailed variable the quantity stops being finite at all.

0

One Head Tilts a Flat Prior to 2p, and the Average Bias to Two Thirds

A flat belief about a coin's bias is an input to the calculation, not a conclusion of it, and a single head does not leave it standing. The density tilts to 2p, the cumulative law becomes p squared, the average bias moves to 2/3, and the old answer of one half is demoted to the lower quartile. The general update is the Beta conjugate family, which sends 750 heads in 1000 to Beta(751, 251) with mean 0.749501.

0

A 40% Shot Beats a 70% Shot That Only Buys a Coin Flip

Going in and winning are different events: the short shot clears two hurdles and wins 0.35 of the time against the long shot's 0.40. The article prices how wrong the reflex is in two currencies, a break-even overtime rate of 4/7 and a break-even make rate of 80 percent at a coin-flip overtime. It also names the objective under which the reflex is right, since the short shot scores 1.40 expected points against 1.20 and still wins fewer games.

0

Slide It, Stretch It, and the Correlation Does Not Move

A shift leaves every deviation from the mean untouched, and a stretch multiplies the covariance and one standard deviation by the same factor, so both cancel out of the ratio. The tempting answer of five times rho is worse than wrong: at rho = 0.40 it names 2.0, which Cauchy-Schwarz forbids any correlation from reaching. The article carries the general affine rule, the sign flip a negative factor produces, and the curved maps the invariance does not survive.

0

The Same Three and a Half Million, with a Thousandth of the Spread

Both games pay 3.5 million dollars on average, so "they match" is true and the inference that it is a wash is not. Shrinking the ticket by a million divides the spread by a million while adding a million independent rolls multiplies it back by only a thousand, so the ratio of standard deviations is exactly root of a million: 1,707,825 against 1,707.83. The whole argument rests on independence, and at a correlation of 1 the diversified game becomes the single roll exactly.

0

Root Pi from a Bell Curve, by Leaving the Number Line

There is no elementary antiderivative to evaluate, and the checkable slice of that is one line: if p is a polynomial then p' - 2xp has degree deg p + 1, which can never equal the degree of 1. Squaring the integral turns it into a rotationally symmetric integral over the plane, where the polar area element supplies the factor r that makes the radial integral elementary, so I squared equals 2 pi times one half. The same idea survives without polar coordinates via the substitution y = xt, and it fails for e to the minus x to the fourth because x^4 + y^4 is not a function of the radius.

0

Three Points from a Thousand People, and the Two Roundings That Cancel

The 95 percent margin on a proportion is almost exactly 1 over the square root of the sample size, because p(1-p) is flat enough near its peak to call a quarter and 1.96 is close enough to 2, and those two roundings are reciprocal so they annihilate. At N = 1000 the shortcut gives 3.16 percent against an exact 3.04, and it always errs on the conservative side. Reporting one standard error instead, 1.55 percent, describes a 68 percent interval rather than a 95 percent one.

0

Five Numbers, Two Answers, and the Divisor Nobody Asks About

The standard deviation of 1, 2, 3, 4, 5 is either 1.4142 or 1.5811, and offering one of them without asking which question you are answering is the only wrong move. The sum of squared deviations is 10 either way, so everything turns on whether you divide it by 5 or by 4. Bessel's correction makes the variance unbiased and leaves the standard deviation biased low by about six percent at this sample size, and a third divisor beats both of them if you optimise for mean squared error instead.

0

Two Stocks at 0.7 With the Same Index, and Still −0.02 With Each Other

The two correlations you are handed do not pin the third one down, but they fence it into exactly [−1/50, 1], and that interval dips below zero. The fence falls out of a 3×3 determinant read as a quadratic in the unknown, and out of a picture: 0.7 is an angle of 45.573°, both stocks live on a cone of that half-angle around the index, and putting them on opposite sides opens 91.146° between them. Also here: why the real tipping point is ab ≥ 0 together with a² + b² ≥ 1 rather than "both above 0.707", why 0.9 and 0.5 force a positive answer while 0.9 and −0.9 allow −1, why standing on the floor costs a rank, and why three Bernoulli(0.5) indicators with the same two correlations are confined to [0.40, 1] instead.

0

Three Children, One Coin, and Eight Thirds of a Flip

A fair coin cuts probabilities into halves and quarters, and a short argument about the prime factorisation of two shows it can never reach one third in a bounded number of flips. Dropping the bound fixes it: flip twice, bin the tail-tail, and each child holds exactly a third for 8/3 flips on average. That naive scheme turns out to be the best any coin-flipping procedure can do for three outcomes, which stops being true at five.

0

Two Kings Off the Top: One in 221

Four over fifty-two squared is exactly right for the question where the first card goes back, which is what makes it hard to catch. Removing a king shrinks the numerator proportionally more than the denominator, and the counting route through 1326 two-card hands confirms one in 221 without mentioning order at all.

0

A Hundred Heads in a Row: the Answer Is Not One Half

Coins have no memory, which is true, and nobody said this coin is fair, which is the whole problem. A fair coin explains the run with probability two to the minus one hundred while a two-headed coin explains it every time. The article locates the threshold exactly and reconciles the answer with the companion piece on ten heads, which asks a different question about a different setup.

0

Two People, One Hour, and Seven Chances in Sixteen

Two people arrive at random inside the same hour and each waits fifteen minutes, so the reflex answer is a quarter. Drawing both arrival times as one point in a 60 by 60 square turns the question into an area, and the two corner triangles it leaves out have legs of 45, giving 7/16 rather than 1/4. The general formula n(2T-n)/T squared shows why the first minutes of patience buy the most.

0

Two Random Numbers, One Hyperbola, and 15.3 Percent

Draw X and Y uniformly from the unit interval and their product beats a half with probability (1 - ln 2)/2, about 15.3 percent. The reflex answer of a quarter counts a condition that is genuinely necessary and treats it as sufficient, which is why 0.8 times 0.6 sits inside the quarter square and still loses. The hyperbola y = 1/(2x) cuts the winners down to a sliver, and one integral measures it.

0

23 People Make a Shared Birthday a Coin Flip, and 253 Pairs Explain It

The reflex answer is around 180, half the calendar. The real threshold is 23, because a match needs a pair and 23 people carry 253 of them. The same reasoning puts the answer to "does anyone share MY birthday" at 253 people, eleven times the crowd, and the square-root threshold behind both is why a 64-bit random id collides after five billion draws rather than eighteen quintillion.

0

Five Coins Against Four Is Exactly a Coin Flip

You toss five fair coins, I toss four, and you win on strictly more heads: the answer is exactly 256 of the 512 outcomes. Because you hold one coin more, "not strictly more heads" and "strictly more tails" are the same event, and turning every coin over is a bijection between them. The fifth coin is worth nearly fourteen percentage points over the 93/256 you would have without it, and none of that is an edge.

0

Two Children, One Girl, and Why the Answer Is 1/3 Until She Opens the Door

Told that one of two children is a girl, the chance both are girls is 1/3. Watch a girl open the door instead and it is 1/2, from the same four families and the same prior. One likelihood separates them: a mixed family always satisfies the statement, but sends the girl to the door only half the time. Push the identifying detail to a girl born on a Tuesday and the answer slides to 13/27.

0

A Thousand Coins, Ten Heads in a Row, and 1024/2023

Draw one coin from a thousand, flip ten heads, and the chance it is the two-headed one is 0.5062. Both reflex answers miss, in opposite directions: ninety-nine percent ignores the bag, one in a thousand ignores the flips. Counting patterns gets the exact figure with no Bayes notation at all, and the reason it lands on a coin flip is that 2^10 happens to sit next to the size of the bag.

0

One White Marble, Alone in a Jar, Is Worth 74/99

Fifty white marbles, fifty black, two jars, and a fair coin choosing which jar gets drawn from. The even split gives exactly one half, and so does every other split where the jars are the same size. Isolating a single white marble reaches 74/99, an exchange argument proves nothing beats it, and three quarters turns out to be a ceiling no arrangement ever touches.

0