Calculate the test statistics on the left-out samples. Called in simple_pc_testing().
evaluate_pca_plug_in(
cross_fitting_sample_1,
cross_fitting_sample_2 = NULL,
nuisance_collection
)A list of test statistics.
Statistics for sample 1.
Statistics for sample 2.
Group 1 sample. Each row is a subject and each column corresponds to a feature.
Group 2 sample. Each row is a subject and each column corresponds to a feature.
A collection of nuisance quantities estimated using "nuisance" samples. It is the output of estimate_nuisance_pc().