:orphan: Gallery of examples ################### .. raw:: html
.. raw:: html
Assisted specification with Biogeme *********************************** Examples discussed in `Bierlaire and Ortelli (2023) Assisted Specification with Biogeme 3.2.12 `_ .. raw:: html
.. raw:: html
.. only:: html .. image:: /auto_examples/assisted/images/thumb/sphx_glr_everything_spec_thumb.png :alt: :ref:`sphx_glr_auto_examples_assisted_everything_spec.py` .. raw:: html
Combination of many specifications
.. raw:: html
.. only:: html .. image:: /auto_examples/assisted/images/thumb/sphx_glr_plot_b00logit_thumb.png :alt: :ref:`sphx_glr_auto_examples_assisted_plot_b00logit.py` .. raw:: html
Base model
.. raw:: html
.. only:: html .. image:: /auto_examples/assisted/images/thumb/sphx_glr_plot_b01model_thumb.png :alt: :ref:`sphx_glr_auto_examples_assisted_plot_b01model.py` .. raw:: html
Investigation of several choice models
.. raw:: html
.. only:: html .. image:: /auto_examples/assisted/images/thumb/sphx_glr_plot_b02nonlinear_thumb.png :alt: :ref:`sphx_glr_auto_examples_assisted_plot_b02nonlinear.py` .. raw:: html
Catalog of nonlinear specifications
.. raw:: html
.. only:: html .. image:: /auto_examples/assisted/images/thumb/sphx_glr_plot_b03alt_spec_thumb.png :alt: :ref:`sphx_glr_auto_examples_assisted_plot_b03alt_spec.py` .. raw:: html
Catalog for alternative specific coefficients
.. raw:: html
.. only:: html .. image:: /auto_examples/assisted/images/thumb/sphx_glr_plot_b04segmentation_thumb.png :alt: :ref:`sphx_glr_auto_examples_assisted_plot_b04segmentation.py` .. raw:: html
Catalog for segmented parameters
.. raw:: html
.. only:: html .. image:: /auto_examples/assisted/images/thumb/sphx_glr_plot_b05alt_spec_segmentation_thumb.png :alt: :ref:`sphx_glr_auto_examples_assisted_plot_b05alt_spec_segmentation.py` .. raw:: html
Segmentations and alternative specific specification
.. raw:: html
.. only:: html .. image:: /auto_examples/assisted/images/thumb/sphx_glr_plot_b06everything_thumb.png :alt: :ref:`sphx_glr_auto_examples_assisted_plot_b06everything.py` .. raw:: html
Combine many specifications: exception is raised
.. raw:: html
.. only:: html .. image:: /auto_examples/assisted/images/thumb/sphx_glr_plot_b07everything_assisted_thumb.png :alt: :ref:`sphx_glr_auto_examples_assisted_plot_b07everything_assisted.py` .. raw:: html
Combine many specifications: assisted specification algorithm
.. raw:: html
.. only:: html .. image:: /auto_examples/assisted/images/thumb/sphx_glr_plot_b08selected_specification_thumb.png :alt: :ref:`sphx_glr_auto_examples_assisted_plot_b08selected_specification.py` .. raw:: html
One model among many
.. raw:: html
.. only:: html .. image:: /auto_examples/assisted/images/thumb/sphx_glr_plot_b09post_processing_thumb.png :alt: :ref:`sphx_glr_auto_examples_assisted_plot_b09post_processing.py` .. raw:: html
Re-estimation of best models
.. raw:: html
.. only:: html .. image:: /auto_examples/assisted/images/thumb/sphx_glr_plot_simple_example_thumb.png :alt: :ref:`sphx_glr_auto_examples_assisted_plot_simple_example.py` .. raw:: html
Example of a catalog
.. raw:: html
.. only:: html .. image:: /auto_examples/assisted/images/thumb/sphx_glr_swissmetro_data_thumb.png :alt: :ref:`sphx_glr_auto_examples_assisted_swissmetro_data.py` .. raw:: html
Data preparation for Swissmetro
.. raw:: html
Calculating indicators with Biogeme *********************************** Examples discussed in `Bierlaire (2018) Calculating indicators with PandasBiogeme `_ .. raw:: html
.. raw:: html
.. only:: html .. image:: /auto_examples/indicators/images/thumb/sphx_glr_optima_data_thumb.png :alt: :ref:`sphx_glr_auto_examples_indicators_optima_data.py` .. raw:: html
Data preparation for Optima
.. raw:: html
.. only:: html .. image:: /auto_examples/indicators/images/thumb/sphx_glr_plot_b01expressions_thumb.png :alt: :ref:`sphx_glr_auto_examples_indicators_plot_b01expressions.py` .. raw:: html
Examples of mathematical expressions
.. raw:: html
.. only:: html .. image:: /auto_examples/indicators/images/thumb/sphx_glr_plot_b02estimation_thumb.png :alt: :ref:`sphx_glr_auto_examples_indicators_plot_b02estimation.py` .. raw:: html
Estimation and simulation of a nested logit model
.. raw:: html
.. only:: html .. image:: /auto_examples/indicators/images/thumb/sphx_glr_plot_b03simulation_thumb.png :alt: :ref:`sphx_glr_auto_examples_indicators_plot_b03simulation.py` .. raw:: html
Simulation of a choice model
.. raw:: html
.. only:: html .. image:: /auto_examples/indicators/images/thumb/sphx_glr_plot_b04market_shares_thumb.png :alt: :ref:`sphx_glr_auto_examples_indicators_plot_b04market_shares.py` .. raw:: html
Calculation of market shares
.. raw:: html
.. only:: html .. image:: /auto_examples/indicators/images/thumb/sphx_glr_plot_b05revenues_thumb.png :alt: :ref:`sphx_glr_auto_examples_indicators_plot_b05revenues.py` .. raw:: html
Calculation of revenues
.. raw:: html
.. only:: html .. image:: /auto_examples/indicators/images/thumb/sphx_glr_plot_b06point_elasticities_thumb.png :alt: :ref:`sphx_glr_auto_examples_indicators_plot_b06point_elasticities.py` .. raw:: html
Direct point elasticities
.. raw:: html
.. only:: html .. image:: /auto_examples/indicators/images/thumb/sphx_glr_plot_b07cross_elasticities_thumb.png :alt: :ref:`sphx_glr_auto_examples_indicators_plot_b07cross_elasticities.py` .. raw:: html
Cross point elasticities
.. raw:: html
.. only:: html .. image:: /auto_examples/indicators/images/thumb/sphx_glr_plot_b08arc_elasticities_thumb.png :alt: :ref:`sphx_glr_auto_examples_indicators_plot_b08arc_elasticities.py` .. raw:: html
Arc elasticities
.. raw:: html
.. only:: html .. image:: /auto_examples/indicators/images/thumb/sphx_glr_plot_b09wtp_thumb.png :alt: :ref:`sphx_glr_auto_examples_indicators_plot_b09wtp.py` .. raw:: html
Calculation of willingness to pay
.. raw:: html
.. only:: html .. image:: /auto_examples/indicators/images/thumb/sphx_glr_scenarios_thumb.png :alt: :ref:`sphx_glr_auto_examples_indicators_scenarios.py` .. raw:: html
Specification of a nested logit model
.. raw:: html
Choice models with one latent variable ************************************** You find here several examples of so called "hybrid choice models", discussed in `Bierlaire (2018) Estimating choice models with latent variables with PandasBiogeme `_ .. raw:: html
.. raw:: html
.. only:: html .. image:: /auto_examples/latent/images/thumb/sphx_glr_optima_thumb.png :alt: :ref:`sphx_glr_auto_examples_latent_optima.py` .. raw:: html
Data processing
.. raw:: html
.. only:: html .. image:: /auto_examples/latent/images/thumb/sphx_glr_plot_b00factor_analysis_thumb.png :alt: :ref:`sphx_glr_auto_examples_latent_plot_b00factor_analysis.py` .. raw:: html
Factor analysis
.. raw:: html
.. only:: html .. image:: /auto_examples/latent/images/thumb/sphx_glr_plot_b01one_latent_regression_thumb.png :alt: :ref:`sphx_glr_auto_examples_latent_plot_b01one_latent_regression.py` .. raw:: html
Measurement equations: continuous indicators
.. raw:: html
.. only:: html .. image:: /auto_examples/latent/images/thumb/sphx_glr_plot_b02one_latent_ordered_thumb.png :alt: :ref:`sphx_glr_auto_examples_latent_plot_b02one_latent_ordered.py` .. raw:: html
Measurement equations: discrete indicators
.. raw:: html
.. only:: html .. image:: /auto_examples/latent/images/thumb/sphx_glr_plot_b03choice_only_thumb.png :alt: :ref:`sphx_glr_auto_examples_latent_plot_b03choice_only.py` .. raw:: html
Mixture of logit
.. raw:: html
.. only:: html .. image:: /auto_examples/latent/images/thumb/sphx_glr_plot_b04latent_choice_seq_thumb.png :alt: :ref:`sphx_glr_auto_examples_latent_plot_b04latent_choice_seq.py` .. raw:: html
Choice model with a latent variable: sequential estimation
.. raw:: html
.. only:: html .. image:: /auto_examples/latent/images/thumb/sphx_glr_plot_b04latent_choice_seq_mc_thumb.png :alt: :ref:`sphx_glr_auto_examples_latent_plot_b04latent_choice_seq_mc.py` .. raw:: html
Choice model with a latent variable: sequential estimation (Monte-Carlo)
.. raw:: html
.. only:: html .. image:: /auto_examples/latent/images/thumb/sphx_glr_plot_b05latent_choice_full_thumb.png :alt: :ref:`sphx_glr_auto_examples_latent_plot_b05latent_choice_full.py` .. raw:: html
Choice model with a latent variable: maximum likelihood estimation
.. raw:: html
.. only:: html .. image:: /auto_examples/latent/images/thumb/sphx_glr_plot_b05latent_choice_full_mc_thumb.png :alt: :ref:`sphx_glr_auto_examples_latent_plot_b05latent_choice_full_mc.py` .. raw:: html
Choice model with a latent variable: maximum likelihood estimation (Monte-Carlo)
.. raw:: html
.. only:: html .. image:: /auto_examples/latent/images/thumb/sphx_glr_plot_b06serial_correlation_thumb.png :alt: :ref:`sphx_glr_auto_examples_latent_plot_b06serial_correlation.py` .. raw:: html
Serial correlation
.. raw:: html
.. only:: html .. image:: /auto_examples/latent/images/thumb/sphx_glr_plot_b07problem_thumb.png :alt: :ref:`sphx_glr_auto_examples_latent_plot_b07problem.py` .. raw:: html
Illustration of a common estimation problem
.. raw:: html
.. only:: html .. image:: /auto_examples/latent/images/thumb/sphx_glr_plot_b07problem_simul_thumb.png :alt: :ref:`sphx_glr_auto_examples_latent_plot_b07problem_simul.py` .. raw:: html
Investigation of the estimation problem
.. raw:: html
.. only:: html .. image:: /auto_examples/latent/images/thumb/sphx_glr_read_or_estimate_thumb.png :alt: :ref:`sphx_glr_auto_examples_latent_read_or_estimate.py` .. raw:: html
Read of estimate
.. raw:: html
Choice models with another latent variable ****************************************** You find here another example of a "hybrid choice models". .. raw:: html
.. raw:: html
.. only:: html .. image:: /auto_examples/latentbis/images/thumb/sphx_glr_optima_thumb.png :alt: :ref:`sphx_glr_auto_examples_latentbis_optima.py` .. raw:: html
Data processing for the optima case study
.. raw:: html
.. only:: html .. image:: /auto_examples/latentbis/images/thumb/sphx_glr_plot_m01_latent_variable_thumb.png :alt: :ref:`sphx_glr_auto_examples_latentbis_plot_m01_latent_variable.py` .. raw:: html
Measurement equations: discrete indicators
.. raw:: html
.. only:: html .. image:: /auto_examples/latentbis/images/thumb/sphx_glr_plot_m02_sequential_estimation_thumb.png :alt: :ref:`sphx_glr_auto_examples_latentbis_plot_m02_sequential_estimation.py` .. raw:: html
Choice model with latent variable: sequential estimation
.. raw:: html
.. only:: html .. image:: /auto_examples/latentbis/images/thumb/sphx_glr_plot_m03_simultaneous_estimation_thumb.png :alt: :ref:`sphx_glr_auto_examples_latentbis_plot_m03_simultaneous_estimation.py` .. raw:: html
Choice model with the latent variable: maximum likelihood estimation
.. raw:: html
.. only:: html .. image:: /auto_examples/latentbis/images/thumb/sphx_glr_read_or_estimate_thumb.png :alt: :ref:`sphx_glr_auto_examples_latentbis_read_or_estimate.py` .. raw:: html
Read or estimate
.. raw:: html
Monte-Carlo integration with Biogeme ************************************ Example discussed in `Bierlaire (2019) Monte-Carlo integration with Biogeme `_ .. raw:: html
.. raw:: html
.. only:: html .. image:: /auto_examples/montecarlo/images/thumb/sphx_glr_b07estimation_specification_thumb.png :alt: :ref:`sphx_glr_auto_examples_montecarlo_b07estimation_specification.py` .. raw:: html
Specification of the mixtures of logit
.. raw:: html
.. only:: html .. image:: /auto_examples/montecarlo/images/thumb/sphx_glr_plot_b01simple_integral_thumb.png :alt: :ref:`sphx_glr_auto_examples_montecarlo_plot_b01simple_integral.py` .. raw:: html
Simple integral
.. raw:: html
.. only:: html .. image:: /auto_examples/montecarlo/images/thumb/sphx_glr_plot_b02simple_integral_thumb.png :alt: :ref:`sphx_glr_auto_examples_montecarlo_plot_b02simple_integral.py` .. raw:: html
Various integration methods
.. raw:: html
.. only:: html .. image:: /auto_examples/montecarlo/images/thumb/sphx_glr_plot_b03antithetic_thumb.png :alt: :ref:`sphx_glr_auto_examples_montecarlo_plot_b03antithetic.py` .. raw:: html
Antithetic draws
.. raw:: html
.. only:: html .. image:: /auto_examples/montecarlo/images/thumb/sphx_glr_plot_b03antithetic_explicit_thumb.png :alt: :ref:`sphx_glr_auto_examples_montecarlo_plot_b03antithetic_explicit.py` .. raw:: html
Antithetic draws explicitly generated
.. raw:: html
.. only:: html .. image:: /auto_examples/montecarlo/images/thumb/sphx_glr_plot_b04normal_mixture_numerical_thumb.png :alt: :ref:`sphx_glr_auto_examples_montecarlo_plot_b04normal_mixture_numerical.py` .. raw:: html
Numerical integration
.. raw:: html
.. only:: html .. image:: /auto_examples/montecarlo/images/thumb/sphx_glr_plot_b05normal_mixture_monte_carlo_thumb.png :alt: :ref:`sphx_glr_auto_examples_montecarlo_plot_b05normal_mixture_monte_carlo.py` .. raw:: html
Monte-Carlo integration
.. raw:: html
.. only:: html .. image:: /auto_examples/montecarlo/images/thumb/sphx_glr_plot_b06estimation_integral_thumb.png :alt: :ref:`sphx_glr_auto_examples_montecarlo_plot_b06estimation_integral.py` .. raw:: html
Estimation of mixtures of logit
.. raw:: html
.. only:: html .. image:: /auto_examples/montecarlo/images/thumb/sphx_glr_plot_b07estimation_monte_carlo_thumb.png :alt: :ref:`sphx_glr_auto_examples_montecarlo_plot_b07estimation_monte_carlo.py` .. raw:: html
Mixtures of logit with Monte-Carlo 2000 draws
.. raw:: html
.. only:: html .. image:: /auto_examples/montecarlo/images/thumb/sphx_glr_plot_b07estimation_monte_carlo_500_thumb.png :alt: :ref:`sphx_glr_auto_examples_montecarlo_plot_b07estimation_monte_carlo_500.py` .. raw:: html
Mixtures of logit with Monte-Carlo 500 draws
.. raw:: html
.. only:: html .. image:: /auto_examples/montecarlo/images/thumb/sphx_glr_plot_b07estimation_monte_carlo_anti_thumb.png :alt: :ref:`sphx_glr_auto_examples_montecarlo_plot_b07estimation_monte_carlo_anti.py` .. raw:: html
Mixtures of logit with Monte-Carlo 2000 antithetic draws
.. raw:: html
.. only:: html .. image:: /auto_examples/montecarlo/images/thumb/sphx_glr_plot_b07estimation_monte_carlo_anti_500_thumb.png :alt: :ref:`sphx_glr_auto_examples_montecarlo_plot_b07estimation_monte_carlo_anti_500.py` .. raw:: html
Mixtures of logit with Monte-Carlo 500 antithetic draws
.. raw:: html
.. only:: html .. image:: /auto_examples/montecarlo/images/thumb/sphx_glr_plot_b07estimation_monte_carlo_halton_thumb.png :alt: :ref:`sphx_glr_auto_examples_montecarlo_plot_b07estimation_monte_carlo_halton.py` .. raw:: html
Mixtures of logit with Monte-Carlo 2000 Halton draws
.. raw:: html
.. only:: html .. image:: /auto_examples/montecarlo/images/thumb/sphx_glr_plot_b07estimation_monte_carlo_halton_500_thumb.png :alt: :ref:`sphx_glr_auto_examples_montecarlo_plot_b07estimation_monte_carlo_halton_500.py` .. raw:: html
Mixtures of logit with Monte-Carlo 500 Halton draws
.. raw:: html
.. only:: html .. image:: /auto_examples/montecarlo/images/thumb/sphx_glr_plot_b07estimation_monte_carlo_mlhs_thumb.png :alt: :ref:`sphx_glr_auto_examples_montecarlo_plot_b07estimation_monte_carlo_mlhs.py` .. raw:: html
Mixtures of logit with Monte-Carlo 2000 MLHS draws
.. raw:: html
.. only:: html .. image:: /auto_examples/montecarlo/images/thumb/sphx_glr_plot_b07estimation_monte_carlo_mlhs_500_thumb.png :alt: :ref:`sphx_glr_auto_examples_montecarlo_plot_b07estimation_monte_carlo_mlhs_500.py` .. raw:: html
Mixtures of logit with Monte-Carlo 500 MLHS draws
.. raw:: html
.. only:: html .. image:: /auto_examples/montecarlo/images/thumb/sphx_glr_plot_b07estimation_monte_carlo_mlhs_anti_thumb.png :alt: :ref:`sphx_glr_auto_examples_montecarlo_plot_b07estimation_monte_carlo_mlhs_anti.py` .. raw:: html
Mixtures of logit with Monte-Carlo 2000 antithetic MLHS draws
.. raw:: html
.. only:: html .. image:: /auto_examples/montecarlo/images/thumb/sphx_glr_plot_b07estimation_monte_carlo_mlhs_anti_500_thumb.png :alt: :ref:`sphx_glr_auto_examples_montecarlo_plot_b07estimation_monte_carlo_mlhs_anti_500.py` .. raw:: html
Mixtures of logit with Monte-Carlo 2000 antithetic MLHS draws
.. raw:: html
.. only:: html .. image:: /auto_examples/montecarlo/images/thumb/sphx_glr_swissmetro_thumb.png :alt: :ref:`sphx_glr_auto_examples_montecarlo_swissmetro.py` .. raw:: html
Data preparation for Swissmetro
.. raw:: html
.. only:: html .. image:: /auto_examples/montecarlo/images/thumb/sphx_glr_swissmetro_one_thumb.png :alt: :ref:`sphx_glr_auto_examples_montecarlo_swissmetro_one.py` .. raw:: html
Data preparation for Swissmetro: one observation
.. raw:: html
Programming with Biogeme ************************ Examples of the use of various Biogeme objects for programming. .. raw:: html
.. raw:: html
.. only:: html .. image:: /auto_examples/programmers/images/thumb/sphx_glr_plot_biogeme_thumb.png :alt: :ref:`sphx_glr_auto_examples_programmers_plot_biogeme.py` .. raw:: html
biogeme.biogeme
.. raw:: html
.. only:: html .. image:: /auto_examples/programmers/images/thumb/sphx_glr_plot_biogeme_logging_thumb.png :alt: :ref:`sphx_glr_auto_examples_programmers_plot_biogeme_logging.py` .. raw:: html
biogeme.biogeme_logging
.. raw:: html
.. only:: html .. image:: /auto_examples/programmers/images/thumb/sphx_glr_plot_cnl_thumb.png :alt: :ref:`sphx_glr_auto_examples_programmers_plot_cnl.py` .. raw:: html
biogeme.cnl
.. raw:: html
.. only:: html .. image:: /auto_examples/programmers/images/thumb/sphx_glr_plot_database_thumb.png :alt: :ref:`sphx_glr_auto_examples_programmers_plot_database.py` .. raw:: html
biogeme.database
.. raw:: html
.. only:: html .. image:: /auto_examples/programmers/images/thumb/sphx_glr_plot_distributions_thumb.png :alt: :ref:`sphx_glr_auto_examples_programmers_plot_distributions.py` .. raw:: html
biogeme.distributions
.. raw:: html
.. only:: html .. image:: /auto_examples/programmers/images/thumb/sphx_glr_plot_draws_thumb.png :alt: :ref:`sphx_glr_auto_examples_programmers_plot_draws.py` .. raw:: html
biogeme.draws
.. raw:: html
.. only:: html .. image:: /auto_examples/programmers/images/thumb/sphx_glr_plot_expressions_thumb.png :alt: :ref:`sphx_glr_auto_examples_programmers_plot_expressions.py` .. raw:: html
biogeme.expressions
.. raw:: html
.. only:: html .. image:: /auto_examples/programmers/images/thumb/sphx_glr_plot_filenames_thumb.png :alt: :ref:`sphx_glr_auto_examples_programmers_plot_filenames.py` .. raw:: html
biogeme.filenames
.. raw:: html
.. only:: html .. image:: /auto_examples/programmers/images/thumb/sphx_glr_plot_loglikelihood_thumb.png :alt: :ref:`sphx_glr_auto_examples_programmers_plot_loglikelihood.py` .. raw:: html
biogeme.loglikelihood
.. raw:: html
.. only:: html .. image:: /auto_examples/programmers/images/thumb/sphx_glr_plot_models_thumb.png :alt: :ref:`sphx_glr_auto_examples_programmers_plot_models.py` .. raw:: html
biogeme.models
.. raw:: html
.. only:: html .. image:: /auto_examples/programmers/images/thumb/sphx_glr_plot_nests_thumb.png :alt: :ref:`sphx_glr_auto_examples_programmers_plot_nests.py` .. raw:: html
biogeme.nests
.. raw:: html
.. only:: html .. image:: /auto_examples/programmers/images/thumb/sphx_glr_plot_optimization_thumb.png :alt: :ref:`sphx_glr_auto_examples_programmers_plot_optimization.py` .. raw:: html
biogeme.optimization
.. raw:: html
.. only:: html .. image:: /auto_examples/programmers/images/thumb/sphx_glr_plot_results_thumb.png :alt: :ref:`sphx_glr_auto_examples_programmers_plot_results.py` .. raw:: html
biogeme.results
.. raw:: html
.. only:: html .. image:: /auto_examples/programmers/images/thumb/sphx_glr_plot_segmentation_thumb.png :alt: :ref:`sphx_glr_auto_examples_programmers_plot_segmentation.py` .. raw:: html
biogeme.segmentation
.. raw:: html
.. only:: html .. image:: /auto_examples/programmers/images/thumb/sphx_glr_plot_tools_thumb.png :alt: :ref:`sphx_glr_auto_examples_programmers_plot_tools.py` .. raw:: html
biogeme.tools
.. raw:: html
.. only:: html .. image:: /auto_examples/programmers/images/thumb/sphx_glr_plot_version_thumb.png :alt: :ref:`sphx_glr_auto_examples_programmers_plot_version.py` .. raw:: html
biogeme.version
.. raw:: html
Sampling of alternatives ************************ Examples discussed in `Bierlaire and Paschalidis (2023) Estimating MEV models with samples of alternatives `_ .. raw:: html
.. raw:: html
.. only:: html .. image:: /auto_examples/sampling/images/thumb/sphx_glr_alternatives_thumb.png :alt: :ref:`sphx_glr_auto_examples_sampling_alternatives.py` .. raw:: html
List of alternatives
.. raw:: html
.. only:: html .. image:: /auto_examples/sampling/images/thumb/sphx_glr_compare_thumb.png :alt: :ref:`sphx_glr_auto_examples_sampling_compare.py` .. raw:: html
Compare parameters
.. raw:: html
.. only:: html .. image:: /auto_examples/sampling/images/thumb/sphx_glr_flycheck_plot_b01logit_thumb.png :alt: :ref:`sphx_glr_auto_examples_sampling_flycheck_plot_b01logit.py` .. raw:: html
Logit
.. raw:: html
.. only:: html .. image:: /auto_examples/sampling/images/thumb/sphx_glr_flycheck_plot_b03cnl_thumb.png :alt: :ref:`sphx_glr_auto_examples_sampling_flycheck_plot_b03cnl.py` .. raw:: html
Cross-nested logit
.. raw:: html
.. only:: html .. image:: /auto_examples/sampling/images/thumb/sphx_glr_plot_b01logit_thumb.png :alt: :ref:`sphx_glr_auto_examples_sampling_plot_b01logit.py` .. raw:: html
Logit
.. raw:: html
.. only:: html .. image:: /auto_examples/sampling/images/thumb/sphx_glr_plot_b02nested_thumb.png :alt: :ref:`sphx_glr_auto_examples_sampling_plot_b02nested.py` .. raw:: html
Nested logit
.. raw:: html
.. only:: html .. image:: /auto_examples/sampling/images/thumb/sphx_glr_plot_b03cnl_thumb.png :alt: :ref:`sphx_glr_auto_examples_sampling_plot_b03cnl.py` .. raw:: html
Cross-nested logit
.. raw:: html
.. only:: html .. image:: /auto_examples/sampling/images/thumb/sphx_glr_specification_thumb.png :alt: :ref:`sphx_glr_auto_examples_sampling_specification.py` .. raw:: html
Model specification
.. raw:: html
.. only:: html .. image:: /auto_examples/sampling/images/thumb/sphx_glr_true_parameters_thumb.png :alt: :ref:`sphx_glr_auto_examples_sampling_true_parameters.py` .. raw:: html
True parameters
.. raw:: html
Biogeme examples for the Swissmetro data **************************************** You find here several examples of models that can be estimated and simulated with Biogeme. .. raw:: html
.. raw:: html
.. only:: html .. image:: /auto_examples/swissmetro/images/thumb/sphx_glr_plot_b01logit_thumb.png :alt: :ref:`sphx_glr_auto_examples_swissmetro_plot_b01logit.py` .. raw:: html
Estimation of a logit model
.. raw:: html
.. only:: html .. image:: /auto_examples/swissmetro/images/thumb/sphx_glr_plot_b01logit_all_algos_thumb.png :alt: :ref:`sphx_glr_auto_examples_swissmetro_plot_b01logit_all_algos.py` .. raw:: html
Logit model
.. raw:: html
.. only:: html .. image:: /auto_examples/swissmetro/images/thumb/sphx_glr_plot_b01logit_bis_thumb.png :alt: :ref:`sphx_glr_auto_examples_swissmetro_plot_b01logit_bis.py` .. raw:: html
Illustration of additional features of Biogeme
.. raw:: html
.. only:: html .. image:: /auto_examples/swissmetro/images/thumb/sphx_glr_plot_b01logit_simul_thumb.png :alt: :ref:`sphx_glr_auto_examples_swissmetro_plot_b01logit_simul.py` .. raw:: html
Simulation of a logit model
.. raw:: html
.. only:: html .. image:: /auto_examples/swissmetro/images/thumb/sphx_glr_plot_b02weight_thumb.png :alt: :ref:`sphx_glr_auto_examples_swissmetro_plot_b02weight.py` .. raw:: html
WESML
.. raw:: html
.. only:: html .. image:: /auto_examples/swissmetro/images/thumb/sphx_glr_plot_b03scale_thumb.png :alt: :ref:`sphx_glr_auto_examples_swissmetro_plot_b03scale.py` .. raw:: html
Heteroscedastic specification
.. raw:: html
.. only:: html .. image:: /auto_examples/swissmetro/images/thumb/sphx_glr_plot_b04validation_thumb.png :alt: :ref:`sphx_glr_auto_examples_swissmetro_plot_b04validation.py` .. raw:: html
Out-of-sample validation
.. raw:: html
.. only:: html .. image:: /auto_examples/swissmetro/images/thumb/sphx_glr_plot_b05normal_mixture_thumb.png :alt: :ref:`sphx_glr_auto_examples_swissmetro_plot_b05normal_mixture.py` .. raw:: html
Mixture of logit models
.. raw:: html
.. only:: html .. image:: /auto_examples/swissmetro/images/thumb/sphx_glr_plot_b05normal_mixture_all_algos_thumb.png :alt: :ref:`sphx_glr_auto_examples_swissmetro_plot_b05normal_mixture_all_algos.py` .. raw:: html
Mixture of logit
.. raw:: html
.. only:: html .. image:: /auto_examples/swissmetro/images/thumb/sphx_glr_plot_b05normal_mixture_integral_thumb.png :alt: :ref:`sphx_glr_auto_examples_swissmetro_plot_b05normal_mixture_integral.py` .. raw:: html
Mixture of logit models
.. raw:: html
.. only:: html .. image:: /auto_examples/swissmetro/images/thumb/sphx_glr_plot_b05normal_mixture_simul_thumb.png :alt: :ref:`sphx_glr_auto_examples_swissmetro_plot_b05normal_mixture_simul.py` .. raw:: html
Simulation of a mixture model
.. raw:: html
.. only:: html .. image:: /auto_examples/swissmetro/images/thumb/sphx_glr_plot_b06unif_mixture_thumb.png :alt: :ref:`sphx_glr_auto_examples_swissmetro_plot_b06unif_mixture.py` .. raw:: html
Mixture of logit models
.. raw:: html
.. only:: html .. image:: /auto_examples/swissmetro/images/thumb/sphx_glr_plot_b06unif_mixture_MHLS_thumb.png :alt: :ref:`sphx_glr_auto_examples_swissmetro_plot_b06unif_mixture_MHLS.py` .. raw:: html
Mixture of logit models
.. raw:: html
.. only:: html .. image:: /auto_examples/swissmetro/images/thumb/sphx_glr_plot_b06unif_mixture_integral_thumb.png :alt: :ref:`sphx_glr_auto_examples_swissmetro_plot_b06unif_mixture_integral.py` .. raw:: html
Mixture of logit models
.. raw:: html
.. only:: html .. image:: /auto_examples/swissmetro/images/thumb/sphx_glr_plot_b07discrete_mixture_thumb.png :alt: :ref:`sphx_glr_auto_examples_swissmetro_plot_b07discrete_mixture.py` .. raw:: html
Latent class model
.. raw:: html
.. only:: html .. image:: /auto_examples/swissmetro/images/thumb/sphx_glr_plot_b08boxcox_thumb.png :alt: :ref:`sphx_glr_auto_examples_swissmetro_plot_b08boxcox.py` .. raw:: html
Box-Cox transforms
.. raw:: html
.. only:: html .. image:: /auto_examples/swissmetro/images/thumb/sphx_glr_plot_b09nested_thumb.png :alt: :ref:`sphx_glr_auto_examples_swissmetro_plot_b09nested.py` .. raw:: html
Nested logit model
.. raw:: html
.. only:: html .. image:: /auto_examples/swissmetro/images/thumb/sphx_glr_plot_b09nested_old_thumb.png :alt: :ref:`sphx_glr_auto_examples_swissmetro_plot_b09nested_old.py` .. raw:: html
Nested logit model
.. raw:: html
.. only:: html .. image:: /auto_examples/swissmetro/images/thumb/sphx_glr_plot_b10nested_bottom_thumb.png :alt: :ref:`sphx_glr_auto_examples_swissmetro_plot_b10nested_bottom.py` .. raw:: html
Nested logit model normalized from bottom
.. raw:: html
.. only:: html .. image:: /auto_examples/swissmetro/images/thumb/sphx_glr_plot_b10nested_bottom_old_thumb.png :alt: :ref:`sphx_glr_auto_examples_swissmetro_plot_b10nested_bottom_old.py` .. raw:: html
Nested logit model normalized from bottom
.. raw:: html
.. only:: html .. image:: /auto_examples/swissmetro/images/thumb/sphx_glr_plot_b11cnl_thumb.png :alt: :ref:`sphx_glr_auto_examples_swissmetro_plot_b11cnl.py` .. raw:: html
Cross-nested logit
.. raw:: html
.. only:: html .. image:: /auto_examples/swissmetro/images/thumb/sphx_glr_plot_b11cnl_old_thumb.png :alt: :ref:`sphx_glr_auto_examples_swissmetro_plot_b11cnl_old.py` .. raw:: html
Cross-nested logit (old syntax)
.. raw:: html
.. only:: html .. image:: /auto_examples/swissmetro/images/thumb/sphx_glr_plot_b11cnl_simul_thumb.png :alt: :ref:`sphx_glr_auto_examples_swissmetro_plot_b11cnl_simul.py` .. raw:: html
Simulation of a cross-nested logit model
.. raw:: html
.. only:: html .. image:: /auto_examples/swissmetro/images/thumb/sphx_glr_plot_b11cnl_sparse_thumb.png :alt: :ref:`sphx_glr_auto_examples_swissmetro_plot_b11cnl_sparse.py` .. raw:: html
Cross-nested logit
.. raw:: html
.. only:: html .. image:: /auto_examples/swissmetro/images/thumb/sphx_glr_plot_b12panel_thumb.png :alt: :ref:`sphx_glr_auto_examples_swissmetro_plot_b12panel.py` .. raw:: html
Mixture of logit with panel data
.. raw:: html
.. only:: html .. image:: /auto_examples/swissmetro/images/thumb/sphx_glr_plot_b12panel_flat_thumb.png :alt: :ref:`sphx_glr_auto_examples_swissmetro_plot_b12panel_flat.py` .. raw:: html
Mixture of logit with panel data
.. raw:: html
.. only:: html .. image:: /auto_examples/swissmetro/images/thumb/sphx_glr_plot_b13panel_simul_thumb.png :alt: :ref:`sphx_glr_auto_examples_swissmetro_plot_b13panel_simul.py` .. raw:: html
Simulation of panel model
.. raw:: html
.. only:: html .. image:: /auto_examples/swissmetro/images/thumb/sphx_glr_plot_b14nested_endogenous_sampling_thumb.png :alt: :ref:`sphx_glr_auto_examples_swissmetro_plot_b14nested_endogenous_sampling.py` .. raw:: html
Nested logit with corrections for endogeneous sampling
.. raw:: html
.. only:: html .. image:: /auto_examples/swissmetro/images/thumb/sphx_glr_plot_b15panel_discrete_thumb.png :alt: :ref:`sphx_glr_auto_examples_swissmetro_plot_b15panel_discrete.py` .. raw:: html
Discrete mixture with panel data
.. raw:: html
.. only:: html .. image:: /auto_examples/swissmetro/images/thumb/sphx_glr_plot_b15panel_discrete_bis_thumb.png :alt: :ref:`sphx_glr_auto_examples_swissmetro_plot_b15panel_discrete_bis.py` .. raw:: html
Discrete mixture with panel data
.. raw:: html
.. only:: html .. image:: /auto_examples/swissmetro/images/thumb/sphx_glr_plot_b16panel_discrete_socio_eco_thumb.png :alt: :ref:`sphx_glr_auto_examples_swissmetro_plot_b16panel_discrete_socio_eco.py` .. raw:: html
Discrete mixture with panel data
.. raw:: html
.. only:: html .. image:: /auto_examples/swissmetro/images/thumb/sphx_glr_plot_b17lognormal_mixture_thumb.png :alt: :ref:`sphx_glr_auto_examples_swissmetro_plot_b17lognormal_mixture.py` .. raw:: html
Mixture with lognormal distribution
.. raw:: html
.. only:: html .. image:: /auto_examples/swissmetro/images/thumb/sphx_glr_plot_b17lognormal_mixture_integral_thumb.png :alt: :ref:`sphx_glr_auto_examples_swissmetro_plot_b17lognormal_mixture_integral.py` .. raw:: html
Mixture with lognormal distribution
.. raw:: html
.. only:: html .. image:: /auto_examples/swissmetro/images/thumb/sphx_glr_plot_b18ordinal_logit_thumb.png :alt: :ref:`sphx_glr_auto_examples_swissmetro_plot_b18ordinal_logit.py` .. raw:: html
Ordinal logit model
.. raw:: html
.. only:: html .. image:: /auto_examples/swissmetro/images/thumb/sphx_glr_plot_b18ordinal_probit_thumb.png :alt: :ref:`sphx_glr_auto_examples_swissmetro_plot_b18ordinal_probit.py` .. raw:: html
Ordinal probit model
.. raw:: html
.. only:: html .. image:: /auto_examples/swissmetro/images/thumb/sphx_glr_plot_b19individual_level_parameters_thumb.png :alt: :ref:`sphx_glr_auto_examples_swissmetro_plot_b19individual_level_parameters.py` .. raw:: html
Calculation of individual level parameters
.. raw:: html
.. only:: html .. image:: /auto_examples/swissmetro/images/thumb/sphx_glr_plot_b20multiple_models_thumb.png :alt: :ref:`sphx_glr_auto_examples_swissmetro_plot_b20multiple_models.py` .. raw:: html
Estimation of several models
.. raw:: html
.. only:: html .. image:: /auto_examples/swissmetro/images/thumb/sphx_glr_plot_b21multiple_models_thumb.png :alt: :ref:`sphx_glr_auto_examples_swissmetro_plot_b21multiple_models.py` .. raw:: html
Assisted specification
.. raw:: html
.. only:: html .. image:: /auto_examples/swissmetro/images/thumb/sphx_glr_plot_b21multiple_models_spec_thumb.png :alt: :ref:`sphx_glr_auto_examples_swissmetro_plot_b21multiple_models_spec.py` .. raw:: html
Specification of a catalog of models
.. raw:: html
.. only:: html .. image:: /auto_examples/swissmetro/images/thumb/sphx_glr_plot_b21process_pareto_thumb.png :alt: :ref:`sphx_glr_auto_examples_swissmetro_plot_b21process_pareto.py` .. raw:: html
Re-estimate the Pareto optimal models
.. raw:: html
.. only:: html .. image:: /auto_examples/swissmetro/images/thumb/sphx_glr_plot_b22multiple_models_thumb.png :alt: :ref:`sphx_glr_auto_examples_swissmetro_plot_b22multiple_models.py` .. raw:: html
Assisted specification
.. raw:: html
.. only:: html .. image:: /auto_examples/swissmetro/images/thumb/sphx_glr_plot_b22multiple_models_spec_thumb.png :alt: :ref:`sphx_glr_auto_examples_swissmetro_plot_b22multiple_models_spec.py` .. raw:: html
Specification of a catalog of models
.. raw:: html
.. only:: html .. image:: /auto_examples/swissmetro/images/thumb/sphx_glr_plot_b22process_pareto_thumb.png :alt: :ref:`sphx_glr_auto_examples_swissmetro_plot_b22process_pareto.py` .. raw:: html
Re-estimate the Pareto optimal models
.. raw:: html
.. only:: html .. image:: /auto_examples/swissmetro/images/thumb/sphx_glr_plot_b23binary_logit_thumb.png :alt: :ref:`sphx_glr_auto_examples_swissmetro_plot_b23binary_logit.py` .. raw:: html
Binary logit model
.. raw:: html
.. only:: html .. image:: /auto_examples/swissmetro/images/thumb/sphx_glr_plot_b23binary_probit_thumb.png :alt: :ref:`sphx_glr_auto_examples_swissmetro_plot_b23binary_probit.py` .. raw:: html
Binary probit model
.. raw:: html
.. only:: html .. image:: /auto_examples/swissmetro/images/thumb/sphx_glr_plot_b24halton_mixture_thumb.png :alt: :ref:`sphx_glr_auto_examples_swissmetro_plot_b24halton_mixture.py` .. raw:: html
Mixture of logit with Halton draws
.. raw:: html
.. only:: html .. image:: /auto_examples/swissmetro/images/thumb/sphx_glr_plot_b25triangular_mixture_thumb.png :alt: :ref:`sphx_glr_auto_examples_swissmetro_plot_b25triangular_mixture.py` .. raw:: html
Triangular mixture of logit
.. raw:: html
.. only:: html .. image:: /auto_examples/swissmetro/images/thumb/sphx_glr_plot_b26triangular_panel_mixture_thumb.png :alt: :ref:`sphx_glr_auto_examples_swissmetro_plot_b26triangular_panel_mixture.py` .. raw:: html
Triangular mixture with panel data
.. raw:: html
.. only:: html .. image:: /auto_examples/swissmetro/images/thumb/sphx_glr_swissmetro_binary_thumb.png :alt: :ref:`sphx_glr_auto_examples_swissmetro_swissmetro_binary.py` .. raw:: html
Data preparation for Swissmetro (binary choice)
.. raw:: html
.. only:: html .. image:: /auto_examples/swissmetro/images/thumb/sphx_glr_swissmetro_data_thumb.png :alt: :ref:`sphx_glr_auto_examples_swissmetro_swissmetro_data.py` .. raw:: html
Data preparation for Swissmetro
.. raw:: html
.. only:: html .. image:: /auto_examples/swissmetro/images/thumb/sphx_glr_swissmetro_panel_thumb.png :alt: :ref:`sphx_glr_auto_examples_swissmetro_swissmetro_panel.py` .. raw:: html
Panel data preparation for Swissmetro
.. raw:: html
.. toctree:: :hidden: :includehidden: /auto_examples/assisted/index.rst /auto_examples/indicators/index.rst /auto_examples/latent/index.rst /auto_examples/latentbis/index.rst /auto_examples/montecarlo/index.rst /auto_examples/programmers/index.rst /auto_examples/sampling/index.rst /auto_examples/swissmetro/index.rst .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-gallery .. container:: sphx-glr-download sphx-glr-download-python :download:`Download all examples in Python source code: auto_examples_python.zip ` .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download all examples in Jupyter notebooks: auto_examples_jupyter.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_