Running Search in Stata
Following are the steps needed to run Search in Stata using the Search example.
Create the srclib directory in Linux or Windows.
Copy the search_stata_pclinux64.tgz or Windows search_stata_windows.zip file into the srclib directory and unzip it.
Prepare the input dataset. For the example, this is done in the search_example.do file from the insheet statement through the save statement.
- Using the Stata do-file editor or another text editor, create the Search setup file.
- Save the Search setup file.
- Set the srclib macro, if the srclib directory is different from the working directory, the dir global macro, if the project directory is different from the working directory, and the name global macro, and run Search.
- Check the list file.
Last updated 16 September 2013