全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 R语言论坛
6014 10
2015-05-04
悬赏 5 个论坛币 未解决

如下,这是帮助文件中对rqpd包formula的说明,请问FE中,竖线之后的s代表什么意思?CRE中,竖线之后的s以及z1、z2等等又代表什么意思?

另外,利用rqpd包可以设置工具变量吗?应该怎样操作呀?

诚心求教,希望明白的小伙伴帮忙解释一下呀~谢谢!


rqpd(formula, panel = panel(), data =parent.frame(),

   na.action, subset, contrasts = NULL, control = NULL, ...)



  

formula

  
  

A method-specific formula  for the model employing the conventions of theFormula package,  which has the additional operator "|". "rqpd"-formulas  are specified as:

  
   

FE:

   
   

y ~ x1 + x2 + ... | s

   
   

CRE:

   
   

y ~ x1 + x2 + ... | s | z1 + z2 + ...

   
  

The portion of the formulas  before the (first) vertical bar is specified like the conventional lm or rq function formulas.

  

The factor variable s specifies the structure of the panel, and in  the FE model it represents the "fixed effects". This is typically  an id column.

  

The last part of the CRE  formula is a specification of the variables in the CRE component. These are  possibly endogenous variables (in the sense that they are affected by the  fixed effects) and must be time-varying. Note that there are two vertical  bars.

  



二维码

扫码加我 拉你入群

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

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

全部回复
2015-5-5 15:10:03
[sad][sad]求帮助!在线等T T
二维码

扫码加我 拉你入群

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

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

2015-5-5 19:12:09
我好像明白s的涵义了~写下来跟大家讨论~
s应该就是指代表个体效应的符号,比如研究对象是形如:n个国家(country)某时间范围内(year)的某些指标的面板数据模型,那么这里的s就是指country了。
不知道对不对~
二维码

扫码加我 拉你入群

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

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

2015-5-21 14:01:48
我觉得楼上说的好像有道理,那Z1 Z2  是指什么呢?
二维码

扫码加我 拉你入群

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

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

2015-5-21 14:52:25
我也在疑惑这个问题,s 是代表固体效应的,是一个id的形式,但是固定效应不是固定时间或者固定个体么?怎么会是id形式?
二维码

扫码加我 拉你入群

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

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

2015-5-22 09:23:25
bishedasi 发表于 2015-5-21 14:01
我觉得楼上说的好像有道理,那Z1 Z2  是指什么呢?
是指内生变量吧?
二维码

扫码加我 拉你入群

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

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

点击查看更多内容…
相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群