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

RE: st: Number Needed to be Treated (NNT)

From   "Newson, Roger B" <>
To   <>
Subject   RE: st: Number Needed to be Treated (NNT)
Date   Thu, 2 Aug 2007 21:59:36 +0100

Thanks to Anders for telling us all about this paper, which is in a
special issue of Statistics in Medicine with special papers on the
Mann-Witney test.

A possible way to get a confidence interval for the NNT, based on this
method, might involve using -somersd- together with -parmest- to produce
an output dataset (or resultsset) of confidence intervals for Somers' D,
and then carrying out an end-point transformation on the confidence
interval for Somers' D to derive a confidence interval for the NNT.

Best wishes


Roger Newson
Lecturer in Medical Statistics
Respiratory Epidemiology and Public Health Group
National Heart and Lung Institute
Imperial College London
Royal Brompton campus
Room 33, Emmanuel Kaye Building
1B Manresa Road
London SW3 6LR
Tel: +44 (0)20 7352 8121 ext 3381
Fax: +44 (0)20 7351 8322
Web page:
Departmental Web page:

Opinions expressed are those of the author, not of the institution.

-----Original Message-----
[] On Behalf Of Anders
Sent: 02 August 2007 21:20
Subject: Re: st: Number Needed to be Treated (NNT)

Svend Juul and then Nick Cox wrote a small program to calculate number
needed to be treated (NNT) based on -cs- and this was one example
>     NNT = 15.230769  (95% CI: 5.0701399; -15.169883)

NNT is also related to the probability that variable for first group
is larger than for second group, P(X>Y). For a reference, see Acion,
L. et al. 2006. "Probabilistic index: an intuitive non-parametric
approach to measuring the size of treatment effects". Statistics in
Medicine 25(4): 591-602. There was a follow-up with reply later on
pages 3944-3948.
It seems to me that NNT = -(1/(2P(X>Y)-1)).

Therefore, you can also calculate NNT quickly using either -ranksum-
with the porder option or Roger Newson's command -somersd- with the
tr(c) option:
. ranksum low, by(x) porder-
[output ommitted]
. di -(1/((2*0.467)-1))

or, more precise and automated:
. somersd  x low, tr(c)
. di -(1/((2*(1-_b[low]))-1))

This does not give a 95% confidence interval (yet) but is another way
of calculating NNT.

Anders Alexandersson
*   For searches and help try:

*   For searches and help try:

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