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

st: Problem with diagt command and 'if' subsetting


From   [email protected]
To   [email protected]
Subject   st: Problem with diagt command and 'if' subsetting
Date   Wed, 28 May 2003 13:26:54 -0500

> I tried to calculate sensitivity and specificity, using the diagt command,
> on a subset of records by using the 'if' subsetting. It used all of the
> records, ignoring the 'if' subsetting aspect of the command. I also tried
> using this with an expression which was always false, and it still used
> all records.
>
> The help file for this command states that you can use the 'if'
> subsetting.
>
> Am I going about this incorrectly, or is this an error in the programming?
>
> Thanks,
> Shawn
*
*   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