revised 1/10/2007 12:01 PM
Soc709
Problem set 1
1. a. Finish this problem we started in class by filling in each column and calculating the slope of the regression line and the intercept.
b. plot X, Y and the regression line.
|
x |
Y |
|
|
|
|
( |
|
|
1 |
4 |
|
|
|
|
|
|
|
2 |
3 |
|
|
|
|
|
|
|
3 |
6 |
|
|
|
|
|
|
|
4 |
7 |
|
|
|
|
|
|
|
5 |
9 |
|
|
|
|
|
|
|
6 |
7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Find
A and B and plot the data and the regression line.
2. Fox, 5.2 e (p.95)
3. Fox 5.4 b & c
(If you use Stata for this question start this way:
clear
set obs 5
gen x=1
gen y=1
edit
* make changes, preserve, then follow pattern for question 1 from Stata lecture 1)