永发信息网

STATA作面板脉冲响应函数的编程是怎么做的

答案:1  悬赏:40  手机版
解决时间 2021-03-27 10:41
STATA作面板脉冲响应函数的编程是怎么做的
最佳答案
Title

[XT] pvar -- Panel Vector Autoregressive Models

Syntax

pvar depvarlist [if] [in][, gmm options]

options description
-------------------------------------------------------------------------
Model

gmm estimates the model coefficients using gmm
(required option; ust be specified as the first
option); gmm calls sgmm.ado; if not specified,
estimates from the previous run are taken from
the memory

lag(numlist) specifies the number of lags in the underlying VAR;
default is 1; numlist has to be integer >0

impulse generates numerical impulse-responses without error
bands

list_imp generates a table with impulse-responses (use after
impulse)

gr_imp generates graphical impulse-responses (witout error
bands)

monte [#] generates error bands for impulse-responses using
monte-carlo simulations; # is the desired number
of repetitions, default 200; if using monte[#]
for standard errors - no need specify impulse

list_mon lists a table containing impulse-responses and
standard errors (use after monte)

decomp [#] generates a table containing
variance-decompositions; # is the max. number of
periods, default is 20; to use different number,
use double quotes (e.g. "decomp 30"); note that
decomp prints only every 10th

-------------------------------------------------------------------------
You must tsset or xtset your data before using pvar, see help tsset or
xtset. depvarlist may contain time series operators. See depvarlist.

Description

pvar will estimate a PVAR model as described in Holtz et al. (1988). The
data has to be helmert transformed prior to estimation in order to remove
the fixed effects (see help helm). It is recommended that the original
variables should be time-demeaned before using helm. The model uses
untransformed variables as instruments for the helmert-transformed
variables in the model. In case one wants to estimate the model using a
different transformation (e.g. first differences), the easiest way is to
name the transformed variables h_y1 h_y2 ... To estimate the model
without fixed effects, create a copies of the original var amed h_y1
h_y2... The program will use the original variables as both, regressors
and instruments (i.e. system OLS without a constant).

depvarlist is the list with variable names in the desired order.
Different orderings will yield different responses. Note that when using
monte the maximum number of variables in depvarlist is 6.

Examples

. webuse grunfeld, clear

. rename company id

. xtset id year

. helm invest mvalue kstock

. pvar kstock invest mvalue, lag(3) gmm monte 500 "decomp 30"
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
墙壁用竹板纤维有什么缺点
1836年——1858年宪章运动是欧洲规模最大、时
选出下列词语中加点字的读音完全正确的一项CA
世道变了,哎呦那皇上呢这段台词是走向共和里
求韩剧《上门丈夫吴作斗》百度云链接,谢谢
板支座钢筋是什么意思
求带潇或萧的诗句,词也可?
xp与2003有什么区别?
为什么俄罗斯士兵阅兵时,喜欢把头昂成45
三星i9001如何将蓝牙传送的电话导入到联系人
讲一讲我用运输盒养仓鼠的
黑马犬好还是红马犬好
与12度的终边相同的角的集合
请问如意代表什么数字?
今天跳了几下发现膝盖有点痛,我是不是有跳高
推荐资讯
员工末签补偿协议外资企业可以注销吗
四年级作文快乐六一300(合唱和古诗朗诵
什么是总线通信控制 为什么需要总线通信控制
我们公司被孵化器投了,出让20%股份,股权已
顶级运动品牌
QQ自由幻想怎样给装备上卡
鲨鱼有多少颗牙齿
孟效是什么朝代的人?
8÷(16)= (-6.5)x(-2)÷(-5)=
为什么高中锋在现代足球里越来越不受重视
简述胸外按压法和仰卧压胸法的操作步骤
He is so busy with the research
正方形一边上任一点到这个正方形两条对角线的
阴历怎么看 ?