How to find ado file downloaded through stata






















 · Code: [5] (PLUS) "c:\ado\plus/". that is: find the PLUS directory. Then, copy the ado-file (and possibly other files) into that directory. The directory should have sub-directories. If you have downloaded bltadwin.ru, you need to put it into c:/ado/plus/m, assuming that c:/ado/plus is the PLUS directory on your machine. For instance, assuming that you downloaded bltadwin.ru into C:\TEMP, you could type C:\WINDOWS cd \stata\ado C:\STATA\ADO pkunzip -o c:\temp\bltadwin.ru You may delete the bltadwin.ru file that you downloaded. Stata will now use the new ado files and help files. The next time you start Stata, type help whatsnew to check the installation.  · Change the path to user-written ado files in Stata. By default, Stata for Windows uses the c:\ado directory for user-written ado files. You can list Stata's system directories by executing bltadwin.ru command: If you need to change the default path, run bltadwin.ru set command. Suppose you store Long and Freese's SPost module in the e:\ado\plus.


'.ado' files in Stata An '.ado' file is like a '.do' file, but it is automatically loaded. Typically, '.ado' files contain code for new Stata commands that are not already included in the Stata package. To install an '.ado' file, you need to download and save the file in a folder where Stata can find it. These packages are available at SSC. ssc allows you to easily download a package. For example, when you type.. ssc install outreg. all of the files associated with the package named outreg are downloaded and installed on your computer. Packages can easily be unistalled. You type ado dir to obtain a list of packages that you have previously. ! 6! Ado-Files An ado-file is a text file that defines a Stata command that was not built-in when Stata was installed. Ado-files can be downloaded from various sources such as Stata Journal, the Stata forum Statalist (bltadwin.ru), or the Boston College Statistical Software Components (SSC) archive.


If you use Unix, it is ~/ado/personal (ado/personal in your home directory). In any case, the way to find out for sure is to enter Stata as you ordinarily do and then type sysdir. sysdir PERSONAL: c:\ado\personal\ Your personal ado directory is the one listed next to PERSONAL. Where does Stata look for ado-files? Stata looks for ado-files in seven places, which can be categorized in three ways: I. The official ado-directory: 1. (BASE), the official directory containing the ado-files shipped with your version of Stata and any updated ado-files that have been made available since then II. Your personal ado. Change the path to user-written ado files in Stata. By default, Stata for Windows uses the c:\ado directory for user-written ado files. You can list Stata's system directories by executing bltadwin.ru command: If you need to change the default path, run bltadwin.ru set command. Suppose you store Long and Freese's SPost module in the e:\ado\plus.

0コメント

  • 1000 / 1000