Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Question Regdarding Scatter Plot


From   "Dudekula, Anwar" <dudekulaan@upmc.edu>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: Question Regdarding Scatter Plot
Date   Tue, 19 Jun 2012 03:28:51 +0000

HI , 

I am here posting a de-identified data (values are also completely changed , only  data format is retained for clarification of question)

QUESTION:  how can I draw a scatter plot between VALUE and SCORE  when DATE-1=DATE-2 (from following data)

   +----------------------------------------------------------------------+
     | PATIENT ID   DATE-1            VALUE     DATE-2       SCORE |
     |---------------------------------------------------------------------|
  1. | Patient-1    10/6/2009         97                                         |
  2. | Patient-1                                        11/21/2011          22 |
  3. | Patient-1   11/21/2009       8.15                                      |
  4. | Patient-1                                       3/24/2011            33 |
  5. | Patient-1                                       4/12/2010            25 |
  6. | Patient-1    7/14/2009       6.44                                      |
  7. | Patient-1    7/16/2009        0.35                                      |
  8. | Patient-1                                       7/16/2009            85 |
  9. | Patient-1                                       10/6/2009            85 |
     |------------------------------------------------------------------|
 10. | Patient-2   11/30/2006       8.12                                    |
 11. | Patient-2                                       11/30/2006       1.54 |
     |------------------------------------------------------------------|
 12. | Patient-3                                      10/27/2011         88 |
 13. | Patient-3    12/9/2008       2.36                                    |
 14. | Patient-3                                       12/9/2008          93 |
 15. | Patient-3                                       6/10/2010          44 |
 16. | Patient-3     6/10/2010          44                                   |
     |------------------------------------------------------------------|
 17. | Patient-4                                      11/28/2011         58 |
 18. | Patient-4                                        2/6/2012          15 |
 19. | Patient-4      2/6/2012           45                                   |
 20. | Patient-4       11/28/2011         58                               |
     +-----------------------------------------------------------------+

Thank you 
Anwar



*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index