楼主: 孤单的心事
2954 1

[问答] MATLAB做logistics人口模型,求出值有问题 [推广有奖]

  • 0关注
  • 0粉丝

高中生

62%

还不是VIP/贵宾

-

威望
0
论坛币
0 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
262 点
帖子
11
精华
0
在线时间
38 小时
注册时间
2013-9-12
最后登录
2020-10-20

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
MATLAB做logistics人口模型,求出值有问题
t=1979:2010;
x=[31.26,32.09,33.39,35.45,40.52,43.52,47.86,51.45,55.6,60.14,64.82,68.65,73.22,80.22,...
87.69,93.97,99.16,103.38,109.46,114.6,119.85,124.92,132.04,139.45,150.93,165.13,181.93,196.83,212.38,228.07,241.45,251.03];
f=@(b,t)b(2).*b(3)./(b(3)+(b(2)-b(3)).*exp(-b(1).*(t-1979)));
[b1,r1]=nlinfit(t(1:32),x(1:32),f,[0.03,400,31.26])

Warning: Rank deficient, rank = 2, tol =  2.345153e-11.
> In nlinfit>LMfit at 481
  In nlinfit at 207
Warning: Some columns of the Jacobian are effectively zero at the solution,
indicating that the model is insensitive to some of its parameters.  That may be
because those parameters are not present in the model, or otherwise do not
affect the predicted values.  It may also be due to numerical underflow in the
model function, which can sometimes be avoided by choosing better initial
parameter values, or by rescaling or recentering.  Parameter estimates may be
unreliable.
> In nlinfit at 280

b1 =

   1.0e+11 *

    0.0000    1.4428    0.0000
求出来的b1 b2 b3 值 严重不符 求问错在哪里?
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:LOGISTICS logistic ogistic logisti MATLAB logistics 模型

沙发
ermutuxia 发表于 2014-12-9 11:36:51 |只看作者 |坛友微信交流群
说明初始值设置的不合理,软件只是一个工具,得出的数据如果不满足经济学解释应该更换初始值试试

使用道具

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-5-2 17:51