Biogeme examples for the Swissmetro dataΒΆ

You find here several examples of models that can be estimated and simulated with Biogeme.

The example 28. Explicit parameter overrides in a simple model introduces explicit parameter overrides. It shows how to replace a Beta by a fixed Beta or by a numeric expression before constructing the BIOGEME object.

The example 27. Post-estimation Monte Carlo draw-stability diagnostic illustrates the post-estimation Monte Carlo draw-stability diagnostic. It evaluates the objective and gradient at the fixed estimates with fresh draw designs of increasing size. The diagnostic can be interrupted and resumed; it writes a raw YAML checkpoint and an American-English Markdown report separately from the ordinary estimation result.

21a. Assisted specification

21a. Assisted specification

Assisted specification

Assisted specification

18a. Ordinal logit model

18a. Ordinal logit model

18b. Ordinal probit model

18b. Ordinal probit model

23a. Binary logit model

23a. Binary logit model

23b. Binary probit model

23b. Binary probit model

Re-estimate the Pareto optimal models

Re-estimate the Pareto optimal models

1a. Estimation of a multinomial logit model

1a. Estimation of a multinomial logit model

21c. Re-estimate the Pareto optimal models

21c. Re-estimate the Pareto optimal models

28. Explicit parameter overrides in a simple model

28. Explicit parameter overrides in a simple model

4. Out-of-sample validation

4. Out-of-sample validation

1c. Illustration of the quick_estimate method in Biogeme

1c. Illustration of the quick_estimate method in Biogeme

8. Box-Cox transforms

8. Box-Cox transforms

19. Calculation of individual level parameters

19. Calculation of individual level parameters

2. Estimation with weights: WESML

2. Estimation with weights: WESML

3. Moneymetric and heteroscedastic specification

3. Moneymetric and heteroscedastic specification

17b. Mixture with lognormal distribution and numerical integration

17b. Mixture with lognormal distribution and numerical integration

6b. Mixture of logit models with uniform MLHS draws

6b. Mixture of logit models with uniform MLHS draws

17a. Mixture with lognormal distribution

17a. Mixture with lognormal distribution

6a. Mixture of logit models with uniform distribution

6a. Mixture of logit models with uniform distribution

5b. Mixture of logit models with numerical integration

5b. Mixture of logit models with numerical integration

10. Nested logit model normalized from bottom

10. Nested logit model normalized from bottom

7. Latent class model

7. Latent class model

24. Mixture of logit with Halton draws

24. Mixture of logit with Halton draws

9. Nested logit model

9. Nested logit model

5a. Mixture of logit models with Monte-Carlo integration

5a. Mixture of logit models with Monte-Carlo integration

6c. Mixture of logit models with uniform distribution and numerical integration

6c. Mixture of logit models with uniform distribution and numerical integration

14. Nested logit with corrections for endogeneous sampling

14. Nested logit with corrections for endogeneous sampling

11c. Cross-nested logit with a sparse structure

11c. Cross-nested logit with a sparse structure

1d. Simulation of a logit model

1d. Simulation of a logit model

25. Triangular mixture of logit

25. Triangular mixture of logit

12. Mixture of logit with panel data

12. Mixture of logit with panel data

20. Estimation of several models

20. Estimation of several models

11a. Cross-nested logit

11a. Cross-nested logit

21b. Specification of a catalog of models

21b. Specification of a catalog of models

12bis. Mixture of logit with panel data and segmented ASC

12bis. Mixture of logit with panel data and segmented ASC

26. Triangular mixture with panel data

26. Triangular mixture with panel data

13. Simulation of panel model

13. Simulation of panel model

27. Post-estimation Monte Carlo draw-stability diagnostic

27. Post-estimation Monte Carlo draw-stability diagnostic

1e. Logit model with several algorithms

1e. Logit model with several algorithms

5c. Simulation of a mixture model

5c. Simulation of a mixture model

11b. Simulation of a cross-nested logit model

11b. Simulation of a cross-nested logit model

Mixture of logit

Mixture of logit

15a. Discrete mixture with panel data

15a. Discrete mixture with panel data

15b. Discrete mixture with panel data

15b. Discrete mixture with panel data

16. Discrete mixture with panel data

16. Discrete mixture with panel data

1b. Illustration of additional Biogeme features

1b. Illustration of additional Biogeme features

Specification of a catalog of models

Specification of a catalog of models