Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/user-interface/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何使用r的nlslist函数估计组的参数?_R_Nlme_Non Linear Regression - Fatal编程技术网

如何使用r的nlslist函数估计组的参数?

如何使用r的nlslist函数估计组的参数?,r,nlme,non-linear-regression,R,Nlme,Non Linear Regression,我希望使用以下模型拟合曲线并估计每个Id组的参数(a、b1和b2): y=a+b1*exp^-0.05*dim+b2*dim 我的数据文件示例如下(wt.txt) 以下是我使用的模型和收到的错误消息: >m1<- nlsList(wt ~ a + b1*exp^-0.05*dim + b2*dim | Id, data = wt.txt) error :there were 50 or more warnings (use warnings (use warnings () to

我希望使用以下模型拟合曲线并估计每个Id组的参数(a、b1和b2):
y=a+b1*exp^-0.05*dim+b2*dim
我的数据文件示例如下(wt.txt)

以下是我使用的模型和收到的错误消息:

 >m1<- nlsList(wt ~ a + b1*exp^-0.05*dim + b2*dim | Id, data = wt.txt)
 error :there were 50 or more warnings (use warnings (use warnings () to see       the first 50)

>m1如果不使用自启动模型,则需要定义启动值。@Imo.nlme是packageOK。我已经添加了相应的标记。@Roland我很抱歉,我无法定义参数的起始值。你能帮我一下吗?你能提供更多的数据来拟合吗?我认为模型无法适合样本数据,因为
nlsList
中没有足够的数据进行估计。如果不使用自启动模型,则需要定义起始值。@Imo.nlme是packageOK。我已经添加了相应的标记。@Roland我很抱歉,我无法定义参数的起始值。你能帮我一下吗?你能提供更多的数据来拟合吗?我认为该模型无法拟合样本数据,因为
nlsList
中没有足够的数据进行估计。
 >m1<- nlsList(wt ~ a + b1*exp^-0.05*dim + b2*dim | Id, data = wt.txt)
 error :there were 50 or more warnings (use warnings (use warnings () to see       the first 50)