Given a set of RLRT results and a threshold, this function outputs an estimate of the FDR (in the empirical Bayes sense of Efron, 2010) when the given threshold is used to determine which null hypotheses to reject.

1 | ```
Fdr.rlrt(rlrt.obj, threshold)
``` |

`rlrt.obj` |
an RLRT object obtained from |

`threshold` |
threshold at which the null hypothesis is rejected. |

A list with elements

`MoM` |
FDR based on method of moments estimator of RLRT parameters (Greven et al., 2008). |

`ML` |
FDR based on maximum likelihood estimation of RLRT parameters, as described in Greven et al. (2008). |

Philip Reiss phil.reiss@nyumc.org

Efron, B. (2010). *Large-Scale Inference: Empirical Bayes
Methods for Estimation, Testing, and Prediction*. New York: Cambridge
University Press.

Greven, S., Crainiceanu, C. M., Kuechenhoff, H., and Peters, A. (2008).
Restricted likelihood ratio testing for zero variance components in linear
mixed models. *Journal of Computational and Graphical Statistics*,
17(4), 870–891.

1 | ```
# See example for rlrt.mp
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.