sas
程序:
data hweightdat;
input weight height;
cards;
75 10
86 12
95 15
108 17
112 20
116 22
135 35
151 41
155 48
160 50
163 51
167 54
171 59
178 66
185 75
;
run;
proc reg;
var weight;
model height=weight;
run;
分析结果:
The SAS System 3
15:31 Tuesday,June 22,2010
The REG Procedure
Model:MODEL1
Dependent Variable:height
Parameter Estimates
Parameter Standard
Variable DF Estimate Error t Value Pr > |t|
Intercept 1 -41.27000 4.75227 -8.68