A minor update that introduces a number of additional features.
- A new function
mediate_tsls()that conducts mediation analysis using an instrumental variable estimator - In
mediate(), theboot = TRUEoption now makes use of theboot()function in thebootpackage to implement nonparametric Bayesian bootstrap. Users may also pass arguments to theboot()function in thebootpackage e.g.parallelorncpus. - For
mediate(), add ause_speedoption to re-fitlmandglmmodels using functions from thespeedglmpackage when nonparametric bootstrap is used.
- Fixed a bug that may cause the package to fail to load when the
system.file()function frombaseis written over by other packages e.g.pkgload.