NonlinearModelFit and ParameterTable
- To: mathgroup at smc.vnet.net
- Subject: [mg106359] NonlinearModelFit and ParameterTable
- From: Ktota <nuktobi at gmail.com>
- Date: Sun, 10 Jan 2010 03:30:29 -0500 (EST)
mtest1[t_,ltime_]:=If [var1*(t+var2-qtime)>8000,Sum[If [var1*(tsum +var2-qtime)>8000,8000*(1-P),var1*(tsum+var2- qtime)*(1-P)],{tsum,t- ltime+1, t,1}],Max[{Sum[{var1*(tsum+var2- qtime)*(1-P)},{tsum,t-ltime +1, t,1}]},0]]/156000 i optimize the model above with: parameter2= NonlinearModelFit[ExpData, mtest1[t, ltime], {ltime}, t] which is perfectly fine... but as soon i want to see the ParameterTable or the ConfidenceIntervals by doing this: parameter2["ParameterTable"] I get the following error message: and this only happens if i want to fit for ltime.. parameters P and var1 are perfectly fine.... In[374]:= parameter2["ParameterTable"] During evaluation of In[374]:= General::ivar: 9.125191604503259` is not a valid variable. >> During evaluation of In[374]:= General::ivar: 9.125191604503259` is not a valid variable. >> During evaluation of In[374]:= General::ivar: 9.125191604503259` is not a valid variable. >> During evaluation of In[374]:= General::stop: Further output of General::ivar will be suppressed during this calculation. >> Out[374]= $Aborted if i only want to see the result it gives me no error: In[370]:= parameter2["BestFitParameters"] Out[370]= {ltime->9.12519} hope somebody can help...as this drives me mad... thank you very much NuKtoBi
- Follow-Ups:
- Re: NonlinearModelFit and ParameterTable
- From: Darren Glosemeyer <darreng@wolfram.com>
- Re: NonlinearModelFit and ParameterTable