Statalist


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

st: graph following svy command


From   "Daw, Christina M" <[email protected]>
To   <[email protected]>
Subject   st: graph following svy command
Date   Wed, 27 Jun 2007 18:34:12 -0500

How does one make a graph (other than in excel) following a -svy- command such as the following example, in this case a line graph with year on x-axis and mean OOP% (pcoop) on the y-axis?  Is there a source for such instructions, as well as making graphs following regressions from svy commands?  The -svy- commands  do not support -egen- for example.  

. svy, subpop(officemh): mean pcoop, over(evyr)

Survey: Mean estimation
  (excerpt)
Number of strata =     125          Number of obs    = 1219285
        --------------------------------------------------------------
             |             Linearized
        Over |       Mean   Std. Err.     [95% Conf. Interval]
-------------+------------------------------------------------
pcoop        |
        1996 |   .5349664   .0351149      .4658117    .6041212
        1997 |   .5258085   .0258162      .4749664    .5766505
        1998 |   .4167822   .0344434      .3489499    .4846146
        1999 |   .4005118   .0274386      .3464746     .454549
        2000 |   .3795007   .0261307      .3280393    .4309621
       

Thank you. 
Chris Daw
Doctoral Student
University of Texas School of Public Health - Houston 

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