Page 1 of 1
log bug, or at least ungoodness
Posted: Tue Jun 16, 2015 8:06 am
by startz
Consider the following code sequence
Code: Select all
series x=nrnd
show log(x).hist
series y=log(x)
y.hist
hist on log(x) doesn't work, rather we get the log of nonpositive number alert and a spreadsheet. hist on y works fine.
Re: log bug, or at least ungoodness
Posted: Tue Jun 16, 2015 9:42 am
by EViews Glenn
Can't seem to replicate this bug...
Works interactively.
If I run it in a program with the default max of 1 error, I get the opened log(x) histogram and an error on the evaluation.
If I run it in a program and set the default max error to greater than 1, I get both opened windows.
If I run in silent mode I get no error, get both opened windows, and get an evaluation error message in a warning window.
Re: log bug, or at least ungoodness
Posted: Tue Jun 16, 2015 9:49 am
by startz
Can't seem to replicate this bug...
Works interactively.
In this sort of case, I always recommend that the user update to the latest version of EViews
Code: Select all
create u 100
series x=nrnd
show log(x).hist
In interactive mode gives me the (correct) alert and then shows a spreadsheet rather than a histogram 100 percent of the time.

- Capture.PNG (46.19 KiB) Viewed 4833 times
Re: log bug, or at least ungoodness
Posted: Tue Jun 16, 2015 10:03 am
by EViews Glenn
What setting do you have for auto-series evaluation on your latest version of EViews:
Options/General Options/Series and Alphas/Auto-series
Re: log bug, or at least ungoodness
Posted: Tue Jun 16, 2015 10:13 am
by startz
Report evaluation errors. I assume that's the default?
Re: log bug, or at least ungoodness
Posted: Tue Jun 16, 2015 10:27 am
by EViews Gareth
No.
Re: log bug, or at least ungoodness
Posted: Tue Jun 16, 2015 10:33 am
by startz
Well, that explains the different behavior.
Since NAs get generated properly either way, it would be nice if the alert were followed by the hist view rather than the spreadsheet view. Since the spreadsheet view is the default, I suppose that might be a pain. It's certainly not too important.