Skip to content
Prev 258987 / 398502 Next

nls problem with R

----------------------------------------
A=Vo, B-Vo*epi, C=exp(-c*t0)
V(t)=A-B+B*C*exp(-ct)

or further, D=A-B, F=B*C,

V(t)=D+F*exp(-ct)

this model only really has 3 attriubtes: initial value, final value,
and decay constant yet you ask for 4 parameters. There is no
way to get a unique answer. For some reason this same form comes up
a lot here, I think this is about third time I've sene this in last few weeks.

I guess when fishing or shopping for forms to fit, it is tempting to
throw a bunch of parameteres into your model but this can create intractable
ambiguities. 

Indeed, if I just remove t0 and use your first 8 points I get this
( random starting values, but convewrged easily you still need to plot etc)


[1] "1?? v= 8.77181162126362? epi= 0.672516376478598? cl= 1.90973175223917 t0= 0
.643481321167201"
Formula: V2 ~ v0 * (1 - epi + epi * exp(-cl * (T2)))

Parameters:
??? Estimate Std. Error t value Pr(>|t|)
v0??? 6.2901???? 0.3384? 18.585? 8.3e-06 ***
epi?? 0.5430???? 0.1373?? 3.955?? 0.0108 *
cl??? 0.9684???? 0.5491?? 1.763?? 0.1381
---
Signif. codes:? 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Residual standard error: 0.3579 on 5 degrees of freedom

Number of iterations to convergence: 11
Achieved convergence tolerance: 4.057e-06