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 = TRUE
option now makes use of theboot()
function in theboot
package to implement nonparametric Bayesian bootstrap. Users may also pass arguments to theboot()
function in theboot
package e.g.parallel
orncpus
. - For
mediate()
, add ause_speed
option to re-fitlm
andglm
models using functions from thespeedglm
package when nonparametric bootstrap is used.
- Fixed a bug that may cause the package to fail to load when the
system.file()
function frombase
is written over by other packages e.g.pkgload
.