楼主: miedo
1595 0

[DSGE讨论专题] 写了个dynare代码,出了问题,还请大家看看咋回事 [推广有奖]

  • 78关注
  • 2粉丝

已卖:1884份资源

副教授

78%

还不是VIP/贵宾

-

威望
0
论坛币
32719 个
通用积分
94.3300
学术水平
6 点
热心指数
7 点
信用等级
7 点
经验
26330 点
帖子
115
精华
0
在线时间
1834 小时
注册时间
2012-12-2
最后登录
2025-10-11

楼主
miedo 学生认证  发表于 2017-11-22 22:10:44 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
STEADY:  The Jacobian contains Inf or NaN. The problem arises from:

STEADY:  Derivative of Equation 1 with respect to Variable C  (initial value of C: 0)
STEADY:  Derivative of Equation 2 with respect to Variable C  (initial value of C: 0)
STEADY:  Derivative of Equation 2 with respect to Variable W  (initial value of W: 0)
STEADY:  Derivative of Equation 1 with respect to Variable P  (initial value of P: 0)
STEADY:  Derivative of Equation 2 with respect to Variable P  (initial value of P: 0)
STEADY:  Derivative of Equation 5 with respect to Variable P  (initial value of P: 0)
STEADY:  Derivative of Equation 6 with respect to Variable P  (initial value of P: 0)
STEADY:  Derivative of Equation 6 with respect to Variable P1  (initial value of P1: 0)
STEADY:  Derivative of Equation 6 with respect to Variable P2  (initial value of P2: 0)
STEADY:  Derivative of Equation 1 with respect to Variable R  (initial value of R: 0)
STEADY:  Derivative of Equation 5 with respect to Variable M  (initial value of M: 0)

STEADY:  The problem most often occurs, because a variable with
STEADY:  exponent smaller than 1 has been initialized to 0. Taking the derivative
STEADY:  and evaluating it at the steady state then results in a division by 0.
错误使用 dynare_solve (line 60)
An element of the Jacobian is not finite or NaN
出错 evaluate_steady_state (line 66)
            [ys,check] = dynare_solve([M.fname '_static'],...
出错 steady_ (line 54)
[steady_state,params,info] = evaluate_steady_state(oo_.steady_state,M_,options_,oo_,~options_.steadystate.nocheck);
出错 steady (line 81)
[steady_state,M_.params,info] = steady_(M_,options_,oo_);
出错 myexam (line 200)
steady;
出错 dynare (line 180)
evalin('base',fname) ;

二维码

扫码加我 拉你入群

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

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

关键词:dynare ARE Derivative Evaluating Valuating

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

本版微信群
jg-xs1
拉您进交流群
GMT+8, 2025-12-25 18:00