楼主: 啥也不懂者
635 2

[回归分析求助] 在论文学习code中遇到的问题求教 [推广有奖]

  • 0关注
  • 0粉丝

svip1

初中生

61%

还不是VIP/贵宾

-

威望
0
论坛币
1829 个
通用积分
0.1500
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
66 点
帖子
4
精华
0
在线时间
27 小时
注册时间
2020-6-17
最后登录
2024-9-2

楼主
啥也不懂者 发表于 2020-6-24 23:40:33 |AI写论文
3论坛币
在论文学习中,看到以下代码有一些不太明白,用help,也搜不到相关内容,希望有好心人能指点一下我。

*** making RHS variables
forv h=0(1)`maxhor_less1' {
        gen drgdp`h'=(exp(F`h'.lnrgdppercap_new_sa)- exp(L1.lnrgdppercap_new_sa))/exp(L1.lnrgdppercap_new_sa)
        gen drgvt`h'=(exp(F`h'.ln`varname1'percap_new_sa)-exp(L1.ln`varname1'percap_new_sa))/exp(L1.lnrgdppercap_new_sa)

}

其中local maxhor_less1 = `maxhorizon' - 1  /* accounts for fact that we start at horiz = 0 */

关键词:问题求教 code COD ODE Variables

沙发
啥也不懂者 发表于 2020-6-24 23:42:11
似乎排版有些问题,我在重发一下:
*** making RHS variables
forv h=0(1)`maxhor_less1' {
        gen drgdp`h'=(exp(F`h'.lnrgdppercap_new_sa)- exp(L1.lnrgdppercap_new_sa))/exp(L1.lnrgdppercap_new_sa)
        gen drgvt`h'=(exp(F`h'.ln`varname1'percap_new_sa)-exp(L1.ln`varname1'percap_new_sa))/exp(L1.lnrgdppercap_new_sa)

}

藤椅
啥也不懂者 发表于 2020-7-3 23:35:25
有人知道么...

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

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2026-2-6 02:20