这是我分段回归的程序:
data zhao.caishiliang;
input t y;
cards;
4 0.662185493
8 0.624535394
16 0.504561447
24 0.488698195
36 0.446552798
48 0.373373533
72 0.305951679
;
run;
proc nlin data=zhao.caishiliang best= 10 method=marquardt;
parms b=0 to 1 c=0 to 1 k=0 to 1 l=0 to 20;
if 0<t<=l then model y=b+c;
else model y=c+b*exp(-k*(t-l));
bounds b<=1;
run;
这是结果:
The SAS System 21:06 Saturday, March 31, 2009 15
The NLIN Procedure
Approx
Parameter Estimate Std Error Approximate 95% Confidence Limits
b 0.4173 0.0621 0.2450 0.5897
c 0.2479 0.0687 0.0571 0.4386
k 0.0268 0.00923 0.00115 0.0524
l 3.0885 Infty -Infty Infty
Approximate Correlation Matrix
b c k l
b 1.0000000 -0.9520182 -0.8455277 .
c -0.9520182 1.0000000 0.9517262 .
k -0.8455277 0.9517262 1.0000000 .
l . . . .
其中L出现了infty,哪位朋友能告诉我问题出现在哪块?谢谢



雷达卡



京公网安备 11010802022788号







