Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/cmake/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
Netlogo 积分方程:柯布-道格拉斯技术最终产品生产函数建模 方程式的背景:_Netlogo_Agent Based Modeling_Economics - Fatal编程技术网

Netlogo 积分方程:柯布-道格拉斯技术最终产品生产函数建模 方程式的背景:

Netlogo 积分方程:柯布-道格拉斯技术最终产品生产函数建模 方程式的背景:,netlogo,agent-based-modeling,economics,Netlogo,Agent Based Modeling,Economics,我试图在NetLogo上应用基于代理的计算经济学。但我正在努力编写一个积分方程(her:/int): 以一个拥有高技能工人Ls和低技能工人Lu的国家为例。在任何时候,t,一家代表性公司通过使用高技能劳动力和差异化中间产品的1号尺寸来组装一种总消费品Yt。企业被自动化生产过程的效率所决定。具体来说,让qt表示企业生产自动化的持续特定效率,让x(qt)表示最终产品生产的中间投入量。然后,假设Cobb-Douglas technology最终产品生产函数。。。(见:截图) ε∈ (0,1)是相对于中间

我试图在NetLogo上应用基于代理的计算经济学。但我正在努力编写一个积分方程(her:/int):

以一个拥有高技能工人Ls和低技能工人Lu的国家为例。在任何时候,t,一家代表性公司通过使用高技能劳动力和差异化中间产品的1号尺寸来组装一种总消费品Yt。企业被自动化生产过程的效率所决定。具体来说,让qt表示企业生产自动化的持续特定效率,让x(qt)表示最终产品生产的中间投入量。然后,假设Cobb-Douglas technology最终产品生产函数。。。(见:截图) ε∈ (0,1)是相对于中间投入的产出弹性

我的问题: NetLogo能够解决这个问题吗?还是我需要使用扩展,如R或Mathematica

非常感谢

breed [ firm firms ]

globals [   
; defines global variables or parameters and are accessible anywhere in the model by all agents
  t     ; time
  Ls    ; high-skilled labour
  Lu    ; low-skilled labour
  Yt    ; representative firm assembles an aggregate consumption good
  qt    ; continous firm-specific efficiency of automation in production
  x-qt  ; quantity of an intermediate input in final goods production
  Qt    ; efficiency in automation of the least productive firm
  Qt+1  ; efficiency in automation of the most productive firm
]

to setup
  clear-all  
  clear-all-plots 
  ask patches [ set pcolor white ]   ;; creates blank background

  create-firms n-firms [   ; number of firms in slider
    setxy random-xcor random-ycor   ;; distributes the firms randomly
    set size 1
    set shape "house"
    set color grey
    set Yt   ; adds firm-specific variable of output  
    set qt   ; adds firm-specific variable of efficiency of automation
    set x-qt   ; adds firm-specific variable of input needed
  ]
  reset-ticks   ; resets the tick counter to zero
end

NetLogo无法求解微分方程。我不太明白你想做什么,但是很多你可能认为是解微分方程的问题并没有在NetLogo中“解决”,而是逐步解决了。也就是说,在每个时间步,你直接根据贡献变量的当前值来计算某个东西的新值。举个简单的例子,你永远不会计算一个变量的累计和,只需将新时间步长的值添加到上一时间步长计算并存储在变量中的总和即可。谢谢您的评论。我对NetLogo比较陌生,但我试图通过将其“翻译”成NetLogo来解释一种经济现象,这种经济现象已经在计量经济学方程中被概念化了。我似乎缺少一本关于基于代理的计算经济学的经验法则手册。你能推荐一本吗?我不是经济学家,但一个简单的谷歌搜索就能让你找到,而且索引中的科布·道格拉斯(Cobb Douglas)无法解微分方程。我不太明白你想做什么,但是很多你可能认为是解微分方程的问题并没有在NetLogo中“解决”,而是逐步解决了。也就是说,在每个时间步,你直接根据贡献变量的当前值来计算某个东西的新值。举个简单的例子,你永远不会计算一个变量的累计和,只需将新时间步长的值添加到上一时间步长计算并存储在变量中的总和即可。谢谢您的评论。我对NetLogo比较陌生,但我试图通过将其“翻译”成NetLogo来解释一种经济现象,这种经济现象已经在计量经济学方程中被概念化了。我似乎缺少一本基于代理的计算经济学的经验法则手册。你能推荐一本吗?我不是经济学家,但一个简单的谷歌搜索就能让你找到,而且索引中有科布·道格拉斯(Cobb Douglas)
breed [ firm firms ]

globals [   
; defines global variables or parameters and are accessible anywhere in the model by all agents
  t     ; time
  Ls    ; high-skilled labour
  Lu    ; low-skilled labour
  Yt    ; representative firm assembles an aggregate consumption good
  qt    ; continous firm-specific efficiency of automation in production
  x-qt  ; quantity of an intermediate input in final goods production
  Qt    ; efficiency in automation of the least productive firm
  Qt+1  ; efficiency in automation of the most productive firm
]

to setup
  clear-all  
  clear-all-plots 
  ask patches [ set pcolor white ]   ;; creates blank background

  create-firms n-firms [   ; number of firms in slider
    setxy random-xcor random-ycor   ;; distributes the firms randomly
    set size 1
    set shape "house"
    set color grey
    set Yt   ; adds firm-specific variable of output  
    set qt   ; adds firm-specific variable of efficiency of automation
    set x-qt   ; adds firm-specific variable of input needed
  ]
  reset-ticks   ; resets the tick counter to zero
end