Here is the original dataset I am working on:
> myTime
Time Series:
Start = 0
End = 1066
Frequency = 0.0769230769230769
[1]0 13 26 39 52 65 78 91 104 117 130 143 156
169 182
[16] 195 208 221 234 247 260 273 286 299 312 325 338 351
364 377
[31] 390 403
>
> >/ I am trying to fit a non linear regression model to time series data.
> />/
> />/ If I do this:
> />/ reg.logis = nls(myVar~SSlogis(myTime,Asym,xmid,scal))
> />/ I get this error message (translated to English from French):
> />/ Erreur in nls(y ~ 1/(1 + exp((xmid - x)/scal)), data = xy, st
Dear all,
I am trying to fit a non linear regression model to time series data.
If I do this:
reg.logis = nls(myVar~SSlogis(myTime,Asym,xmid,scal))
I get this error message (translated to English from French):
Erreur in nls(y ~ 1/(1 + exp((xmid - x)/scal)), data = xy, start =
list(xmid = aux[1],
3 matches
Mail list logo