Stata Ado Files
Reusable programs for the Stata programming language are distributed as ado files.
Overview
Ado files are written in the typical syntax of the Stata programming language.
The convention is for foo.ado to contain a single program named foo.
Installation
User-Submitted Programs
The search command provides an API to a database including:
- the Stata user manual
- FAQs and blogs hosted on www.stata.com
- articles from the Stata Journal
- user-submitted additions to Stata
The latter two often go hand-in-hand. Many ado files are available for discovery by the search command, and then can be relatively simply installed by selecting the relevent options.
SSC
The Boston College Statistical Software Components (SSC) archive is structured so that ado files can be installed automatically like packages. The ssc command can be used as the 'package manager'.
ssc install fre
By default, these Ado files are installed to C:\ado\plus. To double check this, run the sysdir command. (OLDPLACE is the location used in Stata version 6 and older. PLUS has been used since.)
To install into a different location, such as PERSONAL, try:
net set ado PERSONAL ssc install fre