A Practitioner's Guide to Stochastic Frontier Analysis Using Stata
这本书的数据、命令和程序。
大家可以去这里下载
https://sites.google.com/site/sfbook2014/home/for-stata-v12-v13-v14
 sfbook.rar
大小:(611.47 KB)
sfbook.rar
大小:(611.47 KB)
只需: 1 个论坛币
 马上下载
本附件包括:
- sfbook_ado_v4(27Oct2019).zip
- 00errata.pdf
- sfbook_demo_do(27Oct2019).zip
- sfbook_data_12.zip
 
Latest Update: Oct 27th, 2019. See Revision Notes below.
The programs and files are for Stata v12, v13, v14, v15, and v16.  If you are using earlier versions of Stata, please see [color=#000 !important]this page. 
There are two ways to download and install the programs. You may let Stata do it for you (using net install) or manually download and install the programs yourself.
Option 1: Automatically download and install the programs and demo files.
 (1) Copy and paste one of the following lines (in one line) to Stata window and execute it.
net install sfbook_install, from(https://sites.google.com/site/sfbook2014/home/install/) replace
or,
net install sfbook_install, from(http://homepage.ntu.edu.tw/~wangh/sfbook/) replace
It will install the program sfbook_install to your computer which is used in the next step. At this point, you may use help sfbook_install to see the available options of installation. 
(2) Execute the following command in Stata.
sfbook_install
It will install the programs (*.ado files) to Stata's PLUS directory, and copy the demo files (*.do, *.dta) to c:\sfbook_demo for Windows and /users/`c(username)'/sfbook_demofor Mac. 
At this point, you may use help sfbook to see a short description on the installed Stata commands.
The following command uninstall sfbook_install itself.
     ado uninstall sfbook_install
The following command uninstall the Stata programs (*.ado) installed by sfbook_install.
     ado uninstall sf_ado
Option 2: Manually download and install the programs and demo files.
Click to download [color=#000 !important]Stata demo do-files.
Click to download [color=#000 !important]datasets used in the demo.
Click to download [color=#000 !important]Stata ado-files.
Installation of the ADO files: The ADO files define Stata commands for estimating the stochastic frontier models discussed in the book. After downloading the zip folder containing the Stata ado-files (link provided above), unzip the folder and extract all the contents (the ado files) and save them in a directory of your choice. If your choice of directory is one of Stata's system directory (recommended; use Stata command adopath to see the list of system directories), the estimation commands would be readily recognized by Stata. If your choice of directory is NOT one of Stata's system directory, such as c:\myado\, then you have to give a pointer to Stata in your DO-file. That is, in the beginning of your Do-file, add a line like
        adopath ++ c:\myado\
. This way, Stata knows where to find the estimation commands.
Revision Notes
- March 13th, 2017: The code is updated to be fully compatible with recent versions of Stata (v12 and higher). Before the update, users have to declare -- version 10.1-- every time the estimation commands are used. After the update, the declaration is no longer needed. The updated programs do not work in earlier versions of Stata (v11 and earlier).
- October 27th, 2019: A bug in the true random effect panel stochastic frontier model (e.g., Model 9 on chapter10_second_set_of_examples.do) is now fixed. Updated files include sfpan.ado, sfpredict_Cham.ado, sfpanel_Cham.ado, panel_Cham_new.ado, mle_Cham.ado, and ghquadm.ado.  A few demo do-files also have minor updates.