biogeme 2.4 [Mar 4 aoû 2015 12:14:44 EDT]

Home page: http://biogeme.epfl.ch

Submit questions to http://groups.yahoo.com/group/biogeme

Michel Bierlaire, Transport and Mobility Laboratory, Ecole Polytechnique Fédérale de Lausanne (EPFL)

This file has automatically been generated on Tue Aug 4 21:58:55 2015

If you drag this HTML file into the Calc application of OpenOffice, you will be able to perform additional calculations.

Report file: 03controlVariate.html
Sample file: ../swissmetro.dat

Simulation report

Number of draws for Monte-Carlo: 20000

Type of draws: MLHS

Row01_Simulated Integral02_Analytical Integral05_Error
11.718281.718281.52591e-07

Aggregate values

01_Simulated Integral02_Analytical Integral05_Error
Total:1.718281.718281.52591e-07
Average:1.718281.718281.52591e-07
Average (non zeros):1.718281.718281.52591e-07
Non zeros:1/11/11/1
Minimum:1.718281.718281.52591e-07
Maximum:1.718281.718281.52591e-07

Precision of Monte-Carlo simulation for integrals

Value without correction
Output of the Monte-Carlo simulation (vmc).
Value with control variate correction
Output of the Monte-Carlo simulation after the application of the control variate method (vcv). Value used by Biogeme.
Relative error
100 (vmc - vcv) / vcv
Std. dev. without correction
Calculated as the square root of the variance of the original draws, divided by the square root of the number of draws (stdmc).
Std. dev. with control variate correction
Calculated as the square root of the variance of the corrected draws, divided by the square root of the number of draws (stdcv).
Reduced number of draws
Rcv = R stdcv2/stdmv2, where R is the current number of draws. This is the number of draws that are sufficient (when the correction is applied) to achieve the same precision as the method without correction.
Savings
100 * (R-Rcv) / R
Control variate simulated
Value of the integral used for control variate using Monte-Carlo simulation (simulated).
Control variate analytical
Value of the analytical integral used for control variate (analytical).
Relative error on control variate
100 (simulated - analytical) / analytical. If this value is more than 1% (in absolute value), the row is displayed in red, emphasizing that either the number of draws for the original Monte-Carlo is insufficient, or the analytical value of the integral is wrong.

Number of draws: 20000

Value without correctionValue with control variate correctionRelative errorStd. dev. without correctionStd. dev. with control variate correctionReduced number of drawsSavingsControl variate simulatedControl variate analyticalRelative error on control variate
1.718291.718280.000537337%0.003478870.00044387332598.372%0.5000050.50.00109245%
1.718291.718280.000537337%0.003478870.00044387332598.372%0.5000050.50.00109245%