This helper function makes a few simple checks to identify obvious issues with the way that nuisance functions are created and prepared.

check_nuisance_models(data)

Arguments

data

Dataframe which should have appropriate columns of nuisance function predictions: .pi_hat, .mu0_hat, and .mu1_hat

Value

Returns NULL. Errors if a problem is discovered.