{
  "_id": "6a142821acfb0bcc41d40088",
  "Package": "maczic",
  "Version": "1.1.0",
  "Date": "2025-8-19",
  "Title": "Mediation Analysis for Count and Zero-Inflated Count Data",
  "Author": "Nancy Cheng [aut, cre], Zijian Guo [aut], Jing Cheng [aut]",
  "Authors@R": "c(person(given = \"Nancy\",\nfamily = \"Cheng\",\nrole = c(\"aut\", \"cre\"),\nemail = \"Nancy.Cheng@ucsf.edu\"),\nperson(given = \"Zijian\",\nfamily = \"Guo\",\nrole = \"aut\",\nemail = \"zijguo@stat.rutgers.edu\"),\nperson(given = \"Jing\",\nfamily = \"Cheng\",\nrole = \"aut\",\nemail = \"Jing.Cheng@ucsf.edu\"))",
  "Maintainer": "Nancy Cheng <Nancy.Cheng@ucsf.edu>",
  "RdMacros": "mathjaxr",
  "Description": "Performs causal mediation analysis for count and\nzero-inflated count data without or with a post-treatment\nconfounder; calculates power to detect prespecified causal\nmediation effects, direct effects, and total effects; performs\nsensitivity analysis when there is a treatment- induced\nmediator-outcome confounder as described by Cheng, J., Cheng,\nN.F., Guo, Z., Gregorich, S., Ismail, A.I., Gansky, S.A. (2018)\n<doi:10.1177/0962280216686131>. Implements Instrumental\nVariable (IV) method to estimate the controlled (natural)\ndirect and mediation effects, and compute the bootstrap\nConfidence Intervals as described by Guo, Z., Small, D.S.,\nGansky, S.A., Cheng, J. (2018) <doi:10.1111/rssc.12233>. This\nsoftware was made possible by Grant R03DE028410 from the\nNational Institute of Dental and Craniofacial Research, a\ncomponent of the National Institutes of Health.",
  "License": "GPL (>= 2)",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.2",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-25 10:41:04 UTC",
    "User": "root"
  },
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev",
  "Repository": "https://nancyfcheng.r-universe.dev",
  "Date/Publication": "2025-08-19 20:00:02 UTC",
  "RemoteUrl": "https://github.com/cran/maczic",
  "RemoteRef": "HEAD",
  "RemoteSha": "748ba6ed635243a52d9640a4d9474ae2553aee16",
  "MD5sum": "d00acdb534bd71b786804ba5d1860410",
  "_user": "nancyfcheng",
  "_type": "src",
  "_file": "maczic_1.1.0.tar.gz",
  "_fileid": "c26962a85a789aa00943a8b2c97db3a11451c1a2044e4a81cb19705926dec8ef",
  "_filesize": 526627,
  "_sha256": "c26962a85a789aa00943a8b2c97db3a11451c1a2044e4a81cb19705926dec8ef",
  "_created": "2026-05-25T10:41:04.000Z",
  "_published": "2026-05-25T10:44:49.885Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77697863386,
      "time": 182,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7196644951"
    },
    {
      "job": 77697863404,
      "time": 178,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7196644002"
    },
    {
      "job": 77697863374,
      "time": 102,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7196624388"
    },
    {
      "job": 77697863388,
      "time": 107,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7196625749"
    },
    {
      "job": 77697356871,
      "time": 239,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7196598350"
    },
    {
      "job": 77697863378,
      "time": 124,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7196629917"
    },
    {
      "job": 77697863390,
      "time": 131,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7196631895"
    },
    {
      "job": 77697863387,
      "time": 148,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7196636256"
    },
    {
      "job": 77697863396,
      "time": 177,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7196643538"
    }
  ],
  "_buildurl": "https://github.com/r-universe/nancyfcheng/actions/runs/26396194891",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/maczic",
  "_commit": {
    "id": "748ba6ed635243a52d9640a4d9474ae2553aee16",
    "author": "Nancy Cheng <Nancy.Cheng@ucsf.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.1.0\n",
    "time": 1755633602
  },
  "_maintainer": {
    "name": "Nancy Cheng",
    "email": "nancy.cheng@ucsf.edu",
    "login": "nancyfcheng",
    "description": "",
    "uuid": 161794785
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0",
      "role": "Depends"
    },
    {
      "package": "MASS",
      "role": "Depends"
    },
    {
      "package": "pscl",
      "role": "Depends"
    },
    {
      "package": "graphics",
      "role": "Depends"
    },
    {
      "package": "sandwich",
      "role": "Imports"
    },
    {
      "package": "survival",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "mediation",
      "role": "Imports"
    },
    {
      "package": "emplik",
      "role": "Imports"
    },
    {
      "package": "BB",
      "role": "Imports"
    },
    {
      "package": "mathjaxr",
      "role": "Imports"
    },
    {
      "package": "SuppDists",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-34",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.1.0",
      "date": "2025-08-19"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "nancyfcheng",
      "count": 4,
      "uuid": 161794785
    }
  ],
  "_userbio": {
    "uuid": 161794785,
    "type": "user",
    "name": "nancyfcheng"
  },
  "_downloads": {
    "count": 172,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/maczic"
  },
  "_searchresults": 1,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/maczic.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "manual.pdf"
  ],
  "_realowner": "nancyfcheng",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2020-11-09"
    },
    {
      "version": "0.2.0",
      "date": "2021-04-23"
    },
    {
      "version": "1.0.0",
      "date": "2023-09-11"
    },
    {
      "version": "1.1.0",
      "date": "2025-08-19"
    }
  ],
  "_exports": [
    "maczic_power",
    "mediate_iv",
    "mediate_zi",
    "mediate_zi_vcoef",
    "plot_sensitivity"
  ],
  "_datasets": [
    {
      "name": "midvd_bt100",
      "title": "Example Data for mediate_zi_vcoef, plot_sensitivity and mediate_iv Functions",
      "object": "midvd_bt100",
      "class": [
        "data.frame"
      ],
      "fields": [
        "BrushTimes_W2",
        "HealthyMeals_W2",
        "PBrush_W2",
        "PDVisit_W2",
        "PDVisit_6",
        "PBrushBedt_6",
        "PBrush_6",
        "intervention",
        "Untreated_W3"
      ],
      "rows": 100,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "maczic",
      "title": "maczic: Mediation Analysis for Count and Zero-inflated Count Data.",
      "topics": [
        "maczic-package",
        "maczic"
      ]
    },
    {
      "page": "maczic_power",
      "title": "Power Calculation for Mediation Analysis with Count and Zero-Inflated Count Data",
      "topics": [
        "maczic_power"
      ]
    },
    {
      "page": "mediate_iv",
      "title": "Mediation Analysis for Count and Zero-Inflated Count Data Using Instrumental Variable Method",
      "topics": [
        "mediate_iv"
      ]
    },
    {
      "page": "mediate_zi",
      "title": "Mediation Analysis for Count and Zero-Inflated Count Data",
      "topics": [
        "mediate_zi"
      ]
    },
    {
      "page": "mediate_zi_vcoef",
      "title": "Mediation Sensitivity Analysis for Count and Zero-Inflated Count Data with a Post-Treatment Confounder",
      "topics": [
        "mediate_zi_vcoef"
      ]
    },
    {
      "page": "midvd_bt100",
      "title": "Example Data for mediate_zi_vcoef, plot_sensitivity and mediate_iv Functions",
      "topics": [
        "midvd_bt100"
      ]
    },
    {
      "page": "plot_sensitivity",
      "title": "Plot Sensitivity Graph",
      "topics": [
        "plot_sensitivity"
      ]
    }
  ],
  "_rundeps": [
    "backports",
    "base64enc",
    "BB",
    "boot",
    "bslib",
    "cachem",
    "checkmate",
    "cli",
    "cluster",
    "colorspace",
    "cpp11",
    "data.table",
    "digest",
    "emplik",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "foreign",
    "Formula",
    "fs",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "highr",
    "Hmisc",
    "htmlTable",
    "htmltools",
    "htmlwidgets",
    "isoband",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "lattice",
    "lifecycle",
    "lme4",
    "lpSolve",
    "magrittr",
    "MASS",
    "mathjaxr",
    "Matrix",
    "MatrixModels",
    "mediation",
    "memoise",
    "mime",
    "minqa",
    "mvtnorm",
    "nlme",
    "nloptr",
    "nnet",
    "pscl",
    "quadprog",
    "quantreg",
    "R6",
    "rappdirs",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "rlang",
    "rmarkdown",
    "rpart",
    "rstudioapi",
    "S7",
    "sandwich",
    "sass",
    "scales",
    "SparseM",
    "stringi",
    "stringr",
    "survival",
    "tinytex",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "yaml",
    "zoo"
  ],
  "_score": 1,
  "_indexed": true,
  "_nocasepkg": "maczic",
  "_universes": [
    "nancyfcheng"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-05-25T10:43:31.000Z",
      "distro": "noble",
      "commit": "748ba6ed635243a52d9640a4d9474ae2553aee16",
      "fileid": "8c7ffce87b3f957796d86d4609da95258f53d0cb435fa1d9670ea04ff7678e5f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nancyfcheng/actions/runs/26396194891"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.0",
      "date": "2026-05-25T10:43:29.000Z",
      "distro": "noble",
      "commit": "748ba6ed635243a52d9640a4d9474ae2553aee16",
      "fileid": "24663d9bdedd3bc01c14b6969de08565894df96c13afb271c22d8f077f0d47b7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nancyfcheng/actions/runs/26396194891"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-05-25T10:42:38.000Z",
      "commit": "748ba6ed635243a52d9640a4d9474ae2553aee16",
      "fileid": "604979be49d2bb52933b28658a0b7bdc560f7d5e8dee7be5f0713de7cd5338ae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nancyfcheng/actions/runs/26396194891"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.0",
      "date": "2026-05-25T10:42:41.000Z",
      "commit": "748ba6ed635243a52d9640a4d9474ae2553aee16",
      "fileid": "3803e5592edbd13d224c9117f3412b083ff35c1bc71b28116bccba328455551b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nancyfcheng/actions/runs/26396194891"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.0",
      "date": "2026-05-25T10:43:34.000Z",
      "commit": "748ba6ed635243a52d9640a4d9474ae2553aee16",
      "fileid": "a32c88083e84bb95d0dab31e1c32c826e07bc7b0c9e93f40f08a2a12a7295e63",
      "status": "success",
      "buildurl": "https://github.com/r-universe/nancyfcheng/actions/runs/26396194891"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-05-25T10:42:31.000Z",
      "commit": "748ba6ed635243a52d9640a4d9474ae2553aee16",
      "fileid": "68cf77d8fa092d8984cc30fdb19bf6543f510bc5977671bfeecf158f74eca5ba",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nancyfcheng/actions/runs/26396194891"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-05-25T10:42:43.000Z",
      "commit": "748ba6ed635243a52d9640a4d9474ae2553aee16",
      "fileid": "ad4d9d59e140db9b28b126e0e56b789ca95e86ed60e9b34801683e0f432923a2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nancyfcheng/actions/runs/26396194891"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.1.0",
      "date": "2026-05-25T10:43:13.000Z",
      "commit": "748ba6ed635243a52d9640a4d9474ae2553aee16",
      "fileid": "5d18ca2b69f3490f2cf82b42281fd691a0d31819e11dffd4554e0f3d6d47a8e8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nancyfcheng/actions/runs/26396194891"
    }
  ]
}