robustLossFixtau | R Documentation |
Calculate the robustified profile likelihood function
robustLossFixtau(
data = NULL,
b_exp = NULL,
b_out = NULL,
se_exp = NULL,
se_out = NULL,
cor.mat = NULL,
loss.function = c("tukey", "huber", "l2"),
k.findmodes = switch(loss.function[1], l2 = NA, huber = 1.345, tukey = 3)
)
data |
A data frame containing the information of the selected genetic instruments.
One can simply take the |
cor.mat |
Either NULL or a |
loss.function |
Loss function used, one of "tukey", "huber" or "l2". Default is "tukey", which is robust to outlier SNPs with large pleiotropic effects |
k.findmodes |
Tuning parameters of the loss function, for loss "l2", it is NA, for loss "huber", default is 1.345 and for loss "tukey", default is 3. |
The robustified profile likelihood function
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.