data sqrt;
input y x;
sqrty=y**.5;
cards;
11 0.0950
07 0.1920
07 0.0750
19 0.2078
09 0.1382
04 0.0540
03 0.1292
01 0.0530
03 0.0629
;
proc reg simple corr;
model y=x / adjrsq stb;
plot (x)*(y residual.) /hplots=2 vplots=2;
run;
proc reg simple corr;
model sqrty=x / adjrsq stb;
plot (x)*(sqrty residual.) /hplots=2 vplots=2;
run;
Descriptive Statistics
Variables Sum Mean Uncorrected SS
INTERCEP 9 1 9
X 1.0071 0.1119 0.14016813
Y 64 7.1111111111 696
Variables Variance Std Deviation
INTERCEP 0 0
X 0.003434205 0.0586020904
Y 30.111111111 5.4873592111
Correlation
CORR X Y
X 1.0000 0.6957
Y 0.6957 1.0000
Model: MODEL1
Dependent Variable: Y
Analysis of Variance
Sum of Mean
Source DF Squares Square F Value Prob>F
Model 1 116.58543 116.58543 6.565 0.0374
Error 7 124.30346 17.75764
C Total 8 240.88889
Root MSE 4.21398 R-square 0.4840
Dep Mean 7.11111 Adj R-sq 0.4103
C.V. 59.25911
Parameter Estimates
Parameter Standard T for H0:
Variable DF Estimate Error Parameter=0 Prob > |T|
INTERCEP 1 -0.178328 3.17276476 -0.056 0.9567
X 1 65.142442 25.42345019 2.562 0.0374
Standardized
Variable DF Estimate
INTERCEP 1 0.00000000
X 1 0.69568678
-+------+------+------+------+-- -+------+------+------+------+--
| | | |
0.25 + + 0.25 + +
| | | |
| | | |
| | | |
| 1 | | 1 |
0.20 + + 0.20 + +
X | 1 | X | 1 |
| | | |
| | | |
| | | |
0.15 + + 0.15 + +
| 1 | | 1 |
| 1 | | 1 |
| | | |
| | | |
0.10 + 1 + 0.10 + 1 +
| | | |
| 1 | | 1 |
| | | |
| 1 | | 1 |
0.05 + 1 1 + 0.05 + 1 1 +
| | | |
-+------+------+------+------+-- -+------+------+------+------+--
0 5 10 15 20 -10 -5 0 5 10
Y RESIDUAL
Descriptive Statistics
Variables Sum Mean Uncorrected SS
INTERCEP 9 1 9
X 1.0071 0.1119 0.14016813
SQRTY 22.431127971 2.4923475524 64
Variables Variance Std Deviation
INTERCEP 0 0
X 0.003434205 0.0586020904
SQRTY 1.0117291381 1.0058474726
Correlation
CORR X SQRTY
X 1.0000 0.6904
SQRTY 0.6904 1.0000
The SAS System 19:35 Tuesday, December 21, 1999 5
Model: MODEL1
Dependent Variable: SQRTY
Analysis of Variance
Sum of Mean
Source DF Squares Square F Value Prob>F
Model 1 3.85780 3.85780 6.375 0.0395
Error 7 4.23603 0.60515
C Total 8 8.09383
Root MSE 0.77791 R-square 0.4766
Dep Mean 2.49235 Adj R-sq 0.4019
C.V. 31.21201
Parameter Estimates
Parameter Standard T for H0:
Variable DF Estimate Error Parameter=0 Prob > |T|
INTERCEP 1 1.166352 0.58570062 1.991 0.0867
X 1 11.849828 4.69323498 2.525 0.0395
Standardized
Variable DF Estimate
INTERCEP 1 0.00000000
X 1 0.69038764
-+------+------+------+------+-- -+------+------+------+------+--
| | | |
0.25 + + 0.25 + +
| | | |
| | | |
| | | |
| 1 | | 1 |
0.20 + + 0.20 + +
X | 1 | X | 1 |
| | | |
| | | |
| | | |
0.15 + + 0.15 + +
| 1 | | 1 |
| 1 | |1 |
| | | |
| | | |
0.10 + 1 + 0.10 + 1 +
| | | |
| 1 | | 1 |
| | | |
| 1 | | 1 |
0.05 +1 1 + 0.05 + 1 1 +
| | | |
-+------+------+------+------+-- -+------+------+------+------+--
1 2 3 4 5 -1.0 -0.5 0.0 0.5 1.0
SQRTY RESIDUAL