TSHT.sumstats | R Documentation |
Conduct two-stage hard thresholding using summary statistics
TSHT.sumstats( ITT_D, ITT_Y, SE_D, SE_Y, n1, n2, tuning = 2.01, max_clique = TRUE, alpha = 0.05 )
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 |
tuning |
a numeric scalar value tuning parameter for TSHT, with default 1 |
max_clique |
an option to replace the majority and plurality voting procedures with finding maximal clique in the IV voting matrix, with default FALSE |
alpha |
a numeric scalar value between 0 and 1 indicating the significance level for the confidence interval, with default 0.05 |
|
a numeric vector denoting the set of valid and relevant IVs |
|
a numeric scalar denoting the estimate of treatment effect. |
|
a numeric scalar denoting the estimated standard error of betaHat. |
|
a two dimensional numeric vector denoting the 1-alpha confidence intervals for betaHat with lower and upper endpoints. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.