公卫百科  > 所属分类  >  Stata   
[0] 评论[0] 编辑

rollreg

rollreg是用来一个实现滚动回归(rolling regression)的Stata第三方命令,作者为波士顿学院的Christopher F. Baumrollreg处理的数据为时间序列数据(time-series data),因此使用前必须使用tsset命令声明数据。

公卫人

公卫考场

安装方法

公卫论坛

ssc install rollreg 公卫家园

help rollreg

公卫家园

命令简介
公卫人

rollreg computes three different varieties of rolling regression estimates. With the move() option, moving-window estimates of the specified window width are computed for the available sample period. With the add() option, that number of periods are initially used for estimation, and the sample is extended one period at a time through the remaining sample. With the dropfirst() option, the regression is estimated for the entire sample, and then repeated, dropping initial observations until that number of observations have been excluded. All three forms of the command generate timeseries of R^2s, RMSEs, coefficient estimates and their estimated standard errors for each period. Graphs are also optionally provided, juxtaposing the rolling regression estimates with those resulting from a single regression over the entire sample period. The routine can also be applied to either a single unit's data from a panel or to panel data.

公卫家园

附件列表


0

词条内容仅供参考,如果您需要解决具体问题
(尤其在法律、医学等领域),建议您咨询相关领域专业人士。

如果您认为本词条还有待完善,请 编辑

上一篇    下一篇 Pearson检验

标签

暂无标签

同义词

暂无同义词