# Reporting with multiple testing

**URL:** <https://discourse.datamethods.org/t/reporting-with-multiple-testing/4157>\
**Category:** causal inference\
**Tags:** prediction\
**Created:** [February 23, 2021, 9:01am UTC](https://discourse.datamethods.org/t/reporting-with-multiple-testing/4157 "2021-02-23T09:01:07Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![DieterMenne](https://discourse.datamethods.org/user_avatar/discourse.datamethods.org/dietermenne/32/2061_2.png) [@DieterMenne](https://discourse.datamethods.org/u/DieterMenne)\
**Post date:** [February 23, 2021, 9:01am UTC](https://discourse.datamethods.org/t/reporting-with-multiple-testing/4157/1 "2021-02-23T09:01:07Z")

</div>

I have seen the dozens of posting on the multiple-testing subject. I also have done quite a lot of Stan-based analysis and had to defend these against p-value greedy authors and reviewers. I am also co-signatory of the Nature paper on the subject.

But lets discuss a concrete example of a recent fallback into p-picking:

A medical researcher who always asks for “gold-standard” p-values as a reviewer got a new machine that extracted 43 (yikes!) parameters from each patient’s recording. Some are highly dependent (AUC and maximal value), some are reasonable normally distributed, most are highly skewed or hurdle. The parameters were the outcomes measured on one visit 3 years after two types of surgery. Let’s assume patients were randomized (they were not, but that’s another fight), and no preop-values are available (machine is new, you know 🙂 )

His question was: What metrics have changed most by surgery? There is no composite hypothesis, the individual metrics were the question (machine vendor wants a selling point, you know). So he asked for non-parametric tests between surgery types, and 4 metrics were “significant” (“please add 1-2-3 asterisks”). I got nervous.

When he decided to pick the 4 significant ones and publish these only, my blood pressure went ballistic, I revised the report and put a p.adjust Hommel on it as a penalty - I did not feel very comfortable, dependencies and so, but my blood pressure went down.

After the gun-smoke had dispersed, I suggested to remove Hommel and ask him to publish all parameters and Lehman-Hodges intervals, leaving the decision to the reader. I remember that 25 years ago Altman asked me to do this in a BMJ manuscript.

Any thoughts?

---

<div class="post-metadata">

**Author:** ![f2harrell](https://discourse.datamethods.org/user_avatar/discourse.datamethods.org/f2harrell/32/165_2.png) [@f2harrell](https://discourse.datamethods.org/u/f2harrell)\
**Post date:** [February 23, 2021, 12:40pm UTC](https://discourse.datamethods.org/t/reporting-with-multiple-testing/4157/2 "2021-02-23T12:40:39Z")

</div>

Dieter you are fighting the good fight. I think the “crime against data” goes beyond multiplicity adjustment here. I would address it in two ways. First, reverse the problem to get a perfect multiplicity adjustment by predicting surgery type using all of the machine outcomes simultaneously and getting a single likelihood ratio \chi^2 test. Second, use a method that provides a graphic that is exactly what the perpetrator should report: bootstrap confidence intervals of the importance rankings of all of the candidate features. Importance can be either a simple rank correlation measure, or the partial R^2 or partial \chi^2 contributed by each feature in a multivariable model. Examples, with R code, are given in my [RMS course notes](https://hbiostat.org/rms) and in the Challenges of High Dimensional Data chapter of [BBR](https://hbiostat.org/doc/bbr.pdf).

 ![image](https://discourse.datamethods.org/uploads/default/original/2X/0/02be6cd64c69d8f36f2d88cd5ad0db0bcbea3836.png)

This bootstrap procedure fully exposes (1) the difficulty of the task, and (2) the unreliability of picking “winners”.

---

<div class="post-metadata">

**Author:** ![DieterMenne](https://discourse.datamethods.org/user_avatar/discourse.datamethods.org/dietermenne/32/2061_2.png) [@DieterMenne](https://discourse.datamethods.org/u/DieterMenne)\
**Post date:** [February 23, 2021, 4:34pm UTC](https://discourse.datamethods.org/t/reporting-with-multiple-testing/4157/3 "2021-02-23T16:34:10Z")

</div>

Thank, Frank (looks like we are both in Unruhestand - your German wife will translate the pun).

I understand the second step, but the first is a bit unclear:

> [@f2harrell](#):
>
> First, reverse the problem to get a perfect multiplicity adjustment by predicting surgery type using all of the machine outcomes simultaneously and getting a single likelihood ratio χ2\chi^2 test.

Predicting surgery: The colleague will like it, because it is easy to understand. But most variables are extremely non-normal, so I believe regression would be invalid. Do ranking and quantile transform, then regression? Or do you have something different in mind?

---

<div class="post-metadata">

**Author:** ![f2harrell](https://discourse.datamethods.org/user_avatar/discourse.datamethods.org/f2harrell/32/165_2.png) [@f2harrell](https://discourse.datamethods.org/u/f2harrell)\
**Post date:** [February 23, 2021, 5:33pm UTC](https://discourse.datamethods.org/t/reporting-with-multiple-testing/4157/4 "2021-02-23T17:33:25Z")

</div>

Good question. Because of the number of parameters involved you may not be able to use spline functions to relax linearity assumptions, so the best compromise may be to transform each continuous variable to achieve approximate symmetry by choosing between no transformation, square root, cube root, or log.

---

<div class="post-metadata">

**Author:** ![DieterMenne](https://discourse.datamethods.org/user_avatar/discourse.datamethods.org/dietermenne/32/2061_2.png) [@DieterMenne](https://discourse.datamethods.org/u/DieterMenne)\
**Post date:** [February 24, 2021, 9:19am UTC](https://discourse.datamethods.org/t/reporting-with-multiple-testing/4157/5 "2021-02-24T09:19:26Z")

</div>

After trying you code, I am confused by your interpretation of the graph. From the way you constructed the data with runifs, I would guess that all variables are created equal and that this show up as an homogenously overlapping smear on the ranking plot. But there are clearly two blocks.

As a critics, I would argue: the method misleadingly creates preference groups from random data. It does not show the unreliability of picking winners, but fakes reliability.

Where am I wrong?

---

<div class="post-metadata">

**Author:** ![scboone](https://discourse.datamethods.org/letter_avatar_proxy/v4/letter/s/edb3f5/32.png) [@scboone](https://discourse.datamethods.org/u/scboone)\
**Post date:** [February 24, 2021, 9:51am UTC](https://discourse.datamethods.org/t/reporting-with-multiple-testing/4157/6 "2021-02-24T09:51:34Z")

</div>

I think the key lies in the last line from that code block. Although _ **x1** _-_ **x12** _ are generated equal, their association with _ **Y** _ is not as the simulated magnitude of the association between _ **xn** _ and _ **Y** _ increases from _ **x1** _ to _ **x12** _.

```
require(rms)
n <- 300 
set.seed (1)

d <- data.frame(x1=runif(n), x2=runif(n), x3=runif(n), x4=runif(n),x5=runif(n), x6=runif(n), x7=runif(n), x8=runif(n),x9=runif(n), x10=runif(n), x11=runif(n), x12=runif(n))

d$y <- with(d, 1*x1 + 2*x2 + 3*x3 + 4*x4 + 5*x5 + 6*x6 + 7*x7 +8*x8 + 9*x9 + 10*x10 + 11*x11 + 12*x12 + 9*rnorm(n))

```

Fitting a model to these data, I think you would expect the higher _ **xn** _ variables to rank higher as they explain more of the variance in the outcome.

Maybe you would be interested in the example in [this](https://discourse.datamethods.org/t/statistically-efficient-ways-to-quantify-added-predictive-value-of-new-measurements/2013/25) topic where we discussed the same method in the context of evaluating the added value/selection of predictors. I tried it on my own (real) dataset there.

---

<div class="post-metadata">

**Author:** ![DieterMenne](https://discourse.datamethods.org/user_avatar/discourse.datamethods.org/dietermenne/32/2061_2.png) [@DieterMenne](https://discourse.datamethods.org/u/DieterMenne)\
**Post date:** [February 24, 2021, 10:21am UTC](https://discourse.datamethods.org/t/reporting-with-multiple-testing/4157/7 "2021-02-24T10:21:29Z")

</div>

Thanks, you are right, I had misread the generation of the data.
