Page 1 of 1
SRVAR Error
Posted: Thu Oct 05, 2023 6:51 pm
by 27npg
Hi - I’ve been trying to use the SRVAR add-in but it stops running due to an Error 14 in encrypted program.
Any idea how to solve this? I am using EViews12.
Thanks
27npg
Re: SRVAR Error
Posted: Thu Oct 05, 2023 11:25 pm
by dakila
Could you provide the data and command or description of the dialog box?
Re: SRVAR Error
Posted: Fri Oct 06, 2023 2:59 am
by 27npg
Hi dakila - thanks so much for your reply.
I have attached the workfile and an command example of one of the county VARs (Belgium) below. This is just a test example and can be changed if neccessary but keep getting no. 14 and no. 6 errors.
srvar(const=0, kmax=4) 2 constr @ bgcr bgmr bgph bgih
Re: SRVAR Error
Posted: Sun Oct 08, 2023 5:20 pm
by dakila
Did you read the instruction pdf file which is located the add-in folder (e.g. C:\Users\...\Documents\EViews Addins\srvar).
You have to create a vector named constr before to run the command (srvar(const=0, kmax=4) 2 constr @ bgcr bgmr bgph bgih).
For example:
Re: SRVAR Error
Posted: Mon Oct 09, 2023 4:04 am
by 27npg
Hi Dakila - yes, I created the const vector. It actually runs fine using .prg its just with the menu/dialog box where I get the errors/. The problem is I am trying to add zero restrictions also and not sure how to do this outside the dialog box. Do you know the command for this?
Re: SRVAR Error
Posted: Mon Oct 09, 2023 4:47 pm
by dakila
Command to execute zero restriction is zvar (e.g. zvar=bgcr). If you using dialog box you don't need create a sign restriction vector. Just put a sign index of variables with comma on the sign restriction vector box (e.g. put this +1,+2,+3,-4).
Re: SRVAR Error
Posted: Tue Oct 10, 2023 2:57 am
by 27npg
thats great Dakila - that worked. Thanks for your help