Chemistry Reference and  Research
           
 
Periodic Table
- standard table
- large table
 
Chemical Elements
- by name
- by symbol
- by atomic number
 
Chemical Properties
 
Chemical Reactions
 
Organic Chemistry
 
Branches of Chemistry
Analytical chemistry
Biochemistry
Computational Chemistry
Electrochemistry
Environmental chemistry
Geochemistry
Inorganic chemistry
Materials science
Medicinal chemistry
Nuclear chemistry
Organic chemistry
Pharmacology
Physical chemistry
Polymer chemistry
Supramolecular Chemistry
Thermochemistry

Importance sampling

Importance sampling is a variance reduction technique that can be used in the Monte Carlo method. The Monte Carlo method is used to approximate the integral of a function f as the average of the function evaluated at a set of points x1,...,xN.

\int_a^b f(u)\,du =  \mathrm{E}\{f(X)(b-a)\}\quad (X\sim unif(a,b))\approx \left[ \frac{1}{N}\,\sum_{i=1}^N f(x_i) \right] \left( b-a \right),

where x1,...,xN were drawn from a uniform distribution over the inter val [a,b), and E{.} denotes the expected value. If we have additional knowledge about what f looks like and can find a function g similar to f, we can rewrite the integral as

\int_a^b \frac{f(u)}{g(u)} g(u) \,du \approx \left[ \frac{1}{N}\,\sum_{i=1}^N \frac{f(y_i)}{g(y_i)} \right],

where the yi now follow a g distribution. A popular method to sample from the g distribution is Metropolis sampling.

If f(u) / g(u) has a smaller variance than f(u), the new sequence will converge faster.

01-04-2007 01:16:19
The contents of this article are licensed from Wikipedia.org under the GNU Free Documentation License. How to see transparent copy