Descriptive statistics on a constant series
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
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
Code: Select all
series y=3
y.stats
smpl @first @first
y.stats
-
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
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
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.
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.
Who is online
Users browsing this forum: No registered users and 1 guest
