Outline of Lecture 1
staticon from the program manager and then double-click on the
StataQuesticon. To exit the program, double-click on the upper left corner of the StataQuest window or click on
exit. Before leaving the lab, you should always exit Stataquest. You must have a formatted high density, 3.5 inch diskette with you in the lab. You can only save files to the diskette.
file, then on
open, then double-click on
d:, then double-click on
wstataq, then double-click on
datagen(for `general data sets') or
stat303(for Moore and McCabe data sets), then click on the data set name (
auto.dtain our example), and then on
OK. For our example, I will write this in shorthand notation as:
File -> Open -> d: -> wstataq -> datagen -> auto.dta -> OK
Summaries -> List data -> price -> mpg -> OK
-more-on the screen, hitting the space bar gets the next set of observations, while hitting
qstops the display of observations.
Summaries -> Means and SDs -> price -> mpg -> OK
Graphs -> One variable -> Histogram -> Continuous variable -> price -> 3000 -> 16000 -> 10 -> OK
Graphs -> Scatterplots -> Plot Y vs. X, with regression line -> price(for Y)
-> mpg(for X)
File -> Print Graph ->Type some text to identify the plot is yours
-> OK(in the Graph Name box)
-> OK(in the Print box)
Labs -> Random Sampling -> Help ->Click on
clearin the command window.
Data -> Edit data ->Use the spreadsheet editor to enter all your data
-> Close -> File -> Save as ->Type the file name (a:data1.dta in our example)
Sample20 times. Read the help file while you are in the lab so you can see what it is doing. Print the resulting graph, being sure to enter your name as the optional text (see Item 7 above) so you can be sure to get the correct plot in the ACC.