Page 1 of 1

Histogram Data

Posted: Wed Feb 15, 2012 1:12 pm
by jjussa
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...

Re: Histogram Data

Posted: Wed Feb 15, 2012 2:19 pm
by EViews Gareth
Proc->Make Distribution Plot Data

Re: Histogram Data

Posted: Tue Feb 28, 2012 6:32 am
by jjussa
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...

Re: Histogram Data

Posted: Tue Feb 28, 2012 10:18 am
by EViews Glenn
You can fix the bin identities in histograms by providing a starting point and a user-specified bin width.

Re: Histogram Data

Posted: Tue Feb 28, 2012 4:05 pm
by jjussa
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.

Re: Histogram Data

Posted: Tue Feb 28, 2012 6:10 pm
by EViews Glenn
You'll have to use the more general engine for computing histograms, not the summary view:

Graph/Distribution/Histogram

Re: Histogram Data

Posted: Sun Sep 16, 2012 11:56 pm
by NurfatimaD
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:

Code: Select all

freeze(name) series.distplot

Re: Histogram Data

Posted: Mon Sep 17, 2012 12:42 am
by trubador

Code: Select all

series.hist

Re: Histogram Data

Posted: Mon Sep 17, 2012 8:07 pm
by NurfatimaD

Code: Select all

series.hist
Thanks a lot!