SearchingSampling.sumstats | R Documentation |
Get a possible confidence interval using searching method
SearchingSampling.sumstats( ITT_D, ITT_Y, SE_D, SE_Y, n1, n2, CI.init = NULL, a = 0.6, Sampling = TRUE, rho = NULL, M = 1000, prop = 0.1 )
ITT_D |
a numeric vector of GWAS summary statistics of the treatment |
ITT_Y |
a numeric vector of GWAS summary statistics of the outcome |
SE_D |
a numeric vector of standard errors of ITT_D |
SE_Y |
a numeric vector of standard errors of ITT_Y |
n1 |
the sample size of GWAS summary statistics of the treatment |
n2 |
the sample size of GWAS summary statistics of the outcome |
CI.init |
initial interval for beta. If |
a |
grid size for constructing beta grids (default=0.6) |
Sampling |
if |
rho |
a numeric scalar denoting thresholding level used in the sampling property |
M |
sampling times. (default=1000) |
prop |
proportion of intervals kept when sampling. (default=0.1) |
|
a numeric matrix denoting the confidence intervals for betaHat constructed by valid candidates for betaHat. |
|
a boolean scalar denoting whether the identification condition is satisfied or not. |
|
valid instruments |
|
initial confidence interval for searching and sampling |
|
standard MR-TSHT output |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.