(lo thru 5=5)
(lo thru 10=10)
(lo thru 15=15)
(lo thru 20=20)
(lo thru 25=25)
(lo thru 30=30)
(lo thru 35=35)
(lo thru 40=40)
(lo thru 45=45)
(lo thru 50=50)
(lo thru 55=55)
(lo thru 60=60)
(lo thru 65=65)
(lo thru 70=70)
*Using NLR to find parameter's value, equations (exponential) are known.
*Below equation with 11 parameters
dataset declare res.
MODEL PROGRAM a1=0 alfa1=0 a2=0 alfa2=0 mi2=0 lambda2=0 a3=0 alfa3=0 mi3=0
COMPUTE pred=a1*exp(-alfa1*age) +
/SAVE PRED RESID
/CRITERIA SSCONVERGENCE 1E-8 PCON 1E-8.
*to see predicted values
/LINE(MULTIPLE)=value(pred pred_int var).
*it is quite good fit on this graph, but I don't understand two things right
*1) Why when I use estimated parameters and put them into original equation
*are far away from what was saved in dataset earlier as "pred" with NLR
*Why predicted values (NLR command) and predicted got after filling original
equation with estimated values are not the same??????
COMPUTE pred4=a1*exp(-alfa1*age) +
* This is not the same....why?
*2) Second problem might (or might not) be consequence of first problem, but
i will ask anyway.
* Parameters, which I got are far away from typical range, (why I am not
e.g. a2 need to be within 0.5 - 0.10 . When my estimated values are out of
range i lose ability to interpret phenomenon what
* i try to analyse.
*But my first question is fundamental, I don't even know whether I found (or
not) right parameters....
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
For a list of commands to manage subscriptions, send the command