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
| Row | 01_Simulated Integral | 02_Analytical Integral | 05_Error |
|---|
| 1 | 1.71828 | 1.71828 | 1.52591e-07 |
Aggregate values
| 01_Simulated Integral | 02_Analytical Integral | 05_Error |
|---|
| Total: | 1.71828 | 1.71828 | 1.52591e-07 |
| Average: | 1.71828 | 1.71828 | 1.52591e-07 |
| Average (non zeros): | 1.71828 | 1.71828 | 1.52591e-07 |
| Non zeros: | 1/1 | 1/1 | 1/1 |
| Minimum: | 1.71828 | 1.71828 | 1.52591e-07 |
| Maximum: | 1.71828 | 1.71828 | 1.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 correction | Value with control variate correction | Relative error | Std. dev. without correction | Std. dev. with control variate correction | Reduced number of draws | Savings | Control variate simulated | Control variate analytical | Relative error on control variate |
|---|
| 1.71829 | 1.71828 | 0.000537337% | 0.00347887 | 0.000443873 | 325 | 98.372% | 0.500005 | 0.5 | 0.00109245% |
| 1.71829 | 1.71828 | 0.000537337% | 0.00347887 | 0.000443873 | 325 | 98.372% | 0.500005 | 0.5 | 0.00109245% |