get.tuning.param | R Documentation |
An internal function for tuning the parameters. In one inner fold only, compute p-value for the test of treatment effect comparison in the selected sensitive group, for each combination of (eta, R, G). Output the (eta, R, G) combination that corresponds to the smallest p-value.
get.tuning.param(patients.train, covar.train, y.train, eta, R, G, seed)
patients |
- a data frame of patients inormation covar - a data frame of covariates y - a vector of responses eta - significance level for covariate-wise logistic regression for "cvasd" method (double of vector of doubles) R - a threshold of the odds ratio for "cvasd" method (double of vector of doubles) G - a threshold for the number of covar for "cvasd" method (integer of vector of integers) seed - a seed for random number generator |
A data frame with the optimal eta, R, and G
Svetlana Cherlin, James Wason
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.