![]() |
|
Programs
Courses
Course Schedule
![]() ![]() |
StataStata is software for analyzing data. It provides statistical, graphical, and data-management capabilities and is fully programmable. Its best features include: speed, power, and simplicity for beginners. OPR has Stata 8.0 for UNIX (both ascii windows and X windows versions), installed on lotka, as well as Stata 8.0 for Windows on desktop PC's. General Information about Stata:
Stata Special EditionThe Special Edition of Stata for large datasets is now available on OPR's Unix and Windows servers.
The following table shows the main differences between regular (intercooled) Stata and the new Special Edition:
The Stata dataset format has changed, but Stata/SE can read regular Stata files and regular Stata has been updated to read Stata/SE files, provided they are not too big. If you are using Stata/SE, you can save your files in regular Stata 7 format by using the command: save myfile, intercooled. If you need to save the file in Stata 6 format, use "old" instead of "intercooled". Note that Stata will not allow you to save the data in intercooled or Stata 6 format if the data do not comform to the limits of those versions. For more information see http://www.stata.com/news/statase.html. Running Stata on OPR UNIX ServerTo access Stata on the Lotka server, issue the following command on the prompt:
% stata (for the ascii version)
% xstata (for the XWindows version)
To end your Stata session, enter the following command within Stata:
. exit, clear
To execute Stata in the background (batch mode), type the following command. Substitute filename with the name of your own file.
% stata -b do filename &
The above line tells Stata to execute the commands in filename.do in the background, and route the output to filename.log in the same directory. Configuring Stata on Your PC and CoaleThe new application server, Coale, makes running large computing jobs much easier by not hogging the resources on your PC. Unfortunately since it is a separate system, various configurations and programs you may have installed on your PC are not available on Coale. Additionally, anything new you install on one system is not reflected on the other. There is, however, a way around this by moving a few files and directories from the C:\ drive on your PC to your Z:\ drive and telling Stata to look for them there.
run z:\ado\personal\profile.doAnd have use of all your previously installed commands. Getting HelpStata has an excellent on-line help facility. Typing
. help
at the Stata dot prompt gives help for the help command. To get a table of contents of the entire on-line help system arranged by subject, type:
. help contents
Typing
. search topic
. net search topic
Stata will provide you with all the sources of information that have to do with that particular topic. The "net" version of this command will also search Stata's web site. To get help on a specific Stata command, type:
. help command
Useful Links
| ||||||||||||||||
| top | |||||||||||||||||
| |||||||||||||||||