Large Bayesian VAR
Moderators: EViews Gareth, EViews Moderator, EViews Esther
Large Bayesian VAR
This thread is about the lbvar addin that estimates Large Bayesian VARs.
Re: Large Bayesian VAR
Hi there,
I keep getting the following error "MatrixVector index is out of range" what does this refer to?
Thanks,
Abi
I keep getting the following error "MatrixVector index is out of range" what does this refer to?
Thanks,
Abi
Re: Large Bayesian VAR
if your data have missing values then adjust the sample size.
Bayesian VAR
Hi. I installed the Addin BVAR. I tried to run it for 4 variables, 6 lags. Nothing happened. Any ideas? Thanks. BA
Re: Large Bayesian VAR
This thread is about the LBVAR addin not BVAR.
Re: Large Bayesian VAR
Hi . Sorry, my search landed me here so I thought covers both. I've installed LBVAR. Will try both. Thanks. BA

 Posts: 1
 Joined: Mon Jun 19, 2017 3:47 pm
Re: Large Bayesian VAR
Thanks for creating such a useful addin for my research needs. Do you have an unencrypted version of the LBVAR program that can be viewed? I am trying to view the innerworkings of the code (e.g. open intermediate objects, view portions of the algorithm) for the purpose of understanding the addin.
Re: Large Bayesian VAR
can you check your private message?

 Posts: 7
 Joined: Fri Jul 03, 2015 7:32 am
Re: Large Bayesian VAR
I am using a 10 variable, with 5 lags model with quarterly data from 1980 onwards, All my variables enter in logdifferences, so random walk prior is
0. Do I need to enter an array of 10 0's for all the 10 variables in the "Random walk prior box". Lambda is 0.15 and Tau is 1.5. Estimation is forecasting.
Forecast horizon is 1 quarter. I do not have any endogenous variables. What do i need to give in "Fit evaluation variables" box.
I also want to see the fitted values. How do I see that.
Thanks
0. Do I need to enter an array of 10 0's for all the 10 variables in the "Random walk prior box". Lambda is 0.15 and Tau is 1.5. Estimation is forecasting.
Forecast horizon is 1 quarter. I do not have any endogenous variables. What do i need to give in "Fit evaluation variables" box.
I also want to see the fitted values. How do I see that.
Thanks

 Posts: 7
 Joined: Fri Jul 03, 2015 7:32 am
Re: Large Bayesian VAR
I get the following error "Size do not match in matrix function". 9 variables are in log differences while one is in levels.
Re: Large Bayesian VAR
You need to create the vector for Random walk prior box. For example:
If fifth variable is nonstationary then
You manually entered lambda and tau. So you don't need to fit evaluation variables. If you choose grid search then you need the fit evaluation variables.
Fit evaluation variables is usually GDP, Price(CPI or GDP deflator) and Interest rate (Fed Fund rate). You can choose whatever variables you want. But don't choose too many variables. Approximately 3 variables are ok.
You want to see the forecasted values? it is the variable with suffix _f.
Please read the instruction document which is located in the C:\Users\...\Documents\EViews Addins\LBVAR folder (lbvar.pdf).
Code: Select all
vector irw=@zeros(10)
If fifth variable is nonstationary then
Code: Select all
irw(5)=1
You manually entered lambda and tau. So you don't need to fit evaluation variables. If you choose grid search then you need the fit evaluation variables.
Fit evaluation variables is usually GDP, Price(CPI or GDP deflator) and Interest rate (Fed Fund rate). You can choose whatever variables you want. But don't choose too many variables. Approximately 3 variables are ok.
You want to see the forecasted values? it is the variable with suffix _f.
Please read the instruction document which is located in the C:\Users\...\Documents\EViews Addins\LBVAR folder (lbvar.pdf).

 Posts: 7
 Joined: Fri Jul 03, 2015 7:32 am
Re: Large Bayesian VAR
All my variables are stationary. I have created the "irw" vector. Now do I need to give all the variable names in the endogenous variables, since all the variables are included in the model. It gives me the same error "sizes do not match in matrix function".
When I also include irw in the endogenous variable list, it gives me the error "irw is not a series".
How to solve this. All the 10 variables are to be included in the model.
Also how to see the fitted series. Is there a way to get this.
When I also include irw in the endogenous variable list, it gives me the error "irw is not a series".
How to solve this. All the 10 variables are to be included in the model.
Also how to see the fitted series. Is there a way to get this.
Re: Large Bayesian VAR
You should put the irw vector into the Random walk prior box.

 Posts: 7
 Joined: Fri Jul 03, 2015 7:32 am
Re: Large Bayesian VAR
Thanks for the previous reply.
I get the following error now: "EXTSER is not the same length as sample"
I need to get the forecasts for all 13 vars. Do I need to give anything in the impulse variable box.
I get the following error now: "EXTSER is not the same length as sample"
I need to get the forecasts for all 13 vars. Do I need to give anything in the impulse variable box.
Re: Large Bayesian VAR
If you have the missing observations because of the first order difference, then you should adjust the sample size.
Who is online
Users browsing this forum: No registered users and 8 guests