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
[email protected]
. 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
r(111);
.
st: RE: bootstrap with a user-contributed command
--------------------------------------------------------------------------------