{
  "_id": "6ae843c1818c9e3ef6dbd52d",
  "Package": "ipw",
  "Version": "1.3.2",
  "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\"))",
  "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://github.com/TranHung93/ipw",
  "BugReports": "https://github.com/TranHung93/ipw/issues",
  "Config/roxygen2/version": "8.1.0",
  "Packaged": {
    "Date": "2026-11-02 07:57:57 UTC",
    "User": "root"
  },
  "Author": "Hung Thai Tran [aut, cre], Willem M. van der Wal [aut], Ronald\nB. Geskus [aut] (maintainer 2011-2022)",
  "Maintainer": "Hung Thai Tran <hungtt@oucru.org>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-11-01 23:30:14 UTC",
  "RemoteUrl": "https://github.com/cran/ipw",
  "RemoteRef": "HEAD",
  "RemoteSha": "b82ba7c86ac1ae3f3fbbff84ad5df9519b798a1e",
  "_user": "cran",
  "_type": "src",
  "_file": "ipw_1.3.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/16a1ffceec4ea0175397e456795f9f046f743da41b4ba9fd2b49942dc12a888e",
  "_filesize": 640192,
  "_sha256": "16a1ffceec4ea0175397e456795f9f046f743da41b4ba9fd2b49942dc12a888e",
  "_expires": "2027-02-10T08:03:11.000Z",
  "_created": "2026-11-02T07:57:57.000Z",
  "_published": "2026-11-02T08:03:12.784Z",
  "_upstream": "https://github.com/cran/ipw",
  "_status": "success",
  "_maintainer": {
    "name": "Hung Thai Tran",
    "email": "hungtt@oucru.org",
    "login": "tranhung93",
    "description": "",
    "uuid": 174294959
  },
  "_jobs": [
    {
      "job": 125159705953,
      "time": 132,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13125201807"
    },
    {
      "job": 125159705942,
      "time": 148,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13125531056"
    },
    {
      "job": 125158679418,
      "time": 180,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13125286182"
    },
    {
      "job": 125159705923,
      "time": 83,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13125510890"
    },
    {
      "job": 125159705955,
      "time": 72,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13125600462"
    },
    {
      "job": 125159705921,
      "time": 71,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13124758436"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/41409341861",
  "_commit": {
    "id": "b82ba7c86ac1ae3f3fbbff84ad5df9519b798a1e",
    "author": "Hung Thai Tran <hungtt@oucru.org>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.3.2\n",
    "time": 1793575814
  },
  "_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": "nlme",
      "role": "Suggests"
    },
    {
      "package": "survey",
      "role": "Suggests"
    },
    {
      "package": "boot",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-50",
      "n": 1
    },
    {
      "week": "2026-05",
      "n": 1
    },
    {
      "week": "2026-44",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "1.2.2",
      "date": "2025-12-08"
    },
    {
      "name": "1.3.0",
      "date": "2026-01-27"
    },
    {
      "name": "1.3.1",
      "date": "2026-10-30"
    },
    {
      "name": "1.3.2",
      "date": "2026-11-01"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "tranhung93",
      "count": 4,
      "uuid": 174294959
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 635,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 1328,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ipw"
  },
  "_mentions": 24,
  "_devurl": "https://github.com/tranhung93/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": false,
  "_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": [
    "ipwplot",
    "ipwpoint",
    "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": "ipwplot",
      "title": "Plot Inverse Probability Weights",
      "topics": [
        "ipwplot"
      ]
    },
    {
      "page": "ipwpoint",
      "title": "Estimate Inverse Probability Weights (Point Treatment)",
      "topics": [
        "ipwpoint"
      ]
    },
    {
      "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/cran/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"
  ],
  "_score": 4.730653098246668,
  "_indexed": false,
  "_nocasepkg": "ipw",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://tranhung93.r-universe.dev/ipw",
  "_previous": "1.3.1",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3.2",
      "date": "2026-11-02T08:02:29.000Z",
      "distro": "resolute",
      "commit": "b82ba7c86ac1ae3f3fbbff84ad5df9519b798a1e",
      "fileid": "https://r2.ropensci.org/525920dd25dfe6e9b0283fad8fa4e9880a9a3bced9ac1aaf237b7013a2046092",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41409341861"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.3.2",
      "date": "2026-11-02T08:02:34.000Z",
      "distro": "resolute",
      "commit": "b82ba7c86ac1ae3f3fbbff84ad5df9519b798a1e",
      "fileid": "https://r2.ropensci.org/9ebb3a395bccd40175e4cc30006192fedcc1ff2f216f8caa674e5b05b7e7e3aa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41409341861"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.3.2",
      "date": "2026-11-02T08:01:47.000Z",
      "commit": "b82ba7c86ac1ae3f3fbbff84ad5df9519b798a1e",
      "fileid": "https://r2.ropensci.org/3295ba071676ebbbd97bc771df9b7324cc121df6c4ca1c0433ce0cc6013807c4",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41409341861"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.3.2",
      "date": "2026-11-02T08:01:11.000Z",
      "commit": "b82ba7c86ac1ae3f3fbbff84ad5df9519b798a1e",
      "fileid": "https://r2.ropensci.org/03eeeda0944a9debc58e9952b3b5bc5d30ada1a3dccf5d1afaca3dc85bacf366",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41409341861"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.3.2",
      "date": "2026-11-02T08:01:10.000Z",
      "commit": "b82ba7c86ac1ae3f3fbbff84ad5df9519b798a1e",
      "fileid": "https://r2.ropensci.org/4f57906c489659d1f920acb81fbb528a6d741fb688114c9acb4cea555c97ce02",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/41409341861"
    }
  ]
}