Description Usage Arguments Value References See Also
This function produces floodgate LCBs for given fitted mu.
1 2 3 4 5 6 7 8 9 10 11 12 | fg.inference(
S,
mu_X,
mu_Xk,
Y,
V_mean = NULL,
useMC = TRUE,
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. |
V_mean |
A vector of length |S|, whose element is the expected conditional variance term Var(Xj |X-j). |
useMC |
whether to use Monte Carlo estimators of the conditional quantities (default: TRUE).= |
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.binary()
,
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.