[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: RE: bootstrap with a user-contributed command

From   "Alessandro A. Leidi" <>
To   <>
Subject   st: RE: bootstrap with a user-contributed command
Date   Mon, 11 May 2009 18:12:33 +0100

I had already tried bootstrapping -diagt- directly without a user-written program, see below.
-bootstrap- squawks like it does when used with -rclass- functions but it does not deliver for -diagt-.

Of course it may be my mistake, but where am I going wrong?

Thank you for your consideration.
Sandro Leidi

. quietly diagti 80 17 11 44

. desc

Contains data
  obs:           152                          
 vars:             2                          
 size:           912 (99.9% of memory free)
---------------------------------------------------------------------------------------------------------------              storage  display     value
variable name   type   format      label      variable label
---------------------------------------------------------------------------------------------------------------true            byte   %8.0g       true       True disease status
test            byte   %8.0g       test       Test result
---------------------------------------------------------------------------------------------------------------Sorted by:  
     Note:  dataset has changed since last saved

. bootstrap sens=r(sens) spec=r(spec): diagt true test
(running diagt on estimation sample)

Warning:  Since diagt is not an estimation command or does not set e(sample), bootstrap has no way to determine which observations are used in calculating the statistics and so assumes that all observations are used.  This means no observations will be excluded from the resampling because of missing values or other reasons.
If the assumption is not true, press Break, save the data, and drop the observations that are to be excluded.
Be sure that the dataset in memory contains only the relevant data.

Bootstrap replications (50)
----+--- 1 ---+--- 2 ---+--- 3 ---+--- 4 ---+--- 5 
post __000002 not found
post __000002 not found


st: RE: bootstrap with a user-contributed command


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