Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: graphing question


From   Nick Winter <[email protected]>
To   [email protected]
Subject   Re: st: graphing question
Date   Wed, 05 Apr 2006 16:26:42 -0400

It is not clear how your dataset is actually set up. But assume you get it to a form with three variables, time, perce, and sig, with sig coded as 1 for "significant" and 0 for not significant. Then you could do something like:

graph twoway (scatter perc time if sig==0, msym(oh))
(scatter perc time if sig==1, msym(O))
, legend(order(1 "Not Significant" 2 "Significant")) yline(0)

Even more informative would be to plot the confidence interval for each as a vertical range plot, and let users judge for themselves...

--NIck Winter


At 04:06 PM 4/5/2006, you wrote:

Hi all,

Say I have a table which looks like this the *** shows the values which are
significant. Of course I can plot the percentages against time. Is there
someway to highlight the significant values in the graph...Say for example
by changing the size of the symbols only for the significant values.

Time    percentage

-80     -0.02%
-70     -0.01%
-60     -0.04%
-50     -0.05%
-40     -0.05%
-30     -0.07%***
-20     -0.07%***
-10     -0.16%***
-5      -0.19%***
-3      -0.17%***
-2      -0.21%***
-1      -0.27%***
 0      0.09%***
 1      0.22%***
 2      0.09%***
 3      0.08%***
 5      0.05%***
 10     0.04%
 20     0.02%
 30     -0.01%
 40   -0.03%
 50     0.02%

rajesh

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/
________________________________________________________
Nicholas J. G. Winter 607.255.8819 t
Assistant Professor 607.255.4530 f
Department of Government [email protected] e
Cornell University falcon.arts.cornell.edu/nw53 w
308 White Hall
Ithaca, NY 14853-4601

*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/




© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index