Y-Randomization Test
The Y-randomization test refits a model many times with the response randomly shuffled and checks that the real model's R² and Q² clearly exceed those of the scrambled models, ruling out chance correlation.
Y-무작위화 검정은 반응값을 무작위로 섞어 모델을 여러 번 다시 적합하고, 실제 모델의 R² 와 Q² 가 섞은 모델보다 뚜렷이 큰지 확인해 우연한 상관을 배제하는 방법입니다.
A reviewer suspects my QSAR model with many descriptors fits by chance; how do I show it does not?
기술자가 많은 QSAR 모델이 우연히 맞은 것 아니냐고 심사자가 의심합니다. 그렇지 않다는 것을 어떻게 보여주나요?
Shuffle the activity values many times, refit the same model on each shuffled set and compare the scrambled R² and Q² with the real ones; a sound model has much higher real values, a small permutation p-value and cR²p above 0.5. If descriptors were selected using the activity, the selection itself should be repeated on each shuffled set for a fair test.
When to use Y-Randomization Test
- QSAR or other regression models built from many candidate descriptors relative to the number of compounds.
- Reviewers or OECD-style validation require evidence against chance correlation.
- An MLR, PLS or random-forest model has already been specified.
When to use something else
- The question is external predictivity on new compounds; use QSAR validation metrics on a test set.
- A simple significance test of one regression slope is enough; use a permutation test for correlation and regression.
Assumptions and requirements
- Compounds are exchangeable under the null hypothesis of no structure-activity relation.
- The same modelling pipeline is applied to real and scrambled responses.
- MLR needs more compounds than descriptors and no exact collinearity.
What the analysis reports
- Real and scrambled R² and Q² (LOO for MLR in closed form, k-fold for PLS, out-of-bag for random forest; the random forest uses at most 30 permutations and 2,000 compounds)
- Permutation p-values for R² and Q² and cR²p
- Intercepts of R² and Q² regressed on |corr(y, y scrambled)|
- Y-scrambling scatter plot
How to report it
Y-randomisation of the [value] model ([value] permutations) gave mean scrambled R² = [value] and Q² = [value] against real R² = [value] and Q² = [value] (cR²p = [value], p = [value]).
Related methods
- QSAR Model Validation (OECD Principle 4 Metrics)
- Genetic Algorithm Descriptor Selection for MLR
- Permutation Test for Correlation and Regression
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with scikit-learn.
독립 계산. scikit-learn 대조 참조 시험 1건 통과.
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Y-Randomization Test on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable and predictor (feature) columns
- Price
- 250 credits for one analysis up to 10,000 rows (complexity level 2); larger or wider data costs more. Optional methodologist review: 1200 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.