OneSampleMR
One Sample Mendelian Randomization and Instrumental Variable Analyses
OneSampleMR found that argument order in a formula was silently changing its estimates
◆Recent moves
- 1mo ago
OneSampleMR fixes estimates broken by covariate order in the formula
A defect that produced wrong numbers with no error: when exogenous covariates were listed before the exposures or instruments in a model formula, tsps() and tsri() returned incorrect estimates and fsw() reported conditional F statistics for the wrong variables. The release also adds guardrails — a clear error for multiple exposures or a variable named y, and print methods that survive a user-specified t0 with log or logit links.
View source ↗ - 5mo ago
OneSampleMR computes conditional F for three more IV packages
fsw() extends beyond ivreg::ivreg() to models fitted by AER::ivreg(), estimatr::iv_robust() and fixest::feols(), contributed from outside. This is the package positioning as the instrument-strength utility for R's IV ecosystem rather than only for its own fits.
View source ↗ - 1y ago
OneSampleMR 0.1.6
fsw() fixed for factor exogenous covariates and made to error outright when an exposure is a factor. An early instance of the same pattern the 2026 releases repeat — user-reported cases where the function accepted input it could not handle correctly.
View source ↗ - 2y ago
OneSampleMR 0.1.5
Dots checking moved from the ellipsis package to rlang. Internal only.
View source ↗ - 2y ago
OneSampleMR 0.1.4
Packaging work: a CITATION file, a README note on the GNU Fortran requirement for older gmm on macOS, and R version floors ratcheted twice through the ivreg dependency chain.
View source ↗ - 3y ago
OneSampleMR 0.1.3
A roxygen2 bump and fewer imported functions. Representative of the package's early maintenance-only years.
View source ↗