fg.inference.binary.RdThis function produces floodgate LCBs with given fitted mu (under binary responses).
fg.inference.binary( S, mu_X, mu_Xk, Y, M_n = NULL, one.sided = TRUE, alevel = 0.05, test = "z", verbose = TRUE )
| S | a list of selected variables. | 
|---|---|
| mu_X | a list of kength |S|, whose element is the matrix of mu(X) with dimension n2-by-1. | 
| mu_Xk | a list of kength |S|, whose element is the matrix of mu(Xk) with dimension n2-by-K or n2-by-1. | 
| Y | a n2 by 1 matrix, containing the response variables of the inferene samples. | 
| M_n | the number of Monte Carlo samples for E(mu(X)|X-j). | 
| one.sided | whether to obtain LCB or p-values via the one-sided way (default: TRUE). | 
| alevel | confidence level (defaul: 0.05). | 
| test | type of the hypothesis test (defaul: "z"). | 
| verbose | whether to show intermediate progress (default: FALSE). | 
A list of three objects. inf.out: a matrix of |S|-by-4, containing the p-values, LCI, UCI and the floodgate LCB for variable in S; S: a list of selected variables.
Zhang L, Janson L (2020). “Floodgate: Inference for Model-Free Variable Importance.” arXiv preprint arXiv:2007.01283.
Other methods: 
calculate.V_mean(),
calulate.mu_Xk(),
fg.inference(),
fit.mu(),
floodgate.binary(),
floodgate(),
inference_general()