Title: Quantile Regression under Limited Dependent Variable
Authors: Javier Alejo & Gabriel Montes-Rojas


Stata package: ldvqreg.tar.gz

- ldvqreg.ado
- cqr.ado
- cqr_est.ado
- cqr_est_p.ado
- bqr.ado
- bqr_est.ado
- bqr_est_p.ado
- bin_crit.mo
- bin_qr.mo
- cen_crit.mo 
- cen_qr.mo
- ldvqreg.sthlp 


Replication materials: v114i08-replication.zip

- example-1-simulated-data.do
- example-2-real-data-app.do
- example-3-employment-data-app.do 
- labordatauy.dta  
- wichert-wilke.dta 


Installation instructions:

1. Copy the files from ldvqreg.tar.gz to the directory C:\ado (if it does not exist you must create it).
2. Open Stata and you are ready. Type "help ldvqreg" to see the syntax of the command.


Replication instructions:

- Run in Stata the files: example-1-simulated-data.do, example-2-real-data-app.do, example-3-employment-data-app.do.
- The data files labordatauy.dta and wichert-wilke.dta must be in the same folder as the do-files.
- After executing these codes, the resulting output files are as follows:

  - Figure-wage-app.png
  - Figure-work.png   
  - Figure1.png       
  - Figure2.png       
  - Figure3.png       
  - Figure4.png  
  - log-employment-app.log
  - log-wage-app.log  
  - log-censoring-qr.log
  - log-binary-qr.log 
  - wage-app.xls      
  - bin-qreg.xls      
  - bin-margins.xls

Note: the outreg2 package is needed in example-2-real-data-app.do only to reproduce the Tables shown in pdf file. 
The outreg2 package is not part of the internal code of the submitted command (ldvqreg). 
You can get it online by typing "ssc install outreg2" in Stata.
