Hi, I am trying to run the program in FRB/US supply-side package. It contains two programs and three subroutines. To run, I did:
run frbus_supply_estimation
Then, to create the estimates of the states, I typed:
run frbus_supply_filter
It resulted in the following error:
Could you please help me resolve the error?
Error in using FRB/US supply side package in EViews 11
Moderators: EViews Gareth, EViews Moderator
-
- EViews Developer
- Posts: 798
- Joined: Tue Sep 16, 2008 3:00 pm
- Location: Irvine, CA
Re: Error in using FRB/US supply side package in EViews 11
While these are EViews programs you are running, it would be more appropriate to ask the people that actually wrote the program, since they know most about it.
But I did do a quick google search for "FRM/US supply side package" and found the zip file you're running these programs from. I found opened the frbus_supply_filter.prg and looked for the COPY command that is being used. Here's the command lines (showing 1 before and 1 after):
It looks like the copy command is trying to copy an object named "saved_results" from the Untitled page in the saved_results.wf1 workfile. I found a workfile with that name in the zip file and looked in it and there isn't any object named "saved_results" in there.
I then looked at the end of the first program you are running (frbus_supply_estimation.prg) and it saves a new workfile named saved_results_new.wf1.
Perhaps the saved_results object is in that workfile instead?
These are just guesses on my part since I don't know the details of what these programs are trying to do. But I would open the saved_results_new workfile that was saved by the first program to see if there's an object in there named "saved_results". If so, then the second program is just opening the wrong workfile. Or the first program is saving the results with the wrong name. In either case, it's a bug with their program.
Steve
But I did do a quick google search for "FRM/US supply side package" and found the zip file you're running these programs from. I found opened the frbus_supply_filter.prg and looked for the COPY command that is being used. Here's the command lines (showing 1 before and 1 after):
Code: Select all
wfopen saved_results
copy saved_results::untitled\saved_results kf_data::untitled\{%modname}
wfclose saved_results
freeze({%modname}_results) {%modname}.ml(m=100,showopts)
It looks like the copy command is trying to copy an object named "saved_results" from the Untitled page in the saved_results.wf1 workfile. I found a workfile with that name in the zip file and looked in it and there isn't any object named "saved_results" in there.
I then looked at the end of the first program you are running (frbus_supply_estimation.prg) and it saves a new workfile named saved_results_new.wf1.
Code: Select all
wfsave saved_results_new
Perhaps the saved_results object is in that workfile instead?
These are just guesses on my part since I don't know the details of what these programs are trying to do. But I would open the saved_results_new workfile that was saved by the first program to see if there's an object in there named "saved_results". If so, then the second program is just opening the wrong workfile. Or the first program is saving the results with the wrong name. In either case, it's a bug with their program.
Steve
Re: Error in using FRB/US supply side package in EViews 11
Than you, Steve, for the helpful explanation. It turns out that the object "saved_results", is indeed within the saved_results_new workfile.
Who is online
Users browsing this forum: No registered users and 31 guests