Bayesian spatial PSM
Versión 1.1 (91,8 KB) por
Rolando Gonzales Martinez
Bayesian spatial propensity score matching. This is an update of the original code I made in 2014, now updated to run in MatLab 2020a
Bayesian Spatial Propensity Score Matching (BS-PSM)
Rolando Gonzales Martinez
Updated and tested to run on MatLab 2020a (January 2022)
In order to run the BS-PSM algorithm you will need:
(1) A n x n spatial contiguity matrix (W)
(2) A n x 1 binary treatment vector(y)
(3) A n x p matrix of potential explanatory variables (X)
(4) A n x 1 variable that measures the impact (I) of the treatment
There is a need also to define the parameters of the MCMC simulation:
- ndraws: number of draws (simulations) of the MCMC
- nomit: burn-in
By default, the prior of rho is elicitated in the positive range (0,1]
BS-PSM uses some functions of James LeSage Spatial Econometrics Toolbox
To run an example file check BSPSM_poverty_example.m
Citar como
Rolando Gonzales Martinez (2025). Bayesian spatial PSM (https://github.com/rogon666/Bayesian-spatial-PSM/releases/tag/v1.1), GitHub. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2020a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxEtiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
aux_fun
| Versión | Publicado | Notas de la versión | |
|---|---|---|---|
| 1.1 |
Para consultar o notificar algún problema sobre este complemento de GitHub, visite el repositorio de GitHub.
Para consultar o notificar algún problema sobre este complemento de GitHub, visite el repositorio de GitHub.
