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

st: RE: Problem with diagt command and 'if' subsetting


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: Problem with diagt command and 'if' subsetting
Date   Wed, 28 May 2003 19:59:28 +0100

[email protected]
> 
> > 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?

A very quick look at the code leads me to guess: 

1. this was a bug in the version published in STB-59. 

2. it is fixed in the version on SSC. 

Therefore make sure that you download the version 
on SSC. 

Nick 
[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