Carlos Mendez
Carlos Mendez
AboutMe
ResearchLab
Publications
Presentations
Posts
Projects
Students
Courses
Events
Contact
Light
Dark
Automatic
Posts & Tutorials
Category
Causal Inference
Convergence
Econometrics
Exploratory Data Analysis
GEE
Machine Learning
Post
Python
R
Remote Sensing
Spatial Heterogeneity
Spatial Spillovers
Stata
Tutorial
Date
2026
2025
2024
2023
2020
2019
Evaluating a Cash Transfer Program (RCT) with Panel Data in Stata
Evaluate the causal effect of a cash transfer program on household consumption using regression adjustment, inverse probability weighting, doubly robust, and difference-in-differences methods in Stata
Mar 24, 2026
·
Stata
·
Causal Inference
Three Methods for Robust Variable Selection: BMA, LASSO, and WALS
Three principled approaches to variable selection---BMA, LASSO, and WALS---applied to synthetic cross-country CO2 emissions data with known ground truth, demonstrating methodological triangulation for …
Mar 23, 2026
·
R
·
Tutorial
·
Econometrics
Synthetic Control with Prediction Intervals: Quantifying Uncertainty in Germany's Reunification Impact
Synthetic control with prediction intervals quantifies uncertainty in Germany's reunification GDP impact using the scpi package.
Mar 22, 2026
·
Python
·
Causal Inference
Multiscale Geographically Weighted Regression: Spatially Varying Economic Convergence in Indonesia
Applying Multiscale Geographically Weighted Regression (MGWR) to reveal how economic catching-up varies across Indonesia's 514 districts, with each variable operating at its own spatial scale
Mar 22, 2026
·
Python
·
Tutorial
·
Spatial Spillovers
Exploratory Spatial Data Analysis: Spatial Clusters and Dynamics of Human Development in South America
An introduction to exploratory spatial data analysis using PySAL, covering choropleth maps, spatial weights, Moran's I, LISA clusters, space-time dynamics, and a Venezuela-Bolivia comparative analysis …
Mar 22, 2026
·
Python
·
Tutorial
·
Exploratory Data Analysis
·
Spatial Spillovers
Pooled PCA for Building Development Indicators Across Time
Building a comparable Human Development Index across two time periods using pooled PCA with real sub-national data for 153 South American regions, and contrasting with per-period PCA to show why …
Mar 21, 2026
·
Python
·
Tutorial
Introduction to PCA Analysis for Building Development Indicators
Building a composite Health Index from Life Expectancy and Infant Mortality using manual PCA with simulated data for 50 countries, then verifying against scikit-learn
Mar 21, 2026
·
Python
·
Tutorial
High-Dimensional Fixed Effects Regression: An Introduction in Python
Estimating regression models with high-dimensional fixed effects using PyFixest, from simple OLS through two-way FE, instrumental variables, panel data, and event studies
Mar 20, 2026
·
Python
·
Econometrics
Introduction to Difference-in-Differences in Python
Estimating causal treatment effects using Difference-in-Differences with the diff-diff package, from the classic 2x2 design through staggered adoption with Callaway-Sant'Anna and HonestDiD sensitivity …
Mar 19, 2026
·
Python
·
Causal Inference
The FWL Theorem: Making Multivariate Regressions Intuitive
Understanding the Frisch-Waugh-Lovell theorem to isolate causal relationships by partialling-out confounders in a simulated retail store dataset
Mar 14, 2026
·
Python
·
Tutorial
·
Causal Inference
Introduction to Partial Identification: Bounding Causal Effects Under Unmeasured Confounding
Computing causal bounds under unmeasured confounding using Manski and Tian-Pearl bounds with the CausalBoundingEngine package in Python
Mar 13, 2026
·
Python
·
Tutorial
·
Causal Inference
Introduction to Causal Inference: The DoWhy Approach with the Lalonde Dataset
Estimating the causal effect of a job training program on earnings using DoWhy's four-step causal inference framework with the Lalonde dataset
Mar 12, 2026
·
Python
·
Causal Inference
Introduction to Machine Learning: Random Forest Regression
Predicting municipal development in Bolivia using Random Forest regression on satellite image embeddings
Mar 10, 2026
·
Python
·
Tutorial
·
Machine Learning
Introduction to Causal Inference: Double Machine Learning
Estimating the causal effect of a cash bonus on unemployment duration using Double Machine Learning with the Pennsylvania Bonus Experiment
Mar 10, 2026
·
Python
·
Causal Inference
·
Machine Learning
Regional dynamics of VIIRS-like nighttime lights 1992-2023
An interactive exploration of the space-time dynamics of mean luminosity using the VIIRS-like data over the 1992-2023 period.
Mar 14, 2025
·
GEE
·
Remote Sensing
Regional dynamics of luminosity-based GDP 1992-2019
An interactive exploration of the space-time dynamics of luminosity-based GDP over the 1992-2019 period.
Mar 14, 2025
·
GEE
·
Remote Sensing
Regional dynamics of DMSP-like nighttime lights 1992-2019
An interactive exploration of the space-time dynamics of mean luminosity using the DMSP-like data over the 1992-2019 period.
Mar 14, 2025
·
GEE
·
Remote Sensing
International and interdisciplinary seminar: Integrating satellite and socioeconomic data for monitoring sustainable development in Cambodia
Sep 17, 2024
·
Post
Heterogeneous treatment effects via two-stage DID
An introduction to heterogeneous treatment effects using the two-stage DID estimator of Gardner (2021)
Jul 29, 2024
·
R
·
Causal Inference
Space-time dynamics of nighttime lights: VIIRS-like data
An interactive exploration of the space-time dynamics of nighttime lights using VIIRS-like data.
Apr 1, 2024
·
GEE
·
Remote Sensing
Space-time dynamics of nighttime lights: VIIRS-annual data
An interactive exploration of the space-time dynamics of nighttime lights using VIIRS-annual data.
Apr 1, 2024
·
GEE
·
Remote Sensing
Space-time dynamics of nighttime lights: DMSP-like data
An interactive exploration of the space-time dynamics of nighttime lights using DMSP-like data.
Mar 1, 2024
·
GEE
·
Remote Sensing
Space-time dynamics of nighttime lights: DMSP-extended data
An interactive exploration of the space-time dynamics of nighttime lights using DMSP-extended data.
Mar 1, 2024
·
GEE
·
Remote Sensing
Space-time dynamics of nighttime lights: DMSP-corrected data
An interactive exploration of the space-time dynamics of nighttime lights using DMSP-corrected data.
Mar 1, 2024
·
GEE
·
Remote Sensing
Exploratory Spatial Data Analysis (ESDA)
An interactive geocomputational notebook to study spatial clusters and outliers
Mar 1, 2024
·
Python
·
Exploratory Data Analysis
·
Spatial Spillovers
Studying spatial heterogeneity
A geocomputational notebook to study spatial heterogeneity using the GWR and MGWR frameworks.
Dec 23, 2023
·
Python
·
Spatial Heterogeneity
Construct and export spatial connectivity structures (W)
An introduction to how to construct, explore, and export spatial connectivity structures (W) using Python.
Dec 2, 2023
·
Python
·
Spatial Spillovers
Spatial regression in Stata (panel data)
An introduction to spatial regression analysis for panel data in Stata
Dec 1, 2023
·
Stata
·
Spatial Spillovers
Spatial regression in Stata (cross-section)
An introduction to cross-sectional spatial regression analysis in Stata
Dec 1, 2023
·
Stata
·
Spatial Spillovers
Monitoring subnational human development
A geocomputational notebook to monitor subnational human development using Python. Besides exploratory data analysis, the notebook introduces geospatial mapping, spatial dependence, and spatial …
Sep 24, 2023
·
Python
·
Exploratory Data Analysis
·
Remote Sensing
Staggered DiD (Ex1)
An introduction to difference in differences with multiple time periods and staggered treatment adoption.
Sep 3, 2023
·
R
·
Causal Inference
Convergence clubs
The book provides a succinct review of the recent club convergence literature, a comparative view of developed and developing countries, and a tutorial on how to implement the club convergence …
Sep 3, 2023
·
R
·
Convergence
Staggered DiD
An introduction to difference in differences with multiple time periods and staggered treatment adoption.
Sep 2, 2023
·
R
·
Causal Inference
Spatial inequality dynamics
A geocomputational notebook to monitor spatial inequality dynamics.
Aug 27, 2023
·
Python
·
Exploratory Data Analysis
Monitoring regional sustainable development
A geocomputational notebook to monitor regional development in Bolivia using Python. Besides exploratory data analysis, the notebook introduces geospatial mapping, spatial dependence, spatial …
Aug 26, 2023
·
Python
·
Exploratory Data Analysis
·
Remote Sensing
The Solow growth model and its convergence prediction
An introduction to the Solow growth model and its convergence prediction
Jul 29, 2023
·
R
·
Python
·
Convergence
Causal effects of a CO2 tax
Theresa Graefe (Ulm University) has created a very nice RTutor that allows you to replicate the main results of a recent AEJ paper on the causal effects of a CO2 tax in Sweden using the syntetic …
Apr 1, 2023
·
R
·
Causal Inference
So, you want me to be your academic advisor...
Dec 13, 2020
·
Post
Acces to my online courses: Only for GSID students
Apr 13, 2020
·
Post
Use marginal predictions
Fitting and interpreting linear and logistic regression models
Apr 1, 2019
·
Stata
Our World in Data
What is the relation between internet usage and democracy?
Apr 1, 2019
·
R
Introduction to spatial data science
Measuring the evolution of spatial dependence and spatial inequality
Apr 1, 2019
·
Python
·
Exploratory Data Analysis
Basic synthetic control
This method constructs a synthetic control unit as a weighted average of available control units that best approximate the relevant characteristics of the treated unit prior to treatment.
Apr 1, 2019
·
R
·
Causal Inference
Basic DiD
An introduction to the basic differences in differences method using the classical incenerator example of Kiel and McClain (1995)
Apr 1, 2019
·
R
·
Causal Inference
Cite
×