.. _sphx_glr_api_gallery_monte_carlo_variance_reduction: Variance reduction ------------------ The same expectation from fewer samples: stratification, importance sampling, antithetic variates, Latin hypercubes, control variates and moment matching, each compared with crude Monte Carlo. .. raw:: html
.. raw:: html
.. thumbnail-parent-div-open .. raw:: html
.. only:: html .. image:: /api/gallery/monte_carlo/variance_reduction/images/thumb/sphx_glr_plot_01_neyman_stratification_thumb.png :alt: :doc:`/api/gallery/monte_carlo/variance_reduction/plot_01_neyman_stratification` .. raw:: html
Neyman stratification
.. raw:: html
.. only:: html .. image:: /api/gallery/monte_carlo/variance_reduction/images/thumb/sphx_glr_plot_02_importance_sampling_thumb.png :alt: :doc:`/api/gallery/monte_carlo/variance_reduction/plot_02_importance_sampling` .. raw:: html
Kahn-Marshall importance sampling
.. raw:: html
.. only:: html .. image:: /api/gallery/monte_carlo/variance_reduction/images/thumb/sphx_glr_plot_03_antithetic_variates_thumb.png :alt: :doc:`/api/gallery/monte_carlo/variance_reduction/plot_03_antithetic_variates` .. raw:: html
Hammersley-Morton antithetic variates
.. raw:: html
.. only:: html .. image:: /api/gallery/monte_carlo/variance_reduction/images/thumb/sphx_glr_plot_04_latin_hypercube_thumb.png :alt: :doc:`/api/gallery/monte_carlo/variance_reduction/plot_04_latin_hypercube` .. raw:: html
McKay-Beckman-Conover Latin hypercube
.. raw:: html
.. only:: html .. image:: /api/gallery/monte_carlo/variance_reduction/images/thumb/sphx_glr_plot_05_control_variates_thumb.png :alt: :doc:`/api/gallery/monte_carlo/variance_reduction/plot_05_control_variates` .. raw:: html
Lavenberg-Welch control variates
.. raw:: html
.. only:: html .. image:: /api/gallery/monte_carlo/variance_reduction/images/thumb/sphx_glr_plot_06_moment_matching_thumb.png :alt: :doc:`/api/gallery/monte_carlo/variance_reduction/plot_06_moment_matching` .. raw:: html
Barraquand moment matching
.. thumbnail-parent-div-close .. raw:: html
.. toctree:: :hidden: /api/gallery/monte_carlo/variance_reduction/plot_01_neyman_stratification /api/gallery/monte_carlo/variance_reduction/plot_02_importance_sampling /api/gallery/monte_carlo/variance_reduction/plot_03_antithetic_variates /api/gallery/monte_carlo/variance_reduction/plot_04_latin_hypercube /api/gallery/monte_carlo/variance_reduction/plot_05_control_variates /api/gallery/monte_carlo/variance_reduction/plot_06_moment_matching