{
  "_id": "6ad5e2434a34890ab49390c3",
  "Package": "localIV",
  "Type": "Package",
  "Title": "Estimation of Marginal Treatment Effects using Local\nInstrumental Variables",
  "Version": "0.3.2",
  "Authors@R": "person(\"Xiang\", \"Zhou\", email = \"xiang_zhou@fas.harvard.edu\",\nrole = c(\"aut\", \"cre\"))",
  "Description": "In the generalized Roy model, the marginal treatment\neffect (MTE) can be used as a building block for constructing\nconventional causal parameters such as the average treatment\neffect (ATE) and the average treatment effect on the treated\n(ATT). Given a treatment selection equation and an outcome\nequation, the function mte() estimates the MTE via the\nsemiparametric local instrumental variables method or the\nnormal selection model. The function mte_at() evaluates MTE at\ndifferent values of the latent resistance u with a given X = x,\nand the function mte_tilde_at() evaluates MTE projected onto\nthe estimated propensity score. The function ace() estimates\npopulation-level average causal effects such as ATE, ATT, or\nthe marginal policy relevant treatment effect.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.3",
  "URL": "https://github.com/xiangzhou09/localIV",
  "BugReports": "https://github.com/xiangzhou09/localIV/issues",
  "Config/pak/sysreqs": "cmake make libicu-dev",
  "Repository": "https://xiangzhou09.r-universe.dev",
  "Date/Publication": "2026-08-20 19:23:22 UTC",
  "RemoteUrl": "https://github.com/xiangzhou09/localiv",
  "RemoteRef": "HEAD",
  "RemoteSha": "4d0aeb2cf6c5c0e34eb8348440624da410b20b52",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-19 09:23:00 UTC",
    "User": "root"
  },
  "Author": "Xiang Zhou [aut, cre]",
  "Maintainer": "Xiang Zhou <xiang_zhou@fas.harvard.edu>",
  "_user": "xiangzhou09",
  "_type": "src",
  "_file": "localIV_0.3.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/0e2b040c8ee4a4b6337a9eee99e83bd5e89493a62b501186ceeee1fd7567be0b",
  "_filesize": 414448,
  "_sha256": "0e2b040c8ee4a4b6337a9eee99e83bd5e89493a62b501186ceeee1fd7567be0b",
  "_expires": "2027-01-27T09:26:25.000Z",
  "_created": "2026-10-19T09:23:00.000Z",
  "_published": "2026-10-19T09:26:27.274Z",
  "_buildurl": "https://github.com/r-universe/xiangzhou09/actions/runs/39228964224",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 117984341008,
      "time": 128,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12175193691"
    },
    {
      "job": 117984340665,
      "time": 169,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12175593692"
    },
    {
      "job": 117984340827,
      "time": 113,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12176707662"
    },
    {
      "job": 117984340761,
      "time": 129,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12176712954"
    },
    {
      "job": 117982131683,
      "time": 322,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12176012857"
    },
    {
      "job": 117984340598,
      "time": 161,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12176347958"
    },
    {
      "job": 117984340770,
      "time": 76,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12176008166"
    },
    {
      "job": 117984340674,
      "time": 84,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12175073671"
    },
    {
      "job": 117984340691,
      "time": 98,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12176532665"
    }
  ],
  "_upstream": "https://github.com/xiangzhou09/localiv",
  "_commit": {
    "id": "4d0aeb2cf6c5c0e34eb8348440624da410b20b52",
    "author": "xiang Zhou <xiang_zhou@fas.harvard.edu>",
    "committer": "xiang Zhou <xiang_zhou@fas.harvard.edu>",
    "message": "add rhub.yaml\n",
    "time": 1787253802
  },
  "_maintainer": {
    "name": "Xiang Zhou",
    "email": "xiang_zhou@fas.harvard.edu",
    "login": "xiangzhou09",
    "description": "",
    "uuid": 23618131
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.3.0",
      "role": "Depends"
    },
    {
      "package": "KernSmooth",
      "version": ">= 2.5.0",
      "role": "Imports"
    },
    {
      "package": "mgcv",
      "version": ">= 1.8-19",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 0.4.4",
      "role": "Imports"
    },
    {
      "package": "sampleSelection",
      "version": ">= 1.2-0",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    }
  ],
  "_owner": "xiangzhou09",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-34",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 6,
  "_contributors": [
    {
      "user": "xiangzhou09",
      "count": 52,
      "uuid": 23618131
    }
  ],
  "_userbio": {
    "uuid": 23618131,
    "type": "user",
    "name": "xiangzhou09",
    "followers": 32
  },
  "_downloads": {
    "count": 338,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/localIV"
  },
  "_devurl": "https://github.com/xiangzhou09/localiv",
  "_searchresults": 9,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/localIV.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/xiangzhou09/localiv",
  "_realowner": "xiangzhou09",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2018-08-05"
    },
    {
      "version": "0.2.0",
      "date": "2019-04-28"
    },
    {
      "version": "0.2.1",
      "date": "2019-05-06"
    },
    {
      "version": "0.3.0",
      "date": "2020-04-01"
    },
    {
      "version": "0.3.1",
      "date": "2020-06-26"
    },
    {
      "version": "0.3.2",
      "date": "2026-08-21"
    }
  ],
  "_exports": [
    "ace",
    "mte",
    "mte_at",
    "mte_localIV",
    "mte_normal",
    "mte_tilde_at"
  ],
  "_datasets": [
    {
      "name": "toydata",
      "title": "A Hypothetical Dataset for Illustrative Purpose",
      "object": "toydata",
      "class": [
        "data.frame"
      ],
      "fields": [
        "y",
        "x",
        "z",
        "d"
      ],
      "rows": 10000,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "ace",
      "title": "Estimating Average Causal Effects from a Fitted MTE Model.",
      "topics": [
        "ace"
      ]
    },
    {
      "page": "mte",
      "title": "Fitting a Marginal Treatment Effects (MTE) Model.",
      "topics": [
        "mte",
        "mte_localIV",
        "mte_normal"
      ]
    },
    {
      "page": "mte_at",
      "title": "Evaluate Marginal Treatment Effects from a Fitted MTE Model.",
      "topics": [
        "mte_at"
      ]
    },
    {
      "page": "mte_tilde_at",
      "title": "Evaluate Marginal Treatment Effects Projected onto the Propensity Score",
      "topics": [
        "mte_tilde_at"
      ]
    },
    {
      "page": "toydata",
      "title": "A Hypothetical Dataset for Illustrative Purpose",
      "topics": [
        "toydata"
      ]
    }
  ],
  "_readme": "https://github.com/xiangzhou09/localiv/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "boot",
    "broom",
    "car",
    "carData",
    "cli",
    "colorspace",
    "cowplot",
    "cpp11",
    "Deriv",
    "digest",
    "doBy",
    "dplyr",
    "farver",
    "forecast",
    "Formula",
    "fracdiff",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "KernSmooth",
    "labeling",
    "lattice",
    "lifecycle",
    "lme4",
    "lmtest",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "maxLik",
    "mgcv",
    "minqa",
    "miscTools",
    "modelr",
    "mvtnorm",
    "nlme",
    "nloptr",
    "nnet",
    "numDeriv",
    "pbkrtest",
    "pillar",
    "pkgconfig",
    "purrr",
    "quantreg",
    "R6",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "rlang",
    "S7",
    "sampleSelection",
    "sandwich",
    "scales",
    "SparseM",
    "stringi",
    "stringr",
    "survival",
    "systemfit",
    "tibble",
    "tidyr",
    "tidyselect",
    "timeDate",
    "urca",
    "utf8",
    "vctrs",
    "VGAM",
    "viridisLite",
    "withr",
    "zoo"
  ],
  "_score": 3.4771212547196626,
  "_indexed": true,
  "_nocasepkg": "localiv",
  "_universes": [
    "xiangzhou09"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.2",
      "date": "2026-10-19T09:25:08.000Z",
      "distro": "resolute",
      "commit": "4d0aeb2cf6c5c0e34eb8348440624da410b20b52",
      "fileid": "https://r2.ropensci.org/7e1c4f11292d195929afa2c757b761d0964fba54be228b6946bf17a0bbf6672a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xiangzhou09/actions/runs/39228964224"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.2",
      "date": "2026-10-19T09:25:51.000Z",
      "distro": "resolute",
      "commit": "4d0aeb2cf6c5c0e34eb8348440624da410b20b52",
      "fileid": "https://r2.ropensci.org/4bac7d786574582bce98a66d2aad48c8a86321307b271671a3b5e494dcb200c5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xiangzhou09/actions/runs/39228964224"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.2",
      "date": "2026-10-19T09:24:53.000Z",
      "commit": "4d0aeb2cf6c5c0e34eb8348440624da410b20b52",
      "fileid": "https://r2.ropensci.org/2e2bb3ed131a7cf3d48a6697b9ae1ca4fc35e0dd419de42d12e1e06a9e3e750e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xiangzhou09/actions/runs/39228964224"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3.2",
      "date": "2026-10-19T09:25:04.000Z",
      "commit": "4d0aeb2cf6c5c0e34eb8348440624da410b20b52",
      "fileid": "https://r2.ropensci.org/150110413c2e54f1a67509c81f6efa9100ed714495d2812c8139a9afdfc85ea1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xiangzhou09/actions/runs/39228964224"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.2",
      "date": "2026-10-19T09:25:59.000Z",
      "commit": "4d0aeb2cf6c5c0e34eb8348440624da410b20b52",
      "fileid": "https://r2.ropensci.org/01fd26ade5625aecd9783d75c3f3d9a4fc9eddb1a95c36d285332e9b3940e7c1",
      "status": "success",
      "buildurl": "https://github.com/r-universe/xiangzhou09/actions/runs/39228964224"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.2",
      "date": "2026-10-19T09:24:08.000Z",
      "commit": "4d0aeb2cf6c5c0e34eb8348440624da410b20b52",
      "fileid": "https://r2.ropensci.org/3a6676930ccfb7822479dd893c8cca5d30282320c30eac473294018ce097cfa1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xiangzhou09/actions/runs/39228964224"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.2",
      "date": "2026-10-19T09:24:18.000Z",
      "commit": "4d0aeb2cf6c5c0e34eb8348440624da410b20b52",
      "fileid": "https://r2.ropensci.org/bee651ac1dc6c7d77d02272fcc996f55f1ec74415aed810f430b0e798dee0a64",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xiangzhou09/actions/runs/39228964224"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3.2",
      "date": "2026-10-19T09:24:31.000Z",
      "commit": "4d0aeb2cf6c5c0e34eb8348440624da410b20b52",
      "fileid": "https://r2.ropensci.org/aa32e93186ce8d83c813fc05bac1d3b5ebbe6c9934258d77448a9cb93d8700f4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/xiangzhou09/actions/runs/39228964224"
    }
  ]
}