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