Package: medfit 0.16.0

medfit: Infrastructure for Mediation Model Fitting and Extraction

Provides S7-based infrastructure for fitting mediation models, extracting path coefficients, and performing bootstrap inference. Designed as a foundation package for the mediation analysis ecosystem, supporting 'probmed', 'RMediation', and 'medrobust' packages. Implements unified interfaces for model fitting across different engines (generalized linear models, linear mixed models for cluster-randomized designs, and a maximum-likelihood structural equation engine; Bayesian methods are planned), standardized extraction of mediation paths from various model types, and robust bootstrap inference methods. Mediation methods are described in MacKinnon, Lockwood and Williams (2004) <doi:10.1207/s15327906mbr3901_4>, Preacher and Hayes (2008) <doi:10.3758/brm.40.3.879>, Tofighi and MacKinnon (2011) <doi:10.3758/s13428-011-0076-x>, and VanderWeele (2014) <doi:10.1097/EDE.0000000000000121>.

Authors:Davood Tofighi [aut, cre, cph]

medfit_0.16.0.tar.gz
medfit_0.16.0.zip(r-4.7-any)medfit_0.16.0.zip(r-4.6-any)medfit_0.16.0.zip(r-4.5-any)
medfit_0.16.0.tgz(r-4.6-any)medfit_0.16.0.tgz(r-4.5-any)
medfit_0.16.0.tar.gz(r-4.7-any)medfit_0.16.0.tar.gz(r-4.6-any)
medfit_0.16.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
medfit/json (API)

# Install 'medfit' in R:
install.packages('medfit', repos = c('https://data-wise.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/data-wise/medfit/issues

Pkgdown/docs site:https://data-wise.github.io

Datasets:

On CRAN:

Conda:

5.78 score 2 stars 3 packages 61 scripts 216 downloads 23 exports 9 dependencies

Last updated from:c37c7ee8b1. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK874
source / vignettesOK181
linux-releaseOK750
macos-releaseOK520
macos-oldrelOK581
windows-develOK1172
windows-releaseOK626
windows-oldrelOK849
wasm-releaseOK113

Exports:bootstrap_mediationBootstrapResultClusterMediationDatacompare_lrdecomposeextract_mediationfit_mediationfit_semInteractionMediationDatajoint_effectsJointMediationDatambco_semmedMediationDatandenieParallelMediationDatapathspmquickSEMFitSerialMediationDatate

Dependencies:backportscheckmatecligenericslifecycleMASSnloptrrlangS7