The easiest way to check that your user-written programs are up-to-date is to type. Sometimes updates will include important bug fixes, though the SSC archive has quality control measures in place to try to catch bugs before the program is distributed. It can be important to maintain the latest versions of any user-written programs you install. ssc install package Updating User-Written Programs If you know the name of the package you want to install, you can install it by typing in Stata. It then begins to list relevant user-written programs, organized into “packages.” Programs that were described in the Stata Journal or the older Stata Technical Bulletin are listed first. It then searches Stata’s web site and locates several FAQ entries, plus an example on UCLA’s large statistics web site. The findit command first searches Stata’s official help files and notes that there is an official heckman command and several other related commands (this makes findit a powerful tool for figuring out how to do things in Stata in general, not just for finding user-written programs). The result is a tremendous amount of information. This is a job for Stata’s findit command.įor example, suppose you wanted to do something with Heckman selection models but don’t know what command to use. However, it’s much more common to know what you want to do without knowing what program (if any) can do it. If you know the name of the program you want to use, you can go directly to Installing User-Written Programs. Wharton Computing does not try to identify some useful set of user-written programs and make them available to everyone, as our user base is extremely diverse. On the other hand, this means you need to install the user-written programs you want yourself. Using your PERSONAL directory, you don’t need to worry about programs you install causing problems for others. To see what directories Stata is currently using, use the ‘sysdir’ command in Stata. You are welcome to install any user-written commands you desire to use on Wharton’s HPC systems, which will be installed into your PERSONAL (a Stata variable) directory. Most of these programs are stored at Boston College’s Statistical Software Components archive (or SSC). A few represent major extensions of Stata’s capabilities, such as ice and mim for multiple imputation or gllamm for mixed models. Others calculate results Stata itself does not, such as polychoric for polychoric correlations. ![]() ![]() Some are conveniences, like outreg for formatting regression output. There are a tremendous number of user-written programs for Stata available which, once installed, act just like official Stata commands. You are welcome to install them to your own PERSONAL directory. Wharton Computing will generally not install non-Stata Corp developed packages (user-written packages). More information on job submission, monitoring, and control at Job Management Install Personal Packages to PERSONAL Directory ![]() $ qsub demo.sh myDOfile.do arg1 arg2 arg3
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |