3. Discrete Choice and Structural Demand Models
Chapter 3. Discrete Choice and Structural Demand Models provides step-by-step How-To implementation guides for 18 econometric model lessons organized across 5 methodological parts from Section 3.1.1 to 3.5.2. Every guide is synchronized with the full academic lecture at VietLOD Chapter 3 and supports automated cloud execution on EcoLab.
Video Tutorial: How-To Guide for Chapter 3: Discrete Choice and Structural Demand Models in Stata 18, R 4.x, and Python 3.11+
3.1. Central Research Question and Core Mathematical Specification
- Central Research Question: How to model discrete economic decisions across binary, multinomial, ordered, random-parameter, and structural differentiated-product demand settings?
- Chapter Architecture: Encompasses
5specialized methodological parts from3.1to3.5and18empirical model lessons validated on Vietnamese datasets from EcoData and Finco.
Core structural equation for Chapter 3:
3.2. Explore the 5 Methodological Parts in Chapter 3
Step-by-step How-To guides, tri-engine scripts, and diagnostic workflows for Binary Choice Models estimators.
Step-by-step How-To guides, tri-engine scripts, and diagnostic workflows for Multinomial Choice Models estimators.
Step-by-step How-To guides, tri-engine scripts, and diagnostic workflows for Ordered Choice Models estimators.
Step-by-step How-To guides, tri-engine scripts, and diagnostic workflows for Random-Parameters Mixed Logit estimators.
Step-by-step How-To guides, tri-engine scripts, and diagnostic workflows for Panel Discrete Choice and Structural Demand estimators.
3.3. Four-Step Workflow for Selecting and Executing Models in Chapter 3
Step 1. Select the Appropriate Methodological Part From 3.1 to 3.5
Match your economic hypothesis and sample structure against the identification requirements in Chapter 3 to select the appropriate A.B.C model lesson.
Step 2. Prepare Standardized Datasets From EcoData or Finco
Download the standardized .csv practice file for your target estimator from /src/ecoaz/data/ or extract live empirical series from EcoData and Finco.
Step 3. Estimate Parameters and Run Diagnostics in Stata 18, R 4.x, and Python 3.11+
Execute the tri-engine scripts provided in each model guide and verify the mandatory post-estimation diagnostics: Likelihood Ratio Chi2, Hosmer–Lemeshow, Hausman–McFadden IIA Test, Brant Parallel Odds Test, Average Marginal Effects (AME).
Step 4. Verify Three-Software Convergence and Export Publication Tables on EcoLab
Confirm numerical convergence across Stata, R, and Python using the three-panel empirical figure and generate journal-grade tables on EcoLab.
3.4. Complete Directory of 18 Econometric Model Lessons in Chapter 3
| Section | Econometric Model Lesson Title | Estimator Key | Level | Software Packages Stata · R · Python | Support |
|---|---|---|---|---|---|
| 3.1.1 | 3.1.1. Binary Logistic Regression — Logit | logit | L1 | base Stata · stats + margins · statsmodels | Available |
| 3.1.2 | 3.1.2. Binary Probit Regression | probit | L1 | base Stata · stats + margins · statsmodels | Available |
| 3.1.3 | 3.1.3. Complementary Log-Log Regression | cloglog | L2 | base Stata · stats · statsmodels | Available |
| 3.1.4 | 3.1.4. Heteroskedastic Binary Probit | heteroskedastic_probit | L3 | base Stata hetprobit · glmx · statsmodels | Available |
| 3.1.5 | 3.1.5. Bivariate and Recursive Probit | bivariate_probit | L3 | base Stata biprobit · GJRM · statsmodels / scipy | Available |
| 3.2.1 | 3.2.1. Multinomial Logit Choice | mnlogit | L1 | base Stata · nnet · statsmodels | Available |
| 3.2.2 | 3.2.2. McFadden Conditional Logit | conditional_logit | L2 | base Stata · survival / mlogit · statsmodels | Available |
| 3.2.3 | 3.2.3. Nested Logit Hierarchical Choice | nested_logit | L2 | base Stata nlogit · mlogit · statsmodels | Available |
| 3.2.4 | 3.2.4. Multinomial Probit Unrestricted Covariance | multinomial_probit | L4 | base Stata mprobit · MNP · statsmodels | Available |
| 3.3.1 | 3.3.1. Ordered Logistic Choice | ordered_logit | L1 | base Stata · MASS · statsmodels | Available |
| 3.3.2 | 3.3.2. Ordered Probit Choice | ordered_probit | L1 | base Stata · MASS · statsmodels | Available |
| 3.4.1 | 3.4.1. Random-Parameters Mixed Logit | mixed_logit | L4 | Stata 18 cm · mlogit · statsmodels / scipy | Available |
| 3.5.1 | 3.5.1. Chamberlain Conditional Fixed Effects and Bias-Corrected Panel Logit | panel_logit_fe_cre | L4 | base Stata xtlogit · bife / fixest · statsmodels | Available |
| 3.5.2 | 3.5.2. Berry and BLP Differentiated-Product Market-Share Demand IV | berry_blp_logit_iv | L4 | blp / ivreghdfe · fixest / BLPestimatoR · pyblp / linearmodels | Available |
| 3.1.6 | 3.1.6. Semiparametric Maximum Score Estimator Manski Horowitz | maximum_score_manski | L4 | logit · stats / sandwich · scipy | Available |
| 3.1.7 | 3.1.7. Skewed Logit Asymmetric Binary Choice Model | scobit_skewed_logit | L4 | scobit · glmx · scipy | Available |
| 3.2.5 | 3.2.5. Plackett Luce Rank Ordered Exploded Logit | rank_ordered_exploded_logit | L4 | cmrologit · PlackettLuce · scipy | Available |
| 3.3.3 | 3.3.3. Anderson Stereotype Dimensional Logistic Model | stereotype_logit_anderson | L4 | slogit · VGAM · scipy | Available |
3.5. Key Academic References
- McFadden, D.(1974). Conditional logit analysis of qualitative choice behavior. In P. Zarembka, Ed, Frontiers in Econometrics, pp. 105–142. Academic Press.
- Train, K. E.(2009). Discrete Choice Methods with Simulation, 2nd ed.. Cambridge University Press.
- Chamberlain(1980). Econometric specification, identification, and asymptotic inference.
- Berry, Levinsohn, & Pakes(1995). Econometric specification, identification, and asymptotic inference.
- Wooldridge, J. M.(2010). Econometric Analysis of Cross Section and Panel Data, 2nd ed, Chương 15–16: Binary, Multinomial and Ordered Response Models. MIT Press.
- Cameron, A. C, & Trivedi, P. K.(2022). Microeconometrics Using Stata, 2nd ed, Vol. 2, Chương 16–18: Nonlinear, Binary, Multinomial and Ordered Models. Stata Press.
- Greene, W. H.(2019). Econometric Analysis, 8th ed, Chương 17–18: Discrete Choice Models. Pearson.
- Hansen, B. E.(2022). Econometrics, Chương 25: Binary Choice. Princeton University Press.