Type: Package Package: bayesmsm Title: Fitting Bayesian Marginal Structural Models for Longitudinal Observational Data Version: 1.0.0 Authors@R: c( person("Kuan", "Liu", , "kuan.liu@utoronto.ca", role = c("aut", "cre","cph"), comment = c(ORCID = "0000-0002-5017-1276")), person("Xiao", "Yan", , "Clarence.YXA@gmail.com", role = "aut", comment = c(ORCID = "0000-0001-9712-1199")), person("Martin", "Urner", , "martin.urner@uhn.ca", role = "aut", comment = c(ORCID = "0000-0003-1133-4885")) ) Maintainer: Kuan Liu Description: Implements Bayesian marginal structural models for causal effect estimation with time-varying treatment and confounding. It includes an extension to handle informative right censoring. The Bayesian importance sampling weights are estimated using JAGS. See Saarela (2015) for methodological details. License: MIT + file LICENSE URL: https://github.com/Kuan-Liu-Lab/bayesmsm BugReports: https://github.com/Kuan-Liu-Lab/bayesmsm/issues Depends: R (>= 4.2.0) Imports: coda (>= 0.19-4), doParallel, foreach, ggplot2, graphics, grDevices, MCMCpack, parallel, R2jags, stats Suggests: devtools, knitr, rmarkdown, testthat (>= 3.0.0) VignetteBuilder: knitr Config/testthat/edition: 3 Encoding: UTF-8 NeedsCompilation: no RoxygenNote: 7.3.2 Config/pak/sysreqs: jags libicu-dev Repository: https://kuan-liu-lab.r-universe.dev Date/Publication: 2025-06-19 21:27:56 UTC RemoteUrl: https://github.com/kuan-liu-lab/bayesmsm RemoteRef: HEAD RemoteSha: 69f5b11a8a0d74c58fae59eb318db2d329de53da Packaged: 2026-06-14 09:29:25 UTC; root Author: Kuan Liu [aut, cre, cph] (ORCID: ), Xiao Yan [aut] (ORCID: ), Martin Urner [aut] (ORCID: )