Hello Eviews-Support Team,
I make am Monte-Carlo-Simulation with 10.000 observation and my workfile has about 78 mb.
Therefore I can only attach the program-code.
In the histogram, I can´t add a vertical line, with the dist option it works like it should.
Adding a horizontal line to a histogram works too.
My program-code is attached.
Thanks for your help.
P.S. I use Eviews 8.1 with the newest patch.
Add vertical line in histogram
Moderators: EViews Gareth, EViews Moderator
Add vertical line in histogram
- Attachments
-
- growth_mc_2_graph.prg
- (3.87 KiB) Downloaded 342 times
Re: Add vertical line in histogram
Here is one page with a histogram and a distplot-graph. But to draw the vertical line only works in the distplot and not in the histgram.
- Attachments
-
- graph_hist_dist_plot.WF1
- (1.27 MiB) Downloaded 290 times
-
- EViews Developer
- Posts: 870
- Joined: Tue Sep 16, 2008 3:50 pm
Re: Add vertical line in histogram
In the histogram case, the position must be specified by observation number and not value.
The below line will add a vertical line at the 10th observation:
The below line will add a vertical line at the 10th observation:
Code: Select all
GRA_GDP1960_HAT_hist.draw(line, bot) 10
Re: Add vertical line in histogram
First, I want to thank you for your request, Jason.
Is there no opportunity to set it by value, because I want to illustrate the case of a biased estimation
and the line should be the value from the data generating process.
Is there no opportunity to set it by value, because I want to illustrate the case of a biased estimation
and the line should be the value from the data generating process.
-
- EViews Developer
- Posts: 870
- Joined: Tue Sep 16, 2008 3:50 pm
Re: Add vertical line in histogram
Unfortunately not.
-
- EViews Developer
- Posts: 2671
- Joined: Wed Oct 15, 2008 9:17 am
Re: Add vertical line in histogram
Actually, for the histogram, Jason's code will draw by value
will draw the vertical line at a value of 824.
Code: Select all
graph01.draw(line, bottom) 824
will draw the vertical line at a value of 824.
-
- EViews Developer
- Posts: 870
- Joined: Tue Sep 16, 2008 3:50 pm
Re: Add vertical line in histogram
Both Glenn and I are giving you conflicting answers. We are actually both right.
You cannot specify by value if from your series, you created the histogram by selecting view->descriptive stats & tests->histogram and stats.
You can if you create your histogram by selecting View->Graph, then selecting Distribution from the Specific: box and additionally selecting Histogram from the Distribution: box in the Details box.
You cannot specify by value if from your series, you created the histogram by selecting view->descriptive stats & tests->histogram and stats.
You can if you create your histogram by selecting View->Graph, then selecting Distribution from the Specific: box and additionally selecting Histogram from the Distribution: box in the Details box.
Who is online
Users browsing this forum: No registered users and 15 guests