Calculate the test statistics on the left-out samples. Called in anchored_lasso_testing().
evaluate_pca_lasso_plug_in(
cross_fitting_sample_1,
cross_fitting_sample_2,
nuisance_collection,
mean_method = "lasso"
)A list of test statistics.
Test statistics for sample 1.
Test statistics for sample 2.
Statistics for variance calculation, sample 1.
Statistics for variance calculation, 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().
Methods used to estimate the discriminant direction. Default is logistic Lasso "lasso". Can also take value "lasso_no_truncation"