{
  "_id": "6a1174d8acfb0bcc41cf8973",
  "Package": "PSweight",
  "Type": "Package",
  "Title": "Propensity Score Weighting for Causal Inference with\nObservational Studies and Randomized Trials",
  "Version": "1.2.0",
  "Date": "2024-03-27",
  "Authors@R": "c(person(\"Tianhui\",\"Zhou\", role = \"aut\",\nemail = \"thuizhou@outlook.com\"),\nperson(\"Guangyu\", \"Tong\", role = \"aut\",\nemail = \"guangyu.tong@yale.edu\"),\nperson(\"Fan\", \"Li\", role = \"aut\",\nemail=\"fl35@duke.edu\"),\nperson(\"Laine\", \"Thomas\", role = \"aut\",\nemail=\"laine.thomas@duke.edu\"),\nperson(\"Fan\", \"Li\", role = \"aut\",\nemail = \"fan.f.li@yale.edu\"),\nperson(\"Yukang\", \"Zeng\", role = \"cre\",\nemail = \"yukang.zeng@yale.edu\"))",
  "Description": "Supports propensity score weighting analysis of\nobservational studies and randomized trials. Enables the\nestimation and inference of average causal effects with binary\nand multiple treatments using overlap weights (ATO), inverse\nprobability of treatment weights (ATE), average treatment\neffect among the treated weights (ATT), matching weights (ATM)\nand entropy weights (ATEN), with and without propensity score\ntrimming. These weights are members of the family of balancing\nweights introduced in Li, Morgan and Zaslavsky (2018)\n<doi:10.1080/01621459.2016.1260466> and Li and Li (2019)\n<doi:10.1214/19-AOAS1282>.",
  "License": "GPL (>= 2)",
  "URL": "https://github.com/thuizhou/PSweight",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.1.1",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-23 09:31:44 UTC",
    "User": "root"
  },
  "Author": "Tianhui Zhou [aut], Guangyu Tong [aut], Fan Li [aut], Laine\nThomas [aut], Fan Li [aut], Yukang Zeng [cre]",
  "Maintainer": "Yukang Zeng <yukang.zeng@yale.edu>",
  "Config/pak/sysreqs": "cmake make",
  "Repository": "https://thuizhou.r-universe.dev",
  "Date/Publication": "2024-03-30 19:45:00 UTC",
  "RemoteUrl": "https://github.com/thuizhou/psweight",
  "RemoteRef": "HEAD",
  "RemoteSha": "671f2a03b132ff9fd222de2a45c17a2a647e6505",
  "MD5sum": "d470f028c2f60e6393240f3ca6f2ad33",
  "_user": "thuizhou",
  "_type": "src",
  "_file": "PSweight_1.2.0.tar.gz",
  "_fileid": "5b0cfe19ee76961a871786ff2198b7f9600a2bc1aa79125e0d588ba1fe44575c",
  "_filesize": 783919,
  "_sha256": "5b0cfe19ee76961a871786ff2198b7f9600a2bc1aa79125e0d588ba1fe44575c",
  "_created": "2026-05-23T09:31:44.000Z",
  "_published": "2026-05-23T09:35:20.436Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77512545046,
      "time": 173,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7175984655"
    },
    {
      "job": 77512545055,
      "time": 165,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7175983961"
    },
    {
      "job": 77512545051,
      "time": 87,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7175976798"
    },
    {
      "job": 77512545053,
      "time": 89,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7175977005"
    },
    {
      "job": 77512386568,
      "time": 178,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175968708"
    },
    {
      "job": 77512545042,
      "time": 110,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175978966"
    },
    {
      "job": 77512545059,
      "time": 113,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7175979235"
    },
    {
      "job": 77512545062,
      "time": 100,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7175978102"
    },
    {
      "job": 77512545058,
      "time": 101,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7175978191"
    }
  ],
  "_buildurl": "https://github.com/r-universe/thuizhou/actions/runs/26329266058",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/thuizhou/psweight",
  "_commit": {
    "id": "671f2a03b132ff9fd222de2a45c17a2a647e6505",
    "author": "Tianhui Zhou <45407734+thuizhou@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Update README.md\n\nadded maintainer info",
    "time": 1711827900
  },
  "_maintainer": {
    "name": "Yukang Zeng",
    "email": "yukang.zeng@yale.edu"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "lme4",
      "role": "Imports"
    },
    {
      "package": "nnet",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "numDeriv",
      "role": "Imports"
    },
    {
      "package": "gbm",
      "role": "Imports"
    },
    {
      "package": "SuperLearner",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "thuizhou",
  "_selfowned": true,
  "_usedby": 2,
  "_updates": [],
  "_tags": [],
  "_stars": 28,
  "_contributors": [
    {
      "user": "thuizhou",
      "count": 13,
      "uuid": 45407734
    }
  ],
  "_userbio": {
    "uuid": 45407734,
    "type": "user",
    "name": "Tianhui Zhou"
  },
  "_downloads": {
    "count": 711,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/PSweight"
  },
  "_devurl": "https://github.com/thuizhou/psweight",
  "_searchresults": 65,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/PSweight.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/thuizhou/psweight",
  "_realowner": "thuizhou",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2020-05-04"
    },
    {
      "version": "0.1.1",
      "date": "2020-07-19"
    },
    {
      "version": "1.1.0",
      "date": "2020-09-15"
    },
    {
      "version": "1.1.1",
      "date": "2020-10-02"
    },
    {
      "version": "1.1.2",
      "date": "2020-10-05"
    },
    {
      "version": "1.1.3",
      "date": "2021-02-25"
    },
    {
      "version": "1.1.4",
      "date": "2021-04-01"
    },
    {
      "version": "1.1.5",
      "date": "2021-10-28"
    },
    {
      "version": "1.1.6",
      "date": "2021-12-02"
    },
    {
      "version": "1.1.7",
      "date": "2022-05-11"
    },
    {
      "version": "1.1.8",
      "date": "2022-10-18"
    },
    {
      "version": "1.2.0",
      "date": "2024-03-29"
    },
    {
      "version": "2.1.0",
      "date": "2025-02-12"
    },
    {
      "version": "2.1.1",
      "date": "2025-03-02"
    },
    {
      "version": "2.1.2",
      "date": "2025-07-22"
    }
  ],
  "_exports": [
    "OUTmethod",
    "PSmethod",
    "PStrim",
    "PSweight",
    "PSweight_cl",
    "SumStat",
    "SumStat_cl"
  ],
  "_datasets": [
    {
      "name": "NCDS",
      "title": "Illustrative dataset for PSweight",
      "object": "NCDS",
      "class": [
        "data.frame"
      ],
      "fields": [
        "white",
        "wage",
        "Dany",
        "Dmult",
        "maemp",
        "scht",
        "qmab",
        "qmab2",
        "qvab",
        "qvab2",
        "paed_u",
        "maed_u",
        "agepa",
        "agema",
        "sib_u",
        "wagebin"
      ],
      "rows": 3642,
      "table": true,
      "tojson": true
    },
    {
      "name": "psdata",
      "title": "Simulated dataset for PSweight",
      "object": "psdata",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Y",
        "trt",
        "cov1",
        "cov2",
        "cov3",
        "cov4",
        "cov5",
        "cov6"
      ],
      "rows": 1500,
      "table": true,
      "tojson": true
    },
    {
      "name": "psdata_cl",
      "title": "Simulated dataset for PSweight",
      "object": "psdata_cl",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Y",
        "trt",
        "cov1",
        "cov2",
        "cov3",
        "cov4",
        "cov5",
        "cov6",
        "clt"
      ],
      "rows": 1500,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "coef.PSweight",
      "title": "Point estimates of PSweight",
      "topics": [
        "coef.PSweight"
      ]
    },
    {
      "page": "NCDS",
      "title": "Illustrative dataset for PSweight",
      "topics": [
        "NCDS"
      ]
    },
    {
      "page": "OUTmethod",
      "title": "Fitting potential outcome regression with different methods",
      "topics": [
        "OUTmethod"
      ]
    },
    {
      "page": "plot.SumStat",
      "title": "Plot the distribution of propensity scores and balance statistics",
      "topics": [
        "plot.SumStat"
      ]
    },
    {
      "page": "print.PStrim",
      "title": "Print the results of PStrim",
      "topics": [
        "print.PStrim"
      ]
    },
    {
      "page": "print.PSweight",
      "title": "Print the results of PSweight",
      "topics": [
        "print.PSweight"
      ]
    },
    {
      "page": "print.PSweightsum",
      "title": "Print the results of Summary.PSweight",
      "topics": [
        "print.PSweightsum"
      ]
    },
    {
      "page": "print.SumStat",
      "title": "Print the results of SumStat",
      "topics": [
        "print.SumStat"
      ]
    },
    {
      "page": "print.SumSumStat",
      "title": "Print the results of Summary.SumStat",
      "topics": [
        "print.SumSumStat"
      ]
    },
    {
      "page": "psdata",
      "title": "Simulated dataset for PSweight",
      "topics": [
        "psdata"
      ]
    },
    {
      "page": "psdata_cl",
      "title": "Simulated dataset for PSweight",
      "topics": [
        "psdata_cl"
      ]
    },
    {
      "page": "PSmethod",
      "title": "Fitting propensity score models with different methods",
      "topics": [
        "PSmethod"
      ]
    },
    {
      "page": "PStrim",
      "title": "Trim the input data and propensity estimate",
      "topics": [
        "PStrim"
      ]
    },
    {
      "page": "PSweight",
      "title": "Estimate average causal effects by propensity score weighting",
      "topics": [
        "PSweight"
      ]
    },
    {
      "page": "PSweight_cl",
      "title": "Estimate average causal effects by propensity score weighting for a binary treatment with clustering.",
      "topics": [
        "PSweight_cl"
      ]
    },
    {
      "page": "summary.PSweight",
      "title": "Summarize a PSweight object",
      "topics": [
        "summary.PSweight"
      ]
    },
    {
      "page": "summary.SumStat",
      "title": "Summarize a SumStat object.",
      "topics": [
        "summary.SumStat"
      ]
    },
    {
      "page": "SumStat",
      "title": "Calculate summary statistics for propensity score weighting",
      "topics": [
        "SumStat"
      ]
    },
    {
      "page": "SumStat_cl",
      "title": "Calculate summary statistics for propensity score weighting with clustering (for binary treatment only)",
      "topics": [
        "SumStat_cl"
      ]
    },
    {
      "page": "vcov.PSweight",
      "title": "Variance of PSweight",
      "topics": [
        "vcov.PSweight"
      ]
    }
  ],
  "_readme": "https://github.com/thuizhou/psweight/raw/HEAD/README.md",
  "_rundeps": [
    "bitops",
    "boot",
    "caTools",
    "cli",
    "codetools",
    "cpp11",
    "cvAUC",
    "data.table",
    "farver",
    "foreach",
    "gam",
    "gbm",
    "ggplot2",
    "glue",
    "gplots",
    "gtable",
    "gtools",
    "isoband",
    "iterators",
    "KernSmooth",
    "labeling",
    "lattice",
    "lifecycle",
    "lme4",
    "MASS",
    "Matrix",
    "minqa",
    "nlme",
    "nloptr",
    "nnet",
    "nnls",
    "numDeriv",
    "R6",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "rlang",
    "ROCR",
    "S7",
    "scales",
    "SuperLearner",
    "survival",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_score": 5.737192642704738,
  "_indexed": true,
  "_nocasepkg": "psweight",
  "_universes": [
    "thuizhou"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.0",
      "date": "2026-05-23T09:34:09.000Z",
      "distro": "noble",
      "commit": "671f2a03b132ff9fd222de2a45c17a2a647e6505",
      "fileid": "b82fe0fff15990ce7e974b06375b7a232e62649a66b5bd73d55620d53e586c15",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/thuizhou/actions/runs/26329266058"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.0",
      "date": "2026-05-23T09:34:06.000Z",
      "distro": "noble",
      "commit": "671f2a03b132ff9fd222de2a45c17a2a647e6505",
      "fileid": "b2b64108c392d241e2ff691c19b82abe7dd03c086e9d29d568c51dbf6b93faed",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/thuizhou/actions/runs/26329266058"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.0",
      "date": "2026-05-23T09:33:08.000Z",
      "commit": "671f2a03b132ff9fd222de2a45c17a2a647e6505",
      "fileid": "3dfa67f27b1302ec0fdb825a31d7eb10c74902a0749c9b8801ec0d4a3e346c2b",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/thuizhou/actions/runs/26329266058"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.2.0",
      "date": "2026-05-23T09:33:07.000Z",
      "commit": "671f2a03b132ff9fd222de2a45c17a2a647e6505",
      "fileid": "f5afd35e970c5b0b551a2cc0dd84e29cf4436d0c42873158d81217256db6ead8",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/thuizhou/actions/runs/26329266058"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.0",
      "date": "2026-05-23T09:33:57.000Z",
      "commit": "671f2a03b132ff9fd222de2a45c17a2a647e6505",
      "fileid": "736325920071b6e3c49fedafd27a97e7a040d86b71640cc55e7782bc86ad32d3",
      "status": "success",
      "buildurl": "https://github.com/r-universe/thuizhou/actions/runs/26329266058"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.0",
      "date": "2026-05-23T09:33:24.000Z",
      "commit": "671f2a03b132ff9fd222de2a45c17a2a647e6505",
      "fileid": "be7f0ed3bfbd4fc96152e61f153e0431bff5e0f63aaea5cb851edeb493f4b3ca",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/thuizhou/actions/runs/26329266058"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.0",
      "date": "2026-05-23T09:32:58.000Z",
      "commit": "671f2a03b132ff9fd222de2a45c17a2a647e6505",
      "fileid": "d4d68163aee5390f2b2433964fe08ba8893cb5b1a0fb871ce6a4ecca770931ce",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/thuizhou/actions/runs/26329266058"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.2.0",
      "date": "2026-05-23T09:32:58.000Z",
      "commit": "671f2a03b132ff9fd222de2a45c17a2a647e6505",
      "fileid": "291867d84f214281d3018d8691383498e1b285a763f7de91f000415600c551ef",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/thuizhou/actions/runs/26329266058"
    }
  ]
}