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

From |
"Banya, Winston" <w.banya@ic.ac.uk> |

To |
"'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu> |

Subject |
st: RE: RE: Data management/analysis |

Date |
Tue, 9 Jul 2002 10:59:02 +0100 |

Dear All; Nick suggested that I give an example of the data. The data is in the following form. ID Age MSP Dr. Rel. 001 60 0 Y N 002 79 5 N N 003 81 3 Y Y 004 91 2 Y Y . ' . . . . 039 75 1 Y N The data is about asking a doctor and a relative about whether either of them prefers resusitation for elderly dementia patients. What my colleague who generated the data wants is whether he can compare when the doctor said yes and when the relative said yes for the variable msp for example. What I told him is that it may be difficult to do so without losing some data. One may get 'independent' samples in the case they do not agree but when the agree how is it counted? If anyone can offer any suggestions, I will be most grateful. Winston -----Original Message----- From: Nick Cox [mailto:n.j.cox@durham.ac.uk] Sent: 08 July 2002 17:30 To: statalist@hsphsun2.harvard.edu Subject: st: RE: Data management/analysis Banya, Winston > > I am working on a small dataset and most of the variables are skewed. In > this data 2 'observers' give an opinion and in some instances > they do agree. > I want to find out the difference in response when they both agree on a > variable. > > For example in this dataset the age of the people was given, and the two > observers are asked to state a preferred method of treating the subjects > and I want to find out using non parametric methods if there is any > difference in age when the 2 observers choose the same method of > treatment. > That is if the method is 'A' for example, I am interested in any > difference > when they choose method A. Note that in some cases they both > agree on A and > in some cases they do not and so the groups cannot be mutually > exclusive. Is > there a way of handling this in STATA such that if observer 1 says yes 15 > times and no 12 times, while observer 2 says yes 18 times and no 9 times > then I can only compare when they said yes. However I want to treat the > responses as if there were no times when they said ties together > even though > they did. > This would, I guess, be easier to answer if you gave examples of the data structure you are using or intending to use. What are your variables? What defines your observations? However, observations can be identified as agreeing on two variables by something like ... if var1 == "yes" & var2 == "yes" or ... if var1 == 1 & var2 == 1 Nick n.j.cox@durham.ac.uk * * 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/ * * 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/

**Follow-Ups**:**st: RE: RE: RE: Data management/analysis***From:*"Nick Cox" <n.j.cox@durham.ac.uk>

- Prev by Date:
**Re: st: RE: Re: eqany** - Next by Date:
**st: RE: RE: RE: Data management/analysis** - Previous by thread:
**st: Heckman with design effects?** - Next by thread:
**st: RE: RE: RE: Data management/analysis** - Index(es):

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