For equal independent binomial samples, the displayed normal-approximation size per group targets a two-sided significance level and power at specified alternative rates, with . Its first variance term sets the null critical value and its second the alternative distribution. A numerical sample size is not determined by an effect ratio alone; power, sidedness, allocation and baseline rates must also be specified. Rare-event discreteness and clustered designs can materially change the achieved power.
Sample standard deviation 2026-10-25
The sample standard deviation is the nonnegative square root of the usual sample variance for . The displayed convention uses divisor . Although the sample variance is an unbiased estimator of the population variance under independent identically distributed sampling with finite variance, taking its square root does not in general give an unbiased estimator of the population standard deviation.
Sampling fraction 2026-10-14
The sampling fraction is the sample size divided by the finite population size. In simple random sampling, it determines how much the finite population correction reduces the variance relative to .
Each Cartesian Brownian increment has variance . Summing their normalized squares gives a chi-squared distribution with degrees of freedom. Hence is unbiased and has relative standard deviation . Its inverse is not unbiased: for , . Thus the direct inverse-diffusivity radius estimate has appreciable finite-sample bias when only a few trajectories are observed. Measurement noise or drift adds separate systematic error.
For the state-space model , , assume independent Gaussian process noise and measurement noise of variances , independent of the prior state and previous observations. A normal distribution for the filtered state, with mean and variance , predicts mean and variance . Here denotes predicted state variance, rather than the observation-noise covariance notation used in the vector equations above. Gaussian conditional expectation then gives posterior mean and posterior variance , where the Kalman gain is .
Mere weak white noise assumptions do not imply normal posterior distributions: independent process noise with a Rademacher distribution makes the next state a mixture of two shifted normal distributions. The Kalman filter can still describe a best affine state estimate under appropriate second-order assumptions, but that is distinct from an exact Gaussian conditional law.
With query and key dimension , form the score matrix , apply the softmax function row by row, and multiply by the values . If query and key coordinates have independent unit variance, their dot product has variance ; division by keeps that score scale of order one. Optional additive masks exclude forbidden keys before the softmax function.
For between angular cutoffs, the leading total cross section is . Multiply its mean count by the one-scatter second moment to obtain the displayed total angular variance. A single-plane projected variance is half as large. Comparing the scattering angle to a magnetic bend explains the approximately momentum-independent scattering contribution to relative track uncertainty.
Second moment Created 2026-10-05 Updated 2026-10-06
The second moment of a real random variable is . Its variance is when these quantities are finite.
For a nonnegative random variable with positive expected value and finite second moment, write . The Cauchy-Schwarz inequality gives
which proves the bound in second moment method. It is the zero-threshold case of the Paley-Zygmund inequality. Equality occurs when is a fixed positive value on the event and zero elsewhere, almost surely. For with a Bernoulli random variable of parameter , equals the exact positivity probability.
The variance identity turns the lower bound into a statement about variance relative to the squared mean. A small ratio forces positivity to be likely. A positive expected value alone does not do so: keeping while taking with probability and zero otherwise makes the positivity probability as small as any chosen .
Second moment method Created 2026-09-24 Updated 2026-10-14
The second moment method uses a random variable's expected value and second moment to establish that a counted or measured quantity is positive with substantial probability. It is useful when a positive average alone could be caused by extremely large values on very rare outcomes. Controlling the variance rules out too much of that concentration in rare outcomes.
For a nonnegative random variable with and finite second moment, the second-moment bound for positivity gives
Equivalently, . The method also includes the simpler Chebyshev's inequality bound . Thus a sequence of such random variables with has with probability tending to one. These statements require no independence assumption. The variance argument and its use for random counts are developed in Zhao's lecture notes. [ref].
For an original toy count, let count successes in ten independent Bernoulli trials with success probability . The binomial distribution gives
Consequently . The exact probability is . The first moment method and union bound only give the upper bound here. First and second moments therefore answer complementary existence questions.
Figure 1.
The second moment method certifies a positive count, while statistical dependence can change the conclusion despite an unchanged mean
. Left: exact binomial distribution probabilities of at least one success and second-moment lower bounds for ten independent trials as the success probability varies. Right: the same ten trials with either occur independently or share one common Bernoulli outcome. Both counts have mean one, but the perfectly linked count has much larger variance and only probability of being positive. All data are original specified probability models. Details.
For a sum of indicator random variables, the variance of a sum is
Independence makes the covariances vanish, but the formula itself also covers dependent counts. For the same ten success probabilities, let every trial share a single Bernoulli random variable : then , with mean one, variance nine, and . The second-moment lower bound is exactly . Ignoring the positive covariances would produce the false independent-count conclusion. Zhao's discussion of sums of indicators explains why overlapping counted structures require these pairwise terms. [ref].
A probability distribution is self-decomposable if, for every , an independent remainder can be chosen so that the displayed equality in distribution holds. A normal distribution admits a normal distribution remainder with mean and variance . For an exponential distribution of rate , choose with probability and otherwise an independent exponential distribution of rate . Its moment-generating function is ; multiplication by proves the claim using the uniqueness theorem for moment-generating functions.
Let with probability , and otherwise let have a Gamma distribution with mean one and variance . Given , counts are conditionally independent Poisson random variables with means . For , the law of total variance and law of total covariance give
Each component has a zero-inflated negative binomial distribution, but the components are not independent after marginalizing . The zero component is shared by the whole profile. At , interpret the positive Gamma component as a point mass at one.
For fixed in , the largest component of a graph has the displayed order with high probability. A dominating Galton-Watson process gives the tail bound by the exponential Markov inequality. For the lower bound, the tree-component expectation in the Erdős-Rényi model diverges at . The disjoint-set covariance factor and the exclusion of overlaps give relative variance tending to zero, so the second moment method supplies a tree component of that order.
For a long potential approximately constant over the short-scale region, local-type primordial non-Gaussianity gives , to first order in the long mode and ignoring short-mode squares. A linear cosmological Poisson equation therefore gives
to the same order. The variance is conditional on the long mode.
Shot noise 2026-10-18
Shot noise is fluctuation associated with discrete transfer events. For an electric current, individual charge carriers contribute finite amounts of electric charge, even when a meter displays a smooth mean. The simplest model is a stream of equal, independently arriving charges with constant rate: its Poisson process predicts both the mean electric current and the variance around it. Discreteness alone does not imply a Poisson distribution; the timing and correlations matter.
The useful surprise is that noise can reveal something a mean hides. Two devices can carry the same mean electric current yet have different fluctuations because one transfers charges independently and the other groups or regulates them. A calibrated shot noise photocurrent measurement can connect a macroscopic voltage variance to the elementary charge. Thermal electrical noise instead exists in an unbiased resistor at thermal equilibrium; a measured background can contain both mechanisms.
Walter Schottky's 1918 paper Über spontane Stromschwankungen in verschiedenen Elektrizitätsleitern treated amplifier sensitivity limits. Part II considered independent discrete transfers, including thermionic emission through a vacuum. On p. 563 he proposed amplifying fluctuations from a separate discharge tube to determine the elementary charge; those experiments were prospective, not reported results.[ref]
Shot noise counting model Created 2026-10-18 Updated 2026-10-20
Let be the magnitude of each transferred electric charge, and let arrivals form a Homogeneous Poisson process of rate . Extend the stream over past and future times when considering stationary filtering. For electrons, , the elementary charge. Choose the positive electric current direction to follow these transfers, so is its mean magnitude. If counts arrivals in a gate of duration , then
The gate's transferred electric charge is , and its average electric current is . Scaling the expected value and variance gives
More arrivals increase the absolute fluctuation but decrease its size relative to the mean. For an original count example with , the mean count and its variance are both , the standard deviation is , and the relative standard deviation is . The probability of no transfer is ; the probability of four is . A constant arrival rate does not prescribe four arrivals in every gate.
These are fluctuations of a time average, not the variance of an ideal instantaneous electric current. A model of point transfers has arbitrarily sharp impulses; it acquires a finite measured variance only after specifying a gate or linear filter. Actual collection pulses have finite duration and electrical circuits have finite response times.
The Fano factor compares count variance with its mean over a specified gate. For a stationary unidirectional stream with fixed charge , finite count second moments, and a generalized autocovariance with finite integral so that the long-gate limit exists,
The zero-frequency relation concerns the continuous fluctuation spectrum, excluding the mean spectral line. It follows by writing as the double integral of the current autocovariance; for long , its leading term is . A finite-gate , a frequency-dependent ratio , and a factor inferred from one filtered variance are not interchangeable. The last is weighted by the instrument's .
Two original counting counterexamples show why electric charge discreteness is insufficient. In independent time slots, transfer one charge with probability in each slot: the binomial distribution gives mean , variance and Fano factor . A random common origin for the slots removes a preferred time origin; the long-gate factor remains . Alternatively, if independent Poisson process bursts each transfer exactly two charges, then gives and factor . Both count individual charges; only the first model allows at most one per slot, and the second groups them in pairs.
Consequently is a reference for independent unidirectional arrivals, not a universal noise law for all electrical conductors. Correlations, charge multiplication, and bidirectional transfer require a more specific model. For example, independent opposite streams with positive current magnitudes and have net mean but one-sided fluctuation spectrum . Using would miss their fluctuations when the net current is small. At thermal equilibrium, the full transport model must also respect thermal electrical noise; adding unrelated phenomenological formulas can double count the same underlying transfers.
MIT's guide uses an illuminated vacuum photodiode, with collecting anode positive relative to the emitting cathode. A transimpedance amplifier gives ; a multimeter reads its mean. The fluctuation path rejects below , adds roughly tenfold voltage gain, then nominal hundredfold preamplification and a – band-pass filter; the readout measures root mean square voltage. With diode bias off, a sinusoid at the test port calibrates . Restore bias, retain gain settings, vary lamp brightness, and repeat both readings. The guide warns about overload; it supplies a procedure, not measured results.[ref]
Figure 1.
Functional photocurrent measurement: separate mean-current, fluctuation and calibration paths
. Original functional diagram organizing the laboratory's measurement roles; it is not a component-level circuit reproduction. includes current-to-voltage conversion and the complete fluctuation path. The dark comparison below is an additional control. Details.
The inference can be expressed without relying on nominal passband edges. Let denote the calibrated voltage transfer after the conversion, so and define . Under independent arrivals and an unchanged additive background,
The slope of voltage variance against mean electric current can therefore estimate . A free intercept accounts for a constant background; forcing the line through zero generally biases the slope. The root mean square readings must have their mean removed and then be squared. Subtracting two root mean square amplitudes does not subtract independent variances. Estimate the variance from successive records; averaging the waveforms first would suppress the fluctuation being measured.
Additional controls sharpen this interpretation. Block the light with detector bias, temperature, and gain unchanged; this preserves dark current and electronics while removing photocurrent. Repeat this dark comparison between illumination settings to check drift. If independent dark arrivals have mean magnitude and illuminated arrivals add , their spectra add: . Subtracting the unchanged dark variance isolates . This subtraction model assumes unchanged transfers and independence; switching off bias for gain calibration is a different control and need not preserve the dark background.
Vary measured rather than assuming lamp knob position is proportional to photocurrent. Check collection versus bias to identify a range where incomplete collection is negligible; a space charge limited tube can correlate transfers. Verify that the transimpedance amplifier remains linear and that its frequency response is unchanged over the illumination range. Changing signal bandwidth should change the excess variance through ; compare inferred input spectra in several bands. Correlated fluctuations of the light source can add a contribution scaling approximately as , while an electronics floor can hide the linear term at small electric currents. A fitted line over a short range alone does not establish independent transfers.
The gain calibration must include the same detector-to-readout path used for noise, or explicitly supply any omitted transfer. Detector capacitance, finite collection time, amplifier voltage and current noise, thermal electrical noise, pickup, clipping, and finite recording precision limit the inference. Current-dependent electrical impedance or heating can make a background current-dependent too. Since contains squared gain, a small fractional error in gain produces approximately twice that fractional error in the predicted variance scale. Knowing a nominal gain and two cutoff settings is insufficient.
Shot noise worked example Created 2026-10-18 Updated 2026-10-20
For an original model, set , , , , and the exponential low-pass filter's . Assume an ideal detector without charge multiplication and omit all additive noise for this calculation. Then
Doubling doubles the voltage variance and multiplies its standard deviation by . Halving also doubles the variance, provided the detector remains approximately white throughout the enlarged passband. Using in place of underestimates the variance by the factor . These are calculated predictions, not measured values or settings claimed for the laboratory below.
Figure 1. . Original exact model calculations, with no experimental trace. Left: Poisson distribution for mean count . Middle: normalized one-sided power spectral densities after an exponential low-pass filter. Right: count variance and normalized filtered-current variance versus their common normalized mean. Details.
To read the dimensionless figure, set and , with frequency in cycles per unit . A gate of duration has count mean and variance . The continuously filtered instead has
The count and the filtered electric current are different observables. The factor comes from the exponential weighting, not from non-Poisson arrivals. The dimensionless count illustration is a separate choice of rate; it does not assert that the example has only four electrons per .
Signal power 2026-10-24
For a periodic signal, the mean squared magnitude over a period. Its units are the square of the signal's units: a voltage signal has mean-square power in . Physical electrical power in a resistive load additionally divides this quantity by electrical resistance. Subtracting the squared mean gives the variance of the signal over a uniformly sampled phase; the two quantities coincide for a zero-mean signal.