全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 R语言论坛
3043 8
2015-05-21
  各位大神,我在用rqpd包计算面板分位数,固定效应模型设定中,s 变量难道我了,下面是help文件中的部分:  请各位大神对s 变量的选取给以指导   

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-6-14 12:43:48
同问 不理解
二维码

扫码加我 拉你入群

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

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

2015-6-22 10:01:15
如果你是以不同地区各年数据做面板分位数,s代表各地区的序列号。
二维码

扫码加我 拉你入群

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

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

2015-10-14 12:14:14
楼主,这个问题,你想明白了吗?
二维码

扫码加我 拉你入群

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

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

2017-3-10 08:47:45
求问楼主,我安装成功rqpd后,也library(rqpd),help(rqpd)了,但是并没有弹出帮助文件,请问楼主的帮助文件是怎么找到的?万分感谢
二维码

扫码加我 拉你入群

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

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

2017-8-11 17:18:09
scorpiosilence 发表于 2017-3-10 08:47
求问楼主,我安装成功rqpd后,也library(rqpd),help(rqpd)了,但是并没有弹出帮助文件,请问楼主的帮助文件 ...
我是这样弄的:help(package="quantreg")
                     help(package="rqpd")
然后就可以看到了。
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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