Markers on the lines
Markers on the lines
Hello,
In graphing impulse response functions, on the lines, I want to use markers (for example a cross or something) to indicate if the responses are significant at a particular horizon.
Anybody has any idea how can I do that?
Sincerely,
Sajjadur Rahman
In graphing impulse response functions, on the lines, I want to use markers (for example a cross or something) to indicate if the responses are significant at a particular horizon.
Anybody has any idea how can I do that?
Sincerely,
Sajjadur Rahman
Re: Markers on the lines
One way it might be possible to overlay the particular points. But I am having problem to overlay two set of points on two different lines. I have attached my program and data file.
Any suggestion?
Any suggestion?
Re: Markers on the lines
You attached a different data set than the program uses. However, the following will give you two options. The first uses stacked bar graphs that are use different colors for the significant and insignificant entries:
set irfsignif = conv*(conv_a*conv_b>0)
set irfinsig = conv*(conv_a*conv_b<0)
graph(style=stacked) 2
# irfsignif
# irfinsig
The second dots the entries that are significant. If you had problems with overlay, you might have forgotten the OVSAME option---without it, it uses a different scale for the overlay series.
set irfmark = %if(conv_a*conv_b>0,conv,%na)
graph(style=dots,overlay=line,ovsame) 2
# irfmark
# conv
set irfsignif = conv*(conv_a*conv_b>0)
set irfinsig = conv*(conv_a*conv_b<0)
graph(style=stacked) 2
# irfsignif
# irfinsig
The second dots the entries that are significant. If you had problems with overlay, you might have forgotten the OVSAME option---without it, it uses a different scale for the overlay series.
set irfmark = %if(conv_a*conv_b>0,conv,%na)
graph(style=dots,overlay=line,ovsame) 2
# irfmark
# conv