全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
2848 4
2013-03-28
小女纸准备做面板数据分位数回归,看论坛里面有些人说stata做不了,有些说要用R,也有人说用把横截面或者时间设置为虚拟变量,也有人说做了用LP算,那到底stata能做出来嘛?求给个详细的答案啊~~谢谢咯
二维码

扫码加我 拉你入群

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

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

全部回复
2014-10-18 18:45:07
虽然你是面板数据,但是没有相应的面板分位数模型,只能当成一般数据进行分位数回归
二维码

扫码加我 拉你入群

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

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

2014-10-18 20:54:14
R软件有命令包
rqpd


rqpd {rqpd}        R Documentation
Regression Quantiles for panel data (longitudinal data)

Description

Fit a panel data quantile regression model. The model is specified by using an extended formula syntax (implemented with the Formula package) and by easily configured model options (see Details).

Currently, the available models are (i) the penalized fixed-effects (FE) estimation method proposed by Koenker (2004) and (ii) the correlated-random-effects (CRE) method first proposed by Abrevaya and Dahl (2008) and elaborated on by Bache et al (2011).

The FE estimator is based on minimizing a weighted sum of K ordinary quantile regression objective functions corresponding to a selection of K values of tau, with user specified tau-specific weights. Slope coefficients of this objective function are tau dependent, whereas coefficients corresponding to the fixed effects are assumed to be independent of tau. The vector of fixed-effects coefficients are penalized by an l1 (lasso) penalty term with associated penalty parameter lambda, thereby shrinking these coefficients toward zero.

The CRE estimator do not estimate the fixed effects, but controls for time-invariant dependence between the fixed effects and a set of covariates by linearly including time-invariant CRE transformations of possibly endogenous time-varying variables. The conditional distribution of interest, is thus in some sense unconditional of the fixed effects.
二维码

扫码加我 拉你入群

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

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

2014-10-19 21:36:55
面板分位数我是按照时序分位数用stata做的,也不知道对不对呢。
二维码

扫码加我 拉你入群

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

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

2016-3-24 08:54:41
蓝色 发表于 2014-10-18 20:54
R软件有命令包
rqpd
您的回复很有帮助,谢谢~不过具体的操作命令是什么呢??
二维码

扫码加我 拉你入群

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

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

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

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