SRVAR Error

For questions about EViews Add-ins available from the EViews Add-ins webpage. Note each add-in available on our webpage will have its own individual thread.

Moderators: EViews Gareth, EViews Moderator, EViews Esther

27npg
Posts: 29
Joined: Thu Jul 25, 2019 9:31 am

SRVAR Error

Postby 27npg » Thu Oct 05, 2023 6:51 pm

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

dakila
Posts: 479
Joined: Tue Nov 24, 2015 4:57 pm

Re: SRVAR Error

Postby dakila » Thu Oct 05, 2023 11:25 pm

Could you provide the data and command or description of the dialog box?

27npg
Posts: 29
Joined: Thu Jul 25, 2019 9:31 am

Re: SRVAR Error

Postby 27npg » Fri Oct 06, 2023 2:59 am

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
Attachments
SRVAR_Example.wf1
(176.13 KiB) Downloaded 99 times

dakila
Posts: 479
Joined: Tue Nov 24, 2015 4:57 pm

Re: SRVAR Error

Postby dakila » Sun Oct 08, 2023 5:20 pm

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:

Code: Select all

vector constr=@fill(+1,+2,+3,-4)

27npg
Posts: 29
Joined: Thu Jul 25, 2019 9:31 am

Re: SRVAR Error

Postby 27npg » Mon Oct 09, 2023 4:04 am

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?

dakila
Posts: 479
Joined: Tue Nov 24, 2015 4:57 pm

Re: SRVAR Error

Postby dakila » Mon Oct 09, 2023 4:47 pm

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).

27npg
Posts: 29
Joined: Thu Jul 25, 2019 9:31 am

Re: SRVAR Error

Postby 27npg » Tue Oct 10, 2023 2:57 am

thats great Dakila - that worked. Thanks for your help


Return to “Add-in Support”

Who is online

Users browsing this forum: No registered users and 16 guests