Description Usage Arguments Value References See Also
This function produces floodgate LCBs with given fitted mu (under binary responses).
1 2 3 4 5 6 7 8 9 10 11 | 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.
LZ-LJ:2020floodgate
Other methods:
calculate.V_mean()
,
calulate.mu_Xk()
,
fg.inference()
,
fit.mu()
,
floodgate.binary()
,
floodgate()
,
inference_general()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.