Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: xline macro or scalars


From   Buzz Burhans <[email protected]>
To   [email protected]
Subject   Re: st: xline macro or scalars
Date   Tue, 23 Sep 2003 16:39:44 -0400

Please disregard this, I ended up using the recast(rcap) to accomplish marking out the events instead of xline().
Thanks

Buzz Burhans



At 02:14 PM 9/23/2003 -0400, you wrote:

Hi all,

I'm having trouble accomplishing the following:

In a dataset with multiple panels that is tsset, and I have three event variables containing integers in the same scale as the time variable (days); for any given panel either 1, 2 or all 3 of these variables may be missing. I have programmed a routine whereby I repeatedly generate xtline graphs to inspect these panels values, and would like to use the 1,2, or 3 values ( if not missing) in the three event variables as xline() values in those xtline graphs. I have been trying to get the three values into a macro which I could use inside the xline option, but have been unsuccessful. Can anyone suggest how to capture three values of three variables in a single macro? Or, alternatively, another way to get the xtline values I need in a manner that can be automated to reflect the unique values for each panel?

Thanks

Buzz Burhans


*
* 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/
Buzz Burhans
[email protected]


*
*   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