.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "auto_examples/hybrid_choice_models/plot_h05_mode_lv_ordlogit_simult.py" .. LINE NUMBERS ARE GIVEN BELOW. .. only:: html .. note:: :class: sphx-glr-download-link-note :ref:`Go to the end ` to download the full example code. .. rst-class:: sphx-glr-example-title .. _sphx_glr_auto_examples_hybrid_choice_models_plot_h05_mode_lv_ordlogit_simult.py: Ordered-logit hybrid mode choice model: simultaneous maximum likelihood estimation ================================================================================== This example estimates a hybrid mode choice model with one latent variable and ordered-logit measurement equations. The observed Likert indicators are modeled as ordinal responses, and the associated threshold parameters are estimated jointly with the latent-variable and choice-model parameters. Compared with the previous Gaussian specification, only the measurement model changes: the hybrid structure, the latent variable, and the simultaneous maximum-likelihood estimation strategy remain the same. The latent-variable structure is imported from a separate semantic specification file. This script adds the ordered-logit measurement configuration, the normalization constraints required for identification, the mode-choice utilities, and the simultaneous maximum-likelihood estimation setup. The script performs the following steps: - load the latent-variable and indicator specifications, - define an ordered-logit measurement configuration for all indicators, - define the normalization constraints used for identification, - resolve the semantic specification into an estimable model, - build the Biogeme expressions from the resolved model, - build the choice utilities, including the latent-variable term, - combine the ordered-logit measurement and choice conditional likelihoods, - integrate the combined conditional likelihood over the latent variable, - estimate the hybrid model, or reload previously saved estimation results, - display the estimated parameters as grouped pandas and LaTeX tables. Michel Bierlaire Mon Jun 15 2026, 09:54:37 .. GENERATED FROM PYTHON SOURCE LINES 35-75 .. code-block:: Python from __future__ import annotations from choice_latent_variables import generate_availability, generate_utility_functions from likert_spec import likert_indicators, likert_types from number_of_draws import NUMBER_OF_DRAWS from one_latent_variable_spec import latent_variables from optima import Choice, read_data import biogeme.biogeme_logging as blog from biogeme.biogeme import BIOGEME from biogeme.expressions import MonteCarlo, log from biogeme.latent_variables import ( BuildContext, EstimationMode, Fixing, IndicatorMeasurementSpec, MeasurementConfiguration, MeasurementIntercept, MeasurementLoading, MeasurementModel, MeasurementSigma, NormalizationPlan, PositiveParameterSpec, PositivityMode, build_biogeme_model, resolve_model, ) from biogeme.models import logit from biogeme.results_processing import ( get_latex_estimated_parameters, get_latex_general_statistics, get_pandas_estimated_parameters, ) logger = blog.get_screen_logger(level=blog.INFO) DEFAULT_MEASUREMENT_SIGMA_START = 10.0 .. GENERATED FROM PYTHON SOURCE LINES 76-78 Ordered-logit measurement configuration for all Likert indicators. ------------------------------------------------------------------ .. GENERATED FROM PYTHON SOURCE LINES 78-91 .. code-block:: Python measurement_configuration = MeasurementConfiguration( specifications=[ IndicatorMeasurementSpec( indicator_name=indicator.name, measurement_model=MeasurementModel.ORDERED_LOGIT, measurement_sigma=PositiveParameterSpec( start=DEFAULT_MEASUREMENT_SIGMA_START ), ) for indicator in likert_indicators ] ) .. GENERATED FROM PYTHON SOURCE LINES 92-94 Load the Optima data. --------------------- .. GENERATED FROM PYTHON SOURCE LINES 94-96 .. code-block:: Python database = read_data() .. GENERATED FROM PYTHON SOURCE LINES 97-104 Define the build context for maximum likelihood estimation. ----------------------------------------------------------- The build context specifies how the semantic latent-variable specification is translated into estimable Biogeme expressions. We start from the default maximum-likelihood context and explicitly select the log-exp parameterization for positive parameters. The ordinal options are relevant here because the measurement equations use ordered-logit probabilities. .. GENERATED FROM PYTHON SOURCE LINES 104-114 .. code-block:: Python default_context = BuildContext.default(EstimationMode.MAXIMUM_LIKELIHOOD) context = BuildContext( estimation_mode=default_context.estimation_mode, draw_type=default_context.draw_type, positivity_mode=PositivityMode.LOG_EXP, naming=default_context.naming, ordinal_eps=default_context.ordinal_eps, ordinal_enforce_order=default_context.ordinal_enforce_order, ) .. GENERATED FROM PYTHON SOURCE LINES 115-138 Identification constraints for the latent variable -------------------------------------------------- Two layers of normalization are needed in this ordered-logit specification. 1. Ordered-logit measurement-scale normalization The latent response underlying the ordinal indicators has an arbitrary scale. We therefore fix one measurement sigma to 1.0 in order to anchor the overall scale of the ordered-logit measurement model. 2. Latent-variable normalization by reference indicator The latent variable itself is not directly observed, so its location and orientation must also be fixed. We use indicator ``Envir01`` as the reference indicator: - its intercept is fixed to 0.0, which anchors the location of the latent variable; - its loading on ``car_centric_attitude`` is fixed to -1.0, which anchors the scale and fixes the orientation of the latent variable. The negative sign means that higher values of ``car_centric_attitude`` imply lower expected values for ``Envir01``. With these constraints in place, the remaining intercepts, loadings, and thresholds are interpreted relative to the chosen reference and measurement scale. .. GENERATED FROM PYTHON SOURCE LINES 138-163 .. code-block:: Python normalization_plan = NormalizationPlan() normalization_plan.add( Fixing( MeasurementSigma('Envir01'), 1.0, note='ordered-logit measurement model: scale normalization', ) ) normalization_plan.add( Fixing( MeasurementIntercept('Envir01'), 0.0, note='car_centric_attitude reference indicator: location', ) ) normalization_plan.add( Fixing( MeasurementLoading('car_centric_attitude', 'Envir01'), -1.0, note='car_centric_attitude reference indicator: scale and orientation', ) ) .. GENERATED FROM PYTHON SOURCE LINES 164-169 Resolve the semantic specification. ----------------------------------- The resolver combines the latent-variable specification, the indicator definitions, the ordered-logit measurement configuration, and the normalization plan into an internal resolved model. .. GENERATED FROM PYTHON SOURCE LINES 169-178 .. code-block:: Python resolved_model = resolve_model( latent_variables=latent_variables, likert_indicators=likert_indicators, likert_types=likert_types, measurement_configuration=measurement_configuration, context=context, normalization_plan=normalization_plan, ) .. GENERATED FROM PYTHON SOURCE LINES 179-185 Build the Biogeme expressions. ------------------------------ The builder translates the resolved model into expressions that can be used by Biogeme for simultaneous maximum-likelihood estimation. It also provides report-ready parameter groups based on the parameters that are actually estimated. .. GENERATED FROM PYTHON SOURCE LINES 185-187 .. code-block:: Python built_model = build_biogeme_model(resolved_model) .. GENERATED FROM PYTHON SOURCE LINES 188-190 Choice utilities including the latent-variable term. ---------------------------------------------------- .. GENERATED FROM PYTHON SOURCE LINES 190-192 .. code-block:: Python utilities = generate_utility_functions(built_model.latent_expressions) .. GENERATED FROM PYTHON SOURCE LINES 193-195 Conditional likelihood of the mode choice model ----------------------------------------------- .. GENERATED FROM PYTHON SOURCE LINES 195-199 .. code-block:: Python availability = generate_availability() conditional_choice_likelihood = logit(utilities, availability, Choice) .. GENERATED FROM PYTHON SOURCE LINES 200-205 Combined conditional likelihood ------------------------------- The ordered-logit measurement component and the mode-choice component are combined conditionally on the latent variable. As in the previous step, both parts are estimated jointly in a single likelihood. .. GENERATED FROM PYTHON SOURCE LINES 205-209 .. code-block:: Python combined_conditional_likelihood = ( built_model.conditional_likelihood * conditional_choice_likelihood ) .. GENERATED FROM PYTHON SOURCE LINES 210-216 Log-likelihood -------------- The combined conditional likelihood is integrated over the latent variable by Monte Carlo. Taking the logarithm of the resulting integrated likelihood yields the log-likelihood used for simultaneous maximum-likelihood estimation. .. GENERATED FROM PYTHON SOURCE LINES 216-220 .. code-block:: Python integrated_likelihood = MonteCarlo(combined_conditional_likelihood) log_likelihood = log(integrated_likelihood) .. GENERATED FROM PYTHON SOURCE LINES 221-224 Estimate the model with Biogeme. -------------------------------- Existing results are reloaded from the YAML file when available. .. GENERATED FROM PYTHON SOURCE LINES 224-237 .. code-block:: Python biogeme = BIOGEME( database, log_likelihood, number_of_draws=NUMBER_OF_DRAWS, calculating_second_derivatives='never', max_iterations=5_000, group_of_parameters=built_model.parameter_groups, ) biogeme.model_name = 'plot_h05_mode_lv_ordlogit_simult' yaml_file_name = f'saved_results/{biogeme.model_name}.yaml' results = biogeme.estimate_or_load(yaml_file_name=yaml_file_name) .. rst-class:: sphx-glr-script-out .. code-block:: none Biogeme parameters read from biogeme.toml. Estimation results are read from saved_results/plot_h05_mode_lv_ordlogit_simult.yaml. No estimation is performed. .. GENERATED FROM PYTHON SOURCE LINES 238-239 Display a compact summary and the estimated parameters. .. GENERATED FROM PYTHON SOURCE LINES 239-258 .. code-block:: Python print(results.short_summary()) pandas_results = get_pandas_estimated_parameters( estimation_results=results, group_of_parameters=built_model.parameter_groups, ) for group_name, pandas_table in pandas_results.items(): print(group_name if group_name else 'Estimated parameters') print(pandas_table) general_statistics = get_latex_general_statistics(estimation_results=results) print(general_statistics) estimated_parameters = get_latex_estimated_parameters( estimation_results=results, group_of_parameters=built_model.parameter_groups, ) for group_name, latex_table in estimated_parameters.items(): print(group_name if group_name else 'Estimated parameters') print(latex_table) .. rst-class:: sphx-glr-script-out .. code-block:: none Results for model plot_h05_mode_lv_ordlogit_simult Nbr of parameters: 41 Sample size: 889 Excluded data: 0 Final log likelihood: -10485.81 Akaike Information Criterion: 21053.61 Bayesian Information Criterion: 21250 Structural equation Name ... BHHH p-value 0 struct_car_centric_attitude_intercept ... 1.517401e-01 1 struct_car_centric_attitude_top_manager ... 2.913564e-01 2 struct_car_centric_attitude_car_oriented_parents ... 1.070922e-03 3 struct_car_centric_attitude_high_education ... 8.681455e-05 4 struct_car_centric_attitude_low_education ... 1.382274e-01 5 struct_car_centric_attitude_used_to_go_to_scho... ... 8.725936e-01 6 struct_car_centric_attitude_sigma_log ... 2.220446e-16 [7 rows x 5 columns] Measurement equation: Envir02 Name ... BHHH p-value 9 measurement_intercept_Envir02 ... 4.201528e-12 10 measurement_coefficient_car_centric_attitude_E... ... 0.000000e+00 11 measurement_Envir02_sigma_log ... 1.199451e-01 [3 rows x 5 columns] Measurement equation: Envir06 Name ... BHHH p-value 12 measurement_intercept_Envir06 ... 0.000000 13 measurement_coefficient_car_centric_attitude_E... ... 0.000000 14 measurement_Envir06_sigma_log ... 0.000019 [3 rows x 5 columns] Measurement equation: Mobil03 Name ... BHHH p-value 15 measurement_intercept_Mobil03 ... 1.020447e-05 16 measurement_coefficient_car_centric_attitude_M... ... 5.991044e-07 17 measurement_Mobil03_sigma_log ... 8.766319e-01 [3 rows x 5 columns] Measurement equation: Mobil05 Name ... BHHH p-value 18 measurement_intercept_Mobil05 ... 1.385597e-07 19 measurement_coefficient_car_centric_attitude_M... ... 0.000000e+00 20 measurement_Mobil05_sigma_log ... 2.005946e-01 [3 rows x 5 columns] Measurement equation: Mobil08 Name ... BHHH p-value 21 measurement_intercept_Mobil08 ... 1.776357e-15 22 measurement_coefficient_car_centric_attitude_M... ... 4.796163e-14 23 measurement_Mobil08_sigma_log ... 2.724512e-01 [3 rows x 5 columns] Measurement equation: Mobil09 Name ... BHHH p-value 24 measurement_intercept_Mobil09 ... 0.000000 25 measurement_coefficient_car_centric_attitude_M... ... 0.000000 26 measurement_Mobil09_sigma_log ... 0.040642 [3 rows x 5 columns] Measurement equation: Mobil10 Name ... BHHH p-value 27 measurement_intercept_Mobil10 ... 0.560414 28 measurement_coefficient_car_centric_attitude_M... ... 0.000000 29 measurement_Mobil10_sigma_log ... 0.001075 [3 rows x 5 columns] Measurement equation: LifSty07 Name ... BHHH p-value 30 measurement_intercept_LifSty07 ... 0.000000 31 measurement_coefficient_car_centric_attitude_L... ... 0.000127 32 measurement_LifSty07_sigma_log ... 0.217501 [3 rows x 5 columns] Thresholds Name Value BHHH std err. BHHH t-stat. BHHH p-value 7 likert_delta_0_log -0.693211 0.096267 -7.20094 5.979661e-13 8 likert_delta_1_log 0.505968 0.087893 5.75665 8.579977e-09 Other parameters Name Value ... BHHH t-stat. BHHH p-value 33 choice_scale_parameter 0.063321 ... 6.668502 2.584266e-11 34 choice_asc_pt -12.363941 ... -2.566703 1.026704e-02 35 choice_beta_time_pt -16.245123 ... -4.041573 5.309374e-05 36 choice_asc_car -3.947207 ... -0.993434 3.204987e-01 37 choice_beta_time_car -33.813319 ... -5.019079 5.191990e-07 38 choice_beta_car_centric_attitude_car 5.721898 ... 4.435502 9.185805e-06 39 choice_beta_dist_work -3.252726 ... -5.929513 3.038341e-09 40 choice_beta_dist_other_purposes -5.229522 ... -5.538329 3.053708e-08 [8 rows x 5 columns] %% General statistics \section{General statistics} \begin{tabular}{ll} Number of estimated parameters & 41 \\ Sample size & 889 \\ Excluded observations & 0 \\ Init log likelihood & -20186.37 \\ Final log likelihood & -10485.81 \\ Likelihood ratio test for the init. model & 19401.13 \\ Rho-square for the init. model & 0.481 \\ Rho-square-bar for the init. model & 0.479 \\ Akaike Information Criterion & 21053.61 \\ Bayesian Information Criterion & 21250 \\ Final gradient norm & 4.1027E-02 \\ Number of draws & 50000 \\ Draws generation time & 0:00:13.032350 \\ Types of draws & struct\_car\_centric\_attitude\_draws: NORMAL\_MLHS\_ANTI \\ Bootstrapping time & None \\ Algorithm & \verb$BFGS with trust region for simple bound constraints$ \\ Cause of termination & \verb$Relative gradient = 5.1e-06 <= 6.1e-06$ \\ Number of function evaluations & \verb$1751$ \\ Number of gradient evaluations & \verb$995$ \\ Number of hessian evaluations & \verb$0$ \\ Number of iterations & \verb$756$ \\ Optimization time & \verb$2:42:39.249790$ \\ Proportion of Hessian calculation & \verb$0/497 = 0.0%$ \\ Relative gradient & \verb$5.062e-06$ \\ \end{tabular} Structural equation \begin{tabular}{rlr@{.}lr@{.}lr@{.}lr@{.}l} & & \multicolumn{2}{l}{} & \multicolumn{2}{l}{BHHH} & \multicolumn{4}{l}{} \\ Parameter & & \multicolumn{2}{l}{Coeff.} & \multicolumn{2}{l}{Asympt.} & \multicolumn{4}{l}{} \\ number & Description & \multicolumn{2}{l}{estimate} & \multicolumn{2}{l}{std. error} & \multicolumn{2}{l}{$t$-stat} & \multicolumn{2}{l}{$p$-value} \\ \hline 0 & struct\_car\_centric\_attitude\_intercept & 0&346 & 0&241 & 1&43 & 0&152 \\ 1 & struct\_car\_centric\_attitude\_top\_manager & 0&310 & 0&294 & 1&06 & 0&291 \\ 2 & struct\_car\_centric\_attitude\_car\_oriented\_parents & 0&693 & 0&212 & 3&27 & 0&00107 \\ 3 & struct\_car\_centric\_attitude\_high\_education & -1&05 & 0&268 & -3&92 & 8&68e-05 \\ 4 & struct\_car\_centric\_attitude\_low\_education & 0&383 & 0&258 & 1&48 & 0&138 \\ 5 & struct\_car\_centric\_attitude\_used\_to\_go\_to\_school\_by\_car & 0&190 & 1&18 & 0&160 & 0&873 \\ 6 & struct\_car\_centric\_attitude\_sigma\_log & 0&748 & 0&0913 & 8&20 & 2&22e-16 \\ \end{tabular} Measurement equation: Envir02 \begin{tabular}{rlr@{.}lr@{.}lr@{.}lr@{.}l} & & \multicolumn{2}{l}{} & \multicolumn{2}{l}{BHHH} & \multicolumn{4}{l}{} \\ Parameter & & \multicolumn{2}{l}{Coeff.} & \multicolumn{2}{l}{Asympt.} & \multicolumn{4}{l}{} \\ number & Description & \multicolumn{2}{l}{estimate} & \multicolumn{2}{l}{std. error} & \multicolumn{2}{l}{$t$-stat} & \multicolumn{2}{l}{$p$-value} \\ \hline 9 & measurement\_intercept\_Envir02 & 1&06 & 0&153 & 6&93 & 4&20e-12 \\ 10 & measurement\_coefficient\_car\_centric\_attitude\_Envir02 & -0&524 & 0&0381 & -13&7 & 0&00 \\ 11 & measurement\_Envir02\_sigma\_log & -0&170 & 0&109 & -1&56 & 0&120 \\ \end{tabular} Measurement equation: Envir06 \begin{tabular}{rlr@{.}lr@{.}lr@{.}lr@{.}l} & & \multicolumn{2}{l}{} & \multicolumn{2}{l}{BHHH} & \multicolumn{4}{l}{} \\ Parameter & & \multicolumn{2}{l}{Coeff.} & \multicolumn{2}{l}{Asympt.} & \multicolumn{4}{l}{} \\ number & Description & \multicolumn{2}{l}{estimate} & \multicolumn{2}{l}{std. error} & \multicolumn{2}{l}{$t$-stat} & \multicolumn{2}{l}{$p$-value} \\ \hline 12 & measurement\_intercept\_Envir06 & 2&42 & 0&241 & 10&0 & 0&00 \\ 13 & measurement\_coefficient\_car\_centric\_attitude\_Envir06 & -0&363 & 0&0339 & -10&7 & 0&00 \\ 14 & measurement\_Envir06\_sigma\_log & -0&440 & 0&103 & -4&28 & 1&89e-05 \\ \end{tabular} Measurement equation: Mobil03 \begin{tabular}{rlr@{.}lr@{.}lr@{.}lr@{.}l} & & \multicolumn{2}{l}{} & \multicolumn{2}{l}{BHHH} & \multicolumn{4}{l}{} \\ Parameter & & \multicolumn{2}{l}{Coeff.} & \multicolumn{2}{l}{Asympt.} & \multicolumn{4}{l}{} \\ number & Description & \multicolumn{2}{l}{estimate} & \multicolumn{2}{l}{std. error} & \multicolumn{2}{l}{$t$-stat} & \multicolumn{2}{l}{$p$-value} \\ \hline 15 & measurement\_intercept\_Mobil03 & 0&450 & 0&102 & 4&41 & 1&02e-05 \\ 16 & measurement\_coefficient\_car\_centric\_attitude\_Mobil03 & -0&176 & 0&0352 & -4&99 & 5&99e-07 \\ 17 & measurement\_Mobil03\_sigma\_log & 0&0163 & 0&105 & 0&155 & 0&877 \\ \end{tabular} Measurement equation: Mobil05 \begin{tabular}{rlr@{.}lr@{.}lr@{.}lr@{.}l} & & \multicolumn{2}{l}{} & \multicolumn{2}{l}{BHHH} & \multicolumn{4}{l}{} \\ Parameter & & \multicolumn{2}{l}{Coeff.} & \multicolumn{2}{l}{Asympt.} & \multicolumn{4}{l}{} \\ number & Description & \multicolumn{2}{l}{estimate} & \multicolumn{2}{l}{std. error} & \multicolumn{2}{l}{$t$-stat} & \multicolumn{2}{l}{$p$-value} \\ \hline 18 & measurement\_intercept\_Mobil05 & 0&753 & 0&143 & 5&27 & 1&39e-07 \\ 19 & measurement\_coefficient\_car\_centric\_attitude\_Mobil05 & -0&380 & 0&0434 & -8&74 & 0&00 \\ 20 & measurement\_Mobil05\_sigma\_log & 0&142 & 0&111 & 1&28 & 0&201 \\ \end{tabular} Measurement equation: Mobil08 \begin{tabular}{rlr@{.}lr@{.}lr@{.}lr@{.}l} & & \multicolumn{2}{l}{} & \multicolumn{2}{l}{BHHH} & \multicolumn{4}{l}{} \\ Parameter & & \multicolumn{2}{l}{Coeff.} & \multicolumn{2}{l}{Asympt.} & \multicolumn{4}{l}{} \\ number & Description & \multicolumn{2}{l}{estimate} & \multicolumn{2}{l}{std. error} & \multicolumn{2}{l}{$t$-stat} & \multicolumn{2}{l}{$p$-value} \\ \hline 21 & measurement\_intercept\_Mobil08 & -1&12 & 0&141 & -7&95 & 1&78e-15 \\ 22 & measurement\_coefficient\_car\_centric\_attitude\_Mobil08 & 0&319 & 0&0423 & 7&54 & 4&80e-14 \\ 23 & measurement\_Mobil08\_sigma\_log & 0&120 & 0&109 & 1&10 & 0&272 \\ \end{tabular} Measurement equation: Mobil09 \begin{tabular}{rlr@{.}lr@{.}lr@{.}lr@{.}l} & & \multicolumn{2}{l}{} & \multicolumn{2}{l}{BHHH} & \multicolumn{4}{l}{} \\ Parameter & & \multicolumn{2}{l}{Coeff.} & \multicolumn{2}{l}{Asympt.} & \multicolumn{4}{l}{} \\ number & Description & \multicolumn{2}{l}{estimate} & \multicolumn{2}{l}{std. error} & \multicolumn{2}{l}{$t$-stat} & \multicolumn{2}{l}{$p$-value} \\ \hline 24 & measurement\_intercept\_Mobil09 & 1&68 & 0&190 & 8&81 & 0&00 \\ 25 & measurement\_coefficient\_car\_centric\_attitude\_Mobil09 & -0&356 & 0&0339 & -10&5 & 0&00 \\ 26 & measurement\_Mobil09\_sigma\_log & -0&216 & 0&106 & -2&05 & 0&0406 \\ \end{tabular} Measurement equation: Mobil10 \begin{tabular}{rlr@{.}lr@{.}lr@{.}lr@{.}l} & & \multicolumn{2}{l}{} & \multicolumn{2}{l}{BHHH} & \multicolumn{4}{l}{} \\ Parameter & & \multicolumn{2}{l}{Coeff.} & \multicolumn{2}{l}{Asympt.} & \multicolumn{4}{l}{} \\ number & Description & \multicolumn{2}{l}{estimate} & \multicolumn{2}{l}{std. error} & \multicolumn{2}{l}{$t$-stat} & \multicolumn{2}{l}{$p$-value} \\ \hline 27 & measurement\_intercept\_Mobil10 & 0&0896 & 0&154 & 0&582 & 0&560 \\ 28 & measurement\_coefficient\_car\_centric\_attitude\_Mobil10 & 0&668 & 0&0779 & 8&57 & 0&00 \\ 29 & measurement\_Mobil10\_sigma\_log & 0&432 & 0&132 & 3&27 & 0&00107 \\ \end{tabular} Measurement equation: LifSty07 \begin{tabular}{rlr@{.}lr@{.}lr@{.}lr@{.}l} & & \multicolumn{2}{l}{} & \multicolumn{2}{l}{BHHH} & \multicolumn{4}{l}{} \\ Parameter & & \multicolumn{2}{l}{Coeff.} & \multicolumn{2}{l}{Asympt.} & \multicolumn{4}{l}{} \\ number & Description & \multicolumn{2}{l}{estimate} & \multicolumn{2}{l}{std. error} & \multicolumn{2}{l}{$t$-stat} & \multicolumn{2}{l}{$p$-value} \\ \hline 30 & measurement\_intercept\_LifSty07 & -1&28 & 0&139 & -9&22 & 0&00 \\ 31 & measurement\_coefficient\_car\_centric\_attitude\_LifSty07 & 0&141 & 0&0367 & 3&83 & 0&000127 \\ 32 & measurement\_LifSty07\_sigma\_log & 0&139 & 0&113 & 1&23 & 0&218 \\ \end{tabular} Thresholds \begin{tabular}{rlr@{.}lr@{.}lr@{.}lr@{.}l} & & \multicolumn{2}{l}{} & \multicolumn{2}{l}{BHHH} & \multicolumn{4}{l}{} \\ Parameter & & \multicolumn{2}{l}{Coeff.} & \multicolumn{2}{l}{Asympt.} & \multicolumn{4}{l}{} \\ number & Description & \multicolumn{2}{l}{estimate} & \multicolumn{2}{l}{std. error} & \multicolumn{2}{l}{$t$-stat} & \multicolumn{2}{l}{$p$-value} \\ \hline 7 & likert\_delta\_0\_log & -0&693 & 0&0963 & -7&20 & 5&98e-13 \\ 8 & likert\_delta\_1\_log & 0&506 & 0&0879 & 5&76 & 8&58e-09 \\ \end{tabular} Other parameters \begin{tabular}{rlr@{.}lr@{.}lr@{.}lr@{.}l} & & \multicolumn{2}{l}{} & \multicolumn{2}{l}{BHHH} & \multicolumn{4}{l}{} \\ Parameter & & \multicolumn{2}{l}{Coeff.} & \multicolumn{2}{l}{Asympt.} & \multicolumn{4}{l}{} \\ number & Description & \multicolumn{2}{l}{estimate} & \multicolumn{2}{l}{std. error} & \multicolumn{2}{l}{$t$-stat} & \multicolumn{2}{l}{$p$-value} \\ \hline 33 & choice\_scale\_parameter & 0&0633 & 0&00950 & 6&67 & 2&58e-11 \\ 34 & choice\_asc\_pt & -12&4 & 4&82 & -2&57 & 0&0103 \\ 35 & choice\_beta\_time\_pt & -16&2 & 4&02 & -4&04 & 5&31e-05 \\ 36 & choice\_asc\_car & -3&95 & 3&97 & -0&993 & 0&320 \\ 37 & choice\_beta\_time\_car & -33&8 & 6&74 & -5&02 & 5&19e-07 \\ 38 & choice\_beta\_car\_centric\_attitude\_car & 5&72 & 1&29 & 4&44 & 9&19e-06 \\ 39 & choice\_beta\_dist\_work & -3&25 & 0&549 & -5&93 & 3&04e-09 \\ 40 & choice\_beta\_dist\_other\_purposes & -5&23 & 0&944 & -5&54 & 3&05e-08 \\ \end{tabular} .. rst-class:: sphx-glr-timing **Total running time of the script:** (0 minutes 1.330 seconds) .. _sphx_glr_download_auto_examples_hybrid_choice_models_plot_h05_mode_lv_ordlogit_simult.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: plot_h05_mode_lv_ordlogit_simult.ipynb ` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: plot_h05_mode_lv_ordlogit_simult.py ` .. container:: sphx-glr-download sphx-glr-download-zip :download:`Download zipped: plot_h05_mode_lv_ordlogit_simult.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_