An R package for computing test statistics and confidence intervals for a variance component or proportion in a linear mixed model using the method described in Fast and reliable confidence intervals for a variance component or proportion.
This package will be updated sporadically. Please contact yiqiaozhang@ufl.edu with any questions or comments.
lmmvar can be loaded directly into R through the devtools
package:
# install.packages("devtools")
# library(devtools)
# devtools::install_github("yqzhang5972/lmmvar")
Please cite the most recent version of the article mentioned above. As of April 2024, this was the following (in bibtex):
@misc{zhang2024fast,
title={Fast and reliable confidence intervals for a variance component or proportion},
author={Yiqiao Zhang and Karl Oskar Ekvall and Aaron J. Molstad},
year={2024},
eprint={2404.15060},
archivePrefix={arXiv},
primaryClass={stat.ME}
}
Please visit this example page for details on implementation and usage.
Code to reproduce simulation results from the article can be found at this repository.