📄 becm_d.m
字号:
% PURPOSE: demonstrate the use of becm% function to estimate a Bayesian% error correction model using Minnesota prior% ---------------------------------------------% usage: becm_d% ----------------------------------------------load test.dat; % a test data set containing % monthly mining employment for % il,in,ky,mi,oh,pa,tn,wv% data covers 1982,1 to 1996,5vnames = ['il', 'in', 'ky', 'mi', 'oh', 'pa', 'tn', 'wv']; y = test;[nobs neqs] = size(y);tight = 0.1;decay = 0.1;weight = 0.5;nlag = 9; % Estimate using becm % let the routine determine co-integrating vectors result = becm(y,nlag,tight,weight,decay) ; % print output to a file % fid = fopen('becm.out','wr'); fid = 1; prt_var(result,vnames,fid);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -