I have created a histogram using View/Descriptive Stats and Test/Histogram and Stats...
Eviews produced a nice histogram and a summary stat table... Is there a way to extract the data from the histogram so that i can build the chart in excel. Essentially i want the individual histogram bin data. Thanks...
Histogram Data
Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13603
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Histogram Data
Proc->Make Distribution Plot Data
Re: Histogram Data
I have created a histogram using View/Descriptive Stats and Test/Histogram and Stats. I want to create 2 histograms based on 2 samples of data ...i.e. smpl @all if condition =1 1 & smpl @all if condition = 2. My questions: Is there a way to extract the histogram bin data for each sample but to have both samples on the same scale. Currently, i can extract the data but the bin sizes are different depending upon the sample. Essentially i want to fix the bin size for each sample...
-
EViews Glenn
- EViews Developer
- Posts: 2682
- Joined: Wed Oct 15, 2008 9:17 am
Re: Histogram Data
You can fix the bin identities in histograms by providing a starting point and a user-specified bin width.
Re: Histogram Data
Thank you. And how do you create a "user specified" bin width. Currenly I go to: View/Descriptive Statistics & Stats/Histogram & Stats. And let me provide a bit more clarity...So i want the bin sizes to be the same (i.e. for a profit distribution approximately 10%) and I also want the bin range to be the same (i.e -100% to 100%). What is currenlty happening is that depending on the distribution of each sample, the bin range changes. I want a fixed bin width and bin range so that i can compare various samples on the same distribution chart.
-
EViews Glenn
- EViews Developer
- Posts: 2682
- Joined: Wed Oct 15, 2008 9:17 am
Re: Histogram Data
You'll have to use the more general engine for computing histograms, not the summary view:
Graph/Distribution/Histogram
Graph/Distribution/Histogram
-
NurfatimaD
- Posts: 20
- Joined: Wed May 23, 2012 10:04 pm
- Location: Almaty, Kazakhstan
Re: Histogram Data
Could anyone say how is it possible to write in the programming language of eviews to create a histogram with STATISTICS. For the moment, I am able to create a histogram, but without stats.
Thank you in advance
P.S. The line I use is as following:
Thank you in advance
P.S. The line I use is as following:
Code: Select all
freeze(name) series.distplotRe: Histogram Data
Code: Select all
series.hist-
NurfatimaD
- Posts: 20
- Joined: Wed May 23, 2012 10:04 pm
- Location: Almaty, Kazakhstan
Re: Histogram Data
Thanks a lot!Code: Select all
series.hist
Who is online
Users browsing this forum: No registered users and 2 guests
