STAT 303, 503-504, Spring 1996
Prof. H. Joseph Newton
Outline of Lecture 7
- Homework 2 (Due Wednesday, February 7):
- Problems in Chapter 2: 4, 8, 10, 18 (by hand), 22 (b, c by hand),
52, 56, 104, 105 (you'll get the data sets for 104, 105 in the lab on
this Wednesday).
- Bivariate descriptive statistics concept lab: questions 2, 3, and 4
in notes.
- Using Microsoft Word to do homework:
- Start both Word and Stataquest
- To switch back and forth between Word and Stataquest: Hit
Alt-tab until you see the one you want (BE CAREFUL!)
- Put a heading centered on the top of the page with the
course and section number, the assignment number, the date, and your
name. Do this by typing the information with returns after each line
you want, then highlighting lines using the mouse and then clicking
on centering, fonts, and font sizes on the toolbar
- Make a heading for each problem.
- To copy a graph from Stataquest:
- Get the cursor to where you want the graph to go by
hitting returns or arrows and then open a frame
by
insert -> frame
. To get the frame to appear,
you drag the mouse until the frame is the size you want.
- In Stataquest, get the graph on the screen.
- Do
edit -> copy graph
- Alt-tab back to Word and then put the graph in the frame by
edit -> paste
while cursor is in the frame.
- Finally, click outside the frame and hit returns until the cursor
is below the graph.
- You can resize the frame by clicking on the graph, then clicking on
the frame (which will make little black boxes appear on the frame),
then dragging the frame by one of the little black boxes.
- To copy text from Stataquest:
- Get the Word cursor where you want the text to go.
- Get the text in either the results window or an open log file.
- Highlight the text by dragging the mouse.
- Do
edit -> copy text
- Alt-tab back to word and do
edit -> paste
- Highlight the text in Word with the mouse and then select
the Courier New font in 10 point size.
- Some notes on Word:
- To save the document to your diskette,
do
file -> save as
and then enter the file name you want (including the a:) and click OK.
- To print the document do
file -> print
.
- To move something from one place to another, first highlight
what you want to move, then do
edit -> cut
, then move
cursor to where you want the stuff to go, then do edit -> paste
.
- Things needed in Stataquest:
- Calculate correlation coefficient:
- See
Statistics -> Correlation
- A scatterplot matrix: (mpg, weight, length, for example):
Graphs -> Scatterplot -> Scatterplot matrix ->
click on the variables you want -> OK
- Other scatterplots:
- look at
Graphs -> Scatterplots
- This includes scatterplots by group.
- To delete an observation:
Data -> Edit data ->
click on observation to be deleted
-> delete ->
click on the option to delete observation ?
where ? is the number of the observation to be deleted -> OK
- Bivariate descriptive statistics concepts lab