RecShade (add US recession shading)

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

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 11260
Joined: Tue Sep 16, 2008 5:38 pm

RecShade (add US recession shading)

Postby EViews Gareth » Mon Apr 05, 2010 1:40 pm

This thread is about the RecShade Add-in that applies US recession shading to graph objects.

Change Log
  • 2010/11/11 - Added Japanese recession data
  • 2011/01/10 - Edited Japanese dates
Follow us on Twitter @IHSEViews

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 11260
Joined: Tue Sep 16, 2008 5:38 pm

Re: RecShade (add US recession shading)

Postby EViews Gareth » Fri Apr 16, 2010 11:22 am

Please note that, currently at least, this add-in only works on graph objects. If you are looking at a graph view of a series or a group, the add-in will not appear/work. However if you hit the freeze button from that view, to create a graph object, you can then use the add-in.
Follow us on Twitter @IHSEViews

TimGrun
Posts: 36
Joined: Wed Sep 16, 2009 8:01 am

Re: RecShade (add US recession shading)

Postby TimGrun » Thu May 27, 2010 7:34 am

Hi Gareth. We have had some stability issues with EViews that will cause the EViews window to disappear.
I was unable to send an example because of secure data. When I tried to change the data EViews didn't blow up.
The program I ran used a lot of string and svector objects, with a lot of parsing using @wsplit, @replace, .... All this to build up tables.

So, when trying to run the RecShade add-in EViews disappeared.

Here's all I did:
Open a new EViews window.
Open the workfile macromod.
Open the GT graph object.
Click on Proc.
BOOM, EViews disappears.

EViews Version 7.1
Enterprise Edition - Apr 20 2010 build

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 11260
Joined: Tue Sep 16, 2008 5:38 pm

Re: RecShade (add US recession shading)

Postby EViews Gareth » Thu May 27, 2010 8:05 am

Just so I'm clear - you were running a program you had written yourself, then you ran the add-in on a workfile, and EViews crashed?

Had you run your program a few times where it had stopped because of an error?
Follow us on Twitter @IHSEViews

TimGrun
Posts: 36
Joined: Wed Sep 16, 2009 8:01 am

Re: RecShade (add US recession shading)

Postby TimGrun » Thu May 27, 2010 10:31 am

Sorry Gareth, I was very unclear in my post.
There are two separate issues. The first was with an example that I was unable to send to you.

But then, a completely separate issue, was the bombout when trying your RecShade addin.
I had run your RecShade addin example with a brand new EViews session. I was following the example in the EViews 7.1 Supplement help document when my EViews session disappeared. I retried it several times showing other people (to prove I wasn't crazy :D ). Later, I reinstalled the add-in and now the RecShade add-in works. :oops:
Even if I am making some mistake, the EViews session shouldn't just disappear. Unfortunately, I have been unable to find an easily replicable situation that causes EViews to bomb out(disappear).
The next time EViews disappears I will try and send you something that will demonstrate the problem.
Has anyone else reported problems with an EViews session disappearing?

Thanks,
Tim

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 11260
Joined: Tue Sep 16, 2008 5:38 pm

Re: RecShade (add US recession shading)

Postby EViews Gareth » Thu May 27, 2010 10:46 am

No, you are absolutely correct, EViews should never crash like that, even if the user has made a mistake. Unfortunately it can be hard for us to fix those crashes without replicatability.

Obviously one thing I can suggest is that you keep your copy of EViews 7 as up to date as possible, we fix bugs as soon as we find them and usually release a patch fairly soon afterwards.
Follow us on Twitter @IHSEViews

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 11260
Joined: Tue Sep 16, 2008 5:38 pm

Re: RecShade (add US recession shading)

Postby EViews Gareth » Thu May 27, 2010 10:53 am

Out of interest, when EViews disappeared, did any error message pop up, or was it just a complete vanishing?
Follow us on Twitter @IHSEViews

TimGrun
Posts: 36
Joined: Wed Sep 16, 2009 8:01 am

Re: RecShade (add US recession shading)

Postby TimGrun » Thu May 27, 2010 11:09 am

It was a complete vanishing or I would've sent you the error message.

startz
Non-normality and collinearity are NOT problems!
Posts: 3118
Joined: Wed Sep 17, 2008 2:25 pm

Re: RecShade (add US recession shading)

Postby startz » Wed Sep 22, 2010 1:14 pm

Note that Bob Hall has screwed up RecShade.

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 11260
Joined: Tue Sep 16, 2008 5:38 pm

Re: RecShade (add US recession shading)

Postby EViews Gareth » Wed Sep 22, 2010 1:22 pm

I updated the programs on Monday to reflect the latest info (just didn't post here to tell you).
Follow us on Twitter @IHSEViews

startz
Non-normality and collinearity are NOT problems!
Posts: 3118
Joined: Wed Sep 17, 2008 2:25 pm

Re: RecShade (add US recession shading)

Postby startz » Wed Sep 22, 2010 1:54 pm

Shoulda known...

w_nawfal
Posts: 69
Joined: Fri Jul 30, 2010 6:58 am
Location: Montreal, Canada
Contact:

Re: RecShade (add US recession shading)

Postby w_nawfal » Tue Nov 02, 2010 12:50 pm

Hi All

I use this add in often & it's great

however, how can i change the shading color? (alternatively - is there a default shade option i can manipulate - so that my chosen shade is the default shade?)

thanks much

Wes

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 11260
Joined: Tue Sep 16, 2008 5:38 pm

Re: RecShade (add US recession shading)

Postby EViews Gareth » Tue Nov 02, 2010 8:45 pm

If you open the Add-in program, you'll notice there's a ton of lines that say

Code: Select all

g1.draw(shade, bottom)


Change those all to be

Code: Select all

g1.draw(shade, bottom, color(green))

to change the colour to green, etc...
Follow us on Twitter @IHSEViews

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 11260
Joined: Tue Sep 16, 2008 5:38 pm

Re: RecShade (add US recession shading)

Postby EViews Gareth » Thu Nov 11, 2010 10:18 am

Javier Sanchez Barrueco has updated this add-in so that it now supports Japanese recession dates. If you download the add-in it will now ask you which countries you would like to install.

If anyone else would like to contribute other country's official recession data, feel free!
Follow us on Twitter @IHSEViews

w_nawfal
Posts: 69
Joined: Fri Jul 30, 2010 6:58 am
Location: Montreal, Canada
Contact:

Re: RecShade (add US recession shading)

Postby w_nawfal » Wed Nov 17, 2010 6:56 am

that's great - thanks to Javier

if i come across official recession data for other countries via my work i'll certainly update this add-in :O)

cheers


Return to “Add-in Support”

Who is online

Users browsing this forum: No registered users and 1 guest