Skip to contents

Build a matched null

Generate synthetic twins that keep the margins and correlations of the data but contain no cluster structure by construction.

copula_null()
Draw one matched null ("null twin") of a dataset

Run the test

Compare what a clustering pipeline reports on the real data against what it reports on the matched nulls.

matched_null_test()
Test a cluster count against matched nulls