Outline of Lecture 1
stat
icon from the program manager and then double-click on the
StataQuest
icon.
To exit the program, double-click on the upper
left corner of the StataQuest window or click on file
and then 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.dta
in 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 q
stops 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) -> OK
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 Sample
several times -> Close
clear
in 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) -> OK
Sample
20 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.