Descriptive statistics on a constant series

For notifying us of what you believe are bugs or errors in EViews.
Please ensure your copy of EViews is up-to-date before posting.

Moderators: EViews Gareth, EViews Moderator

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

Descriptive statistics on a constant series

Postby startz » Tue Mar 03, 2015 4:14 pm

If you ask for descriptive statistics on a series with only one value, you get a "Data have zero variance" alert. Hey, I still might want to know the mean or something. How about showing me the descriptive stats like I asked for? (I could swear this was fixed a couple of versions ago.)

EViews Glenn
EViews Developer
Posts: 2682
Joined: Wed Oct 15, 2008 9:17 am

Re: Descriptive statistics on a constant series

Postby EViews Glenn » Tue Mar 03, 2015 5:38 pm

Code: Select all

series y=3 y.stats smpl @first @first y.stats
works fine for me (for both definitions of only one value).

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

Re: Descriptive statistics on a constant series

Postby startz » Tue Mar 03, 2015 5:54 pm

Try view/descriptive statistics.

EViews Glenn
EViews Developer
Posts: 2682
Joined: Wed Oct 15, 2008 9:17 am

Re: Descriptive statistics on a constant series

Postby EViews Glenn » Wed Mar 04, 2015 8:26 am

Your description was still not descriptive enough :)

It turns out that the error is reported in the histogram and stats view. I think the issue is that we won't draw a histogram for a series with zero variance, as the algorithm for bin width requires variability. The statistics table view that I pointed you to will show you all of the statistics you want (more even than the histogram view). And if you really want the histogram, I'm pretty sure the standard histogram graph with user bin width would happily draw something for you.


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 1 guest