statsmodels.tsa.vector_ar.irf.IRAnalysis.plot_cum_effects¶
-
IRAnalysis.plot_cum_effects(orth=
False, *, impulse=None, response=None, signif=0.05, plot_params=None, figsize=(10, 10), subplot_params=None, plot_stderr=True, stderr_type='asym', repl=1000, seed=None)¶ 绘制累积脉冲响应函数
- Parameters:¶
- orthbool,
defaultFalse 计算正交化的脉冲响应
- impulse{
str,int} 提供冲动的变量
- response{
str,int} 受脉冲影响的变量
- signif
float(0 <signif< 1) 误差线的显著性水平,默认为95%置信区间
- subplot_params
dict 传递给子图绘图函数。示例:如果字体太大,传递 {'fontsize' : 8} 或您喜欢的某个数字。
- plot_params
dict - figsize: (float, float), default (10, 10)
图表尺寸(宽度,高度,单位:英寸)
- plot_stderrbool,
defaultTrue 绘制标准脉冲响应误差带
- stderr_type
str ‘asym’: 默认,计算渐近标准误差 ‘mc’: 蒙特卡洛标准误差(使用 rpl)
- repl
int,default1000 蒙特卡罗标准误差的重复次数
- seed
int np.random.seed 用于蒙特卡罗复制
- orthbool,
Last update:
Oct 16, 2024