Plot of DISTANCE*VELOCITY. Legend: A = 1 obs, B = 2 obs, etc.
2.00 + A A A A
|
|
|
|
1.75 +
| A
|
|
|
1.50 +
|
DISTANCE | A
|
|
1.25 +
|
|
| A A
|
1.00 + A
|
| A A A A
|
| A
0.75 +
|
| A
|
|
0.50 + AA
| A
|
|
| A A
0.25 + A
| A
|
|
| A A
0.00 +
---+-----------+-----------+-----------+-----------+-----------+-----------+-----------+-----------+--
-400 -200 0 200 400 600 800 1000 1200
VELOCITY
NOTE: 1 obs had missing values.
Chapter 6 : Hubble example
Regression without labels and with output statement
The REG Procedure
Model: MODEL1
Dependent Variable: DISTANCE
Number of Observations Read
25
Number of Observations Used
24
Number of Observations with Missing Values
1
Analysis of Variance
Source
DF
Sum of Squares
Mean Square
F Value
Pr > F
Model
1
5.97547
5.97547
36.44
<.0001
Error
22
3.60782
0.16399
Corrected Total
23
9.58329
Root MSE
0.40496
R-Square
0.6235
Dependent Mean
0.91137
Adj R-Sq
0.6064
Coeff Var
44.43383
Parameter Estimates
Variable
DF
Parameter Estimate
Standard Error
t Value
Pr > |t|
95% Confidence Limits
Intercept
1
0.39910
0.11847
3.37
0.0028
0.15341
0.64479
VELOCITY
1
0.00137
0.00022744
6.04
<.0001
0.00090125
0.00184
Chapter 6 : Hubble example
Regression without labels and with output statement
The REG Procedure
Model: MODEL1
Dependent Variable: DISTANCE
Output Statistics
Obs
VELOCITY
Dependent Variable
Predicted Value
Std Error Mean Predict
95% CL Mean
95% CL Predict
Residual
1
-220
0.2750
0.0971
0.1582
-0.2311
0.4252
-0.8046
0.9987
0.1779
2
-185
0.2750
0.1451
0.1515
-0.1691
0.4593
-0.7516
1.0418
0.1299
3
-130
0.2140
0.2206
0.1412
-0.0721
0.5134
-0.6688
1.1100
-0.006617
4
-70
0.2630
0.3030
0.1303
0.0327
0.5733
-0.5793
1.1853
-0.0400
5
-30
0.9000
0.3579
0.1234
0.1019
0.6139
-0.5201
1.2359
0.5421
6
150
0.9000
0.6050
0.0970
0.4039
0.8062
-0.2585
1.4686
0.2950
7
170
0.0320
0.6325
0.0947
0.4361
0.8289
-0.2300
1.4950
-0.6005
8
200
0.4500
0.6737
0.0916
0.4838
0.8636
-0.1873
1.5347
-0.2237
9
200
0.6300
0.6737
0.0916
0.4838
0.8636
-0.1873
1.5347
-0.0437
10
270
0.5000
0.7698
0.0859
0.5916
0.9480
-0.0887
1.6283
-0.2698
11
290
0.0340
0.7972
0.0848
0.6214
0.9731
-0.0608
1.6553
-0.7632
12
290
0.5000
0.7972
0.0848
0.6214
0.9731
-0.0608
1.6553
-0.2972
13
300
0.8000
0.8110
0.0843
0.6361
0.9858
-0.0469
1.6688
-0.0110
14
450
1.1000
1.0169
0.0845
0.8417
1.1921
0.1590
1.8748
0.0831
15
500
0.9000
1.0856
0.0876
0.9040
1.2671
0.2263
1.9448
-0.1856
16
500
1.1000
1.0856
0.0876
0.9040
1.2671
0.2263
1.9448
0.0144
17
500
1.4000
1.0856
0.0876
0.9040
1.2671
0.2263
1.9448
0.3144
18
500
2.0000
1.0856
0.0876
0.9040
1.2671
0.2263
1.9448
0.9144
19
650
0.9000
1.2915
0.1039
1.0760
1.5070
0.4245
2.1586
-0.3915
20
800
2.0000
1.4974
0.1275
1.2330
1.7619
0.6170
2.3779
0.5026
21
850
2.0000
1.5661
0.1364
1.2833
1.8489
0.6799
2.4523
0.4339
22
920
1.0000
1.6622
0.1493
1.3525
1.9719
0.7671
2.5573
-0.6622
23
960
1.7000
1.7171
0.1570
1.3915
2.0427
0.8164
2.6179
-0.0171
24
1090
2.0000
1.8956
0.1828
1.5165
2.2747
0.9742
2.8170
0.1044
25
1200
.
2.0466
0.2054
1.6206
2.4727
1.1049
2.9883
.
Sum of Residuals
0
Sum of Squared Residuals
3.60782
Predicted Residual SS (PRESS)
4.20513
Chapter 6 : Hubble example
Regression without labels and with output statement
The REG Procedure
Model: MODEL1
Test 1 Results for Dependent Variable DISTANCE
Source
DF
Mean Square
F Value
Pr > F
Numerator
1
0.05118
0.31
0.5820
Denominator
22
0.16399
Chapter 6 : Hubble example
Regression without labels and with output statement
Regression without labels and with output statement
Plot of resid*VELOCITY. Legend: A = 1 obs, B = 2 obs, etc.
resid |
|
1.00 +
|
| A
|
|
0.75 +
|
|
|
| A
0.50 + A
| A
|
|
| A A
0.25 +
| A
| A
| A A
|
0.00 +------------------A-------------------------A-----------A---------------------------A----------------
| A A
|
|
| A A
-0.25 + A
| A
|
| A
|
-0.50 +
|
| A
| A
|
-0.75 + A
|
---+-----------+-----------+-----------+-----------+-----------+-----------+-----------+-----------+--
-400 -200 0 200 400 600 800 1000 1200
VELOCITY
NOTE: 1 obs had missing values.