{
  "_id": "6ae844339ceaa78f2009b171",
  "Package": "ipw",
  "Version": "1.3.2.9000",
  "Date": "2026-10-31",
  "Title": "Estimate Inverse Probability Weights",
  "Authors@R": "c(\nperson(c(\"Hung\", \"Thai\"), \"Tran\", role = c(\"aut\", \"cre\"), email = \"hungtt@oucru.org\"),\nperson(c(\"Willem\", \"M.\"), \"van der Wal\", role = \"aut\",\nemail = \"willem@vanderwalresearch.com\"),\nperson(c(\"Ronald\", \"B.\"), \"Geskus\", role = \"aut\",\nemail = \"rgeskus@oucru.org\",\ncomment = \"maintainer 2011-2022\"))",
  "VignetteBuilder": "knitr",
  "Description": "Functions to estimate the probability to receive the\nobserved treatment, based on individual characteristics. The\ninverse of these probabilities can be used as weights when\nestimating causal effects from observational data via marginal\nstructural models. Both point treatment situations and\nlongitudinal studies can be analysed. The same functions can be\nused to correct for informative censoring.",
  "Encoding": "UTF-8",
  "License": "MIT + file LICENSE",
  "NeedsCompilation": "no",
  "LazyData": "true",
  "Config/testthat/edition": "3",
  "URL": "https://tranhung93.github.io/ipw/,\nhttps://github.com/TranHung93/ipw",
  "BugReports": "https://github.com/TranHung93/ipw/issues",
  "Config/roxygen2/version": "8.1.0",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://tranhung93.r-universe.dev",
  "Date/Publication": "2026-11-02 05:01:25 UTC",
  "RemoteUrl": "https://github.com/tranhung93/ipw",
  "RemoteRef": "HEAD",
  "RemoteSha": "743015f2d0d4ec7c62937bf1fa36263da3b691e4",
  "Packaged": {
    "Date": "2026-11-02 07:55:47 UTC",
    "User": "root"
  },
  "Author": "Hung Thai Tran [aut, cre],\nWillem M. van der Wal [aut],\nRonald B. Geskus [aut] (maintainer 2011-2022)",
  "Maintainer": "Hung Thai Tran <hungtt@oucru.org>",
  "_user": "tranhung93",
  "_type": "src",
  "_file": "ipw_1.3.2.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/ad2e37b7c2bc53a4ea66adca6767b3f93c90e2a1b4fffa352f2212d644af8eef",
  "_filesize": 957790,
  "_sha256": "ad2e37b7c2bc53a4ea66adca6767b3f93c90e2a1b4fffa352f2212d644af8eef",
  "_expires": "2027-02-10T08:05:05.000Z",
  "_created": "2026-11-02T07:55:47.000Z",
  "_published": "2026-11-02T08:05:07.168Z",
  "_upstream": "https://github.com/tranhung93/ipw",
  "_status": "success",
  "_maintainer": {
    "name": "Hung Thai Tran",
    "email": "hungtt@oucru.org",
    "login": "tranhung93",
    "description": "",
    "uuid": 174294959
  },
  "_jobs": [
    {
      "job": 125158981823,
      "time": 136,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13125036547"
    },
    {
      "job": 125158981649,
      "time": 135,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13125515210"
    },
    {
      "job": 125158981778,
      "time": 107,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13125406766"
    },
    {
      "job": 125158981640,
      "time": 114,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13124722616"
    },
    {
      "job": 125157855878,
      "time": 200,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13124906475"
    },
    {
      "job": 125158981785,
      "time": 92,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13124169186"
    },
    {
      "job": 125158981691,
      "time": 88,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13124468925"
    },
    {
      "job": 125158981759,
      "time": 94,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13125051417"
    },
    {
      "job": 125158981768,
      "time": 88,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13124653147"
    }
  ],
  "_buildurl": "https://github.com/r-universe/tranhung93/actions/runs/41409042652",
  "_commit": {
    "id": "743015f2d0d4ec7c62937bf1fa36263da3b691e4",
    "author": "TranHung93 <hungtt@oucru.org>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #16 from TranHung93/docs/align-article-order\n\nOrder the methods and simulation articles like the main vignette",
    "time": 1793595685
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.2.0",
      "role": "Depends"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "nnet",
      "role": "Imports"
    },
    {
      "package": "survival",
      "role": "Imports"
    },
    {
      "package": "geepack",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "mgcv",
      "role": "Suggests"
    },
    {
      "package": "nlme",
      "role": "Suggests"
    },
    {
      "package": "survey",
      "role": "Suggests"
    },
    {
      "package": "boot",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "tranhung93",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-04",
      "n": 3
    },
    {
      "week": "2026-05",
      "n": 9
    },
    {
      "week": "2026-44",
      "n": 18
    },
    {
      "week": "2026-45",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 2,
  "_contributors": [
    {
      "user": "tranhung93",
      "count": 66,
      "uuid": 174294959
    }
  ],
  "_userbio": {
    "uuid": 174294959,
    "type": "user",
    "name": "TranHung93",
    "followers": 3
  },
  "_downloads": {
    "count": 1328,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ipw"
  },
  "_mentions": 24,
  "_devurl": "https://github.com/tranhung93/ipw",
  "_pkgdown": "https://tranhung93.github.io/ipw/",
  "_searchresults": 270,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/ipw.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/tranhung93/ipw",
  "_realowner": "tranhung93",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0",
      "date": "2010-02-04"
    },
    {
      "version": "1.0-1",
      "date": "2010-02-08"
    },
    {
      "version": "1.0-2",
      "date": "2010-02-14"
    },
    {
      "version": "1.0-3",
      "date": "2010-03-05"
    },
    {
      "version": "1.0-4",
      "date": "2010-03-08"
    },
    {
      "version": "1.0-5",
      "date": "2010-03-25"
    },
    {
      "version": "1.0-6",
      "date": "2010-08-20"
    },
    {
      "version": "1.0-7",
      "date": "2010-09-09"
    },
    {
      "version": "1.0-8",
      "date": "2010-09-30"
    },
    {
      "version": "1.0-9",
      "date": "2011-04-04"
    },
    {
      "version": "1.0-10",
      "date": "2011-09-11"
    },
    {
      "version": "1.0-11",
      "date": "2015-08-18"
    },
    {
      "version": "1.2",
      "date": "2023-01-07"
    },
    {
      "version": "1.2.1",
      "date": "2023-12-11"
    },
    {
      "version": "1.2.1.1",
      "date": "2025-08-01"
    },
    {
      "version": "1.2.2",
      "date": "2025-12-11"
    },
    {
      "version": "1.3.0",
      "date": "2026-01-27"
    },
    {
      "version": "1.3.1",
      "date": "2026-10-30"
    },
    {
      "version": "1.3.2",
      "date": "2026-11-02"
    }
  ],
  "_exports": [
    "ipwboot",
    "ipwplot",
    "ipwpoint",
    "ipwprob",
    "ipwtm",
    "tstartfun"
  ],
  "_datasets": [
    {
      "name": "basdat",
      "title": "HIV: TB and Survival (Baseline Data)",
      "object": "basdat",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "Ttb",
        "Tdeath",
        "Tend"
      ],
      "rows": 386,
      "table": true,
      "tojson": true
    },
    {
      "name": "haartdat",
      "title": "HAART and Survival in HIV Patients",
      "object": "haartdat",
      "class": [
        "data.frame"
      ],
      "fields": [
        "patient",
        "tstart",
        "fuptime",
        "haartind",
        "event",
        "sex",
        "age",
        "cd4.sqrt",
        "endtime",
        "dropout"
      ],
      "rows": 19175,
      "table": true,
      "tojson": true
    },
    {
      "name": "healthdat",
      "title": "IQ, Income and Health",
      "object": "healthdat",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "iq",
        "income",
        "health"
      ],
      "rows": 1000,
      "table": true,
      "tojson": true
    },
    {
      "name": "timedat",
      "title": "HIV: TB and Survival (Longitudinal Measurements)",
      "object": "timedat",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "fuptime",
        "cd4count"
      ],
      "rows": 6291,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "basdat",
      "title": "HIV: TB and Survival (Baseline Data)",
      "topics": [
        "basdat"
      ]
    },
    {
      "page": "haartdat",
      "title": "HAART and Survival in HIV Patients",
      "topics": [
        "haartdat"
      ]
    },
    {
      "page": "healthdat",
      "title": "IQ, Income and Health",
      "topics": [
        "healthdat"
      ]
    },
    {
      "page": "ipwboot",
      "title": "Bootstrap Standard Errors for Inverse Probability Weighted Analyses",
      "topics": [
        "confint.ipwboot",
        "ipwboot",
        "print.ipwboot"
      ]
    },
    {
      "page": "ipwplot",
      "title": "Plot Inverse Probability Weights",
      "topics": [
        "ipwplot"
      ]
    },
    {
      "page": "ipwpoint",
      "title": "Estimate Inverse Probability Weights (Point Treatment)",
      "topics": [
        "ipwpoint"
      ]
    },
    {
      "page": "ipwprob",
      "title": "Inverse Probability Weights From User-Supplied Probabilities",
      "topics": [
        "ipwprob"
      ]
    },
    {
      "page": "ipwtm",
      "title": "Estimate Inverse Probability Weights (Time Varying)",
      "topics": [
        "ipwtm"
      ]
    },
    {
      "page": "timedat",
      "title": "HIV: TB and Survival (Longitudinal Measurements)",
      "topics": [
        "timedat"
      ]
    },
    {
      "page": "tstartfun",
      "title": "Compute Starting Time For Counting Process Notation",
      "topics": [
        "tstartfun"
      ]
    }
  ],
  "_readme": "https://github.com/tranhung93/ipw/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "broom",
    "cli",
    "cpp11",
    "dplyr",
    "geepack",
    "generics",
    "glue",
    "lattice",
    "lifecycle",
    "magrittr",
    "MASS",
    "Matrix",
    "nnet",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rlang",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "ipw.Rmd",
      "filename": "ipw.html",
      "title": "Inverse probability weighting with ipw",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1. Point treatment: a binary exposure",
        "New: ATT and overlap weights",
        "2. Point treatment: other kinds of exposure",
        "Categorical and ordered exposures",
        "Continuous exposures",
        "New: skewed continuous exposures (gamma and log-normal)",
        "New: count exposures (Poisson and negative binomial)",
        "New: smooth terms with mgcv",
        "3. Exposure that changes over time",
        "HAART and mortality (haartdat)",
        "New: categorical exposures that switch back and forth",
        "New: recurrent exposure events in survival models",
        "4. New: weights from your own probabilities",
        "5. New: bootstrap standard errors with ipwboot()",
        "6. Checking the weights",
        "References"
      ],
      "created": "2026-11-01 02:30:01",
      "modified": "2026-11-01 12:10:17",
      "commits": 4
    }
  ],
  "_score": 7.156621830518948,
  "_indexed": true,
  "_nocasepkg": "ipw",
  "_universes": [
    "tranhung93"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3.2.9000",
      "date": "2026-11-02T07:57:53.000Z",
      "distro": "resolute",
      "commit": "743015f2d0d4ec7c62937bf1fa36263da3b691e4",
      "fileid": "https://r2.ropensci.org/5e7dd3b480c35c5d652b70bd7e61d6523af21dc032d35578b8074bbf6e2ec04b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tranhung93/actions/runs/41409042652"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.3.2.9000",
      "date": "2026-11-02T07:57:52.000Z",
      "distro": "resolute",
      "commit": "743015f2d0d4ec7c62937bf1fa36263da3b691e4",
      "fileid": "https://r2.ropensci.org/f98382603056a615ebb873b3f8efbc9ecd688dd17b216a82eefbdb3cc1028423",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tranhung93/actions/runs/41409042652"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.3.2.9000",
      "date": "2026-11-02T08:04:30.000Z",
      "commit": "743015f2d0d4ec7c62937bf1fa36263da3b691e4",
      "fileid": "https://r2.ropensci.org/5c0be28d76b25f33cb98afdf1d99aded1c7cf4cb4df702ea8f01c99ab3a5e391",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tranhung93/actions/runs/41409042652"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.3.2.9000",
      "date": "2026-11-02T08:00:14.000Z",
      "commit": "743015f2d0d4ec7c62937bf1fa36263da3b691e4",
      "fileid": "https://r2.ropensci.org/45dfbe4c0213c789f9d90f3a45beab2eec02d6e301d0cfeaf3f881b6e7217732",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tranhung93/actions/runs/41409042652"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.3.2.9000",
      "date": "2026-11-02T07:57:36.000Z",
      "commit": "743015f2d0d4ec7c62937bf1fa36263da3b691e4",
      "fileid": "https://r2.ropensci.org/c74b2e709e1c1861fa94c738aca1f7981a59a10f3c6b504224a462ba3044d465",
      "status": "success",
      "buildurl": "https://github.com/r-universe/tranhung93/actions/runs/41409042652"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.3.2.9000",
      "date": "2026-11-02T07:56:54.000Z",
      "commit": "743015f2d0d4ec7c62937bf1fa36263da3b691e4",
      "fileid": "https://r2.ropensci.org/731af20ecb5fe5b7f54a32cbc2a3b40fff845ba707bbc90104d36cb08b509a38",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tranhung93/actions/runs/41409042652"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.3.2.9000",
      "date": "2026-11-02T07:57:06.000Z",
      "commit": "743015f2d0d4ec7c62937bf1fa36263da3b691e4",
      "fileid": "https://r2.ropensci.org/a4e2aefb59e5887d24f37335a055a46d4ed520c99952e57442e1e82fba6221e0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tranhung93/actions/runs/41409042652"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.3.2.9000",
      "date": "2026-11-02T07:57:02.000Z",
      "commit": "743015f2d0d4ec7c62937bf1fa36263da3b691e4",
      "fileid": "https://r2.ropensci.org/d503265ced5f62ebc25a6f211aacc73dc7e15d404c92ada1caf5c7419a6481a4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/tranhung93/actions/runs/41409042652"
    }
  ]
}