*! version 1.0.0 26mar2026 Ben A. Dwamena (University of Michigan)

Title

midas_assess -- Pre-model diagnostic battery for DTA meta-analysis

Syntax

midas assess tp fp fn tn [if] [in]
[, id(varname) cc(#) cutoff(#) bacontest savegraph(string)]

Description

midas assess runs a structured pre-model diagnostic battery before bivariate
pooling. It integrates three diagnostic tools:

1. Bivariate boxplot + robust ellipticity diagnostic (midas_bivbox, robnormtest)

2. Kendall tau threshold-effect test (midas_kendall)

3. BACON multivariate outlier detection (optional; requires ssc install bacon)

Results are synthesised into an overall GREEN / YELLOW / RED traffic-light
with an actionable recommendation for bivariate pooling.

Options

id(varname) study identifier for outlier labelling.

cc(#) continuity correction; default 0.5.

cutoff(#) outer ellipse cutoff; default 7.

bacontest include BACON outlier screen (requires bacon).

Stored results

Scalars: r(robnorm_rqq), r(robnorm_maxdev), r(n_out),
r(corr), r(kendall_tau), r(kendall_p),
r(bacon_n), r(bacon_prop)

Locals: r(overall_color), r(overall_text)

Example

. midas assess tp fp fn tn

. midas assess tp fp fn tn, id(study) bacontest

Author

Ben Adarkwa Dwamena, MD
University of Michigan
bdwamena@umich.edu