Cumulative Distribution Function
Suppose that is a random variable. The cumulative distribution function of is the function defined by
Joint Density Function
Suppose that and are real-valued random variables. A function is a joint density function for if, for every suitable set ,
Marginal Density Function
Suppose that is a joint density function. The marginal density function of is
Conditional Density Function
Suppose that is a joint density function and . The conditional density function of given is
Joint Density Factors as Marginal Times Conditional Density
Suppose that is a joint density. Then
whenever .
Estimator
Suppose that is a quantity to be estimated. An estimator for is a random variable whose values are used as approximations to .
Unbiased Estimator
Suppose that is an estimator for . The estimator is unbiased if
Biased Estimator
Suppose that is an estimator for . The bias of is
The estimator is biased if its bias is not .
Monte Carlo Estimator
Suppose that , , and is a density function on such that whenever . If are independent samples with density , the Monte Carlo estimator for
is
Monte Carlo Estimator is Unbiased
Under the hypotheses of the Monte Carlo estimator,
Variance of an Average of Independent Identically Distributed Random Variables
Suppose that are independent identically distributed random variables with finite variance. Then
Sample Variance
Suppose that , with , and let
The sample variance of is
Inversion Method
Suppose that is a cumulative distribution function that has an inverse , and suppose that . The inversion method samples from by setting
Inversion Method Samples from the Target Distribution
Suppose that is an invertible cumulative distribution function, , and . Then has cumulative distribution function .
Change of Variables for Density Functions
Suppose that is an -dimensional random variable with density , and suppose that is a differentiable bijection whose Jacobian determinant is nonzero. If , then the density of is
Stratified Sampling
Suppose that a domain is partitioned into disjoint measurable sets . Stratified sampling is the practice of estimating an integral over by taking samples separately within each stratum and combining the resulting estimates.
Stratified Sampling Does Not Increase Variance
For an integral estimator with a fixed total number of samples, stratifying the domain and sampling each stratum proportionally to its measure does not increase variance compared with unstratified sampling from the whole domain.
Importance Sampling
Importance sampling estimates an integral
by drawing samples from a density and using the weighted terms
The density should be positive wherever is nonzero.
Multiple Importance Sampling
Multiple importance sampling estimates an integral by combining samples drawn from several densities . If is a weight function for density , then a typical weighted term has the form
Balance Heuristic
Suppose that are sampling densities and samples are drawn from . The balance heuristic assigns the weight
Power Heuristic
Suppose that are sampling densities, samples are drawn from , and . The power heuristic assigns the weight
Russian Roulette Estimator
Suppose that is an unbiased estimator for , and let be a Bernoulli random variable with , independent of . The Russian roulette estimator is
Russian Roulette Estimator is Unbiased
The Russian roulette estimator is unbiased: