{
  "_id": "6af8390ff58eaab79920eeaa",
  "Package": "inferference",
  "Type": "Package",
  "Title": "Methods for Causal Inference with Interference",
  "Version": "1.0.3",
  "Date": "2025-05-14",
  "Authors@R": "person(given = \"Bradley\",\nfamily = \"Saul\",\nrole = c(\"aut\", \"cre\"),\nemail = \"bradleysaul@fastmail.com\")",
  "Maintainer": "Bradley Saul <bradleysaul@fastmail.com>",
  "Description": "Provides methods for estimating causal effects in the\npresence of interference described in B. Saul and M. Hugdens\n(2017) <doi:10.18637/jss.v082.i02>. Currently it implements the\ninverse-probability weighted (IPW) estimators proposed by E.J.\nTchetgen Tchetgen and T.J. Vanderweele (2012)\n<doi:10.1177/0962280210386779>.",
  "License": "GPL (>= 2)",
  "VignetteBuilder": "knitr",
  "LazyData": "true",
  "RoxygenNote": "7.3.2",
  "Encoding": "UTF-8",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-14 10:27:56 UTC",
    "User": "root"
  },
  "Author": "Bradley Saul [aut, cre]",
  "Config/pak/sysreqs": "cmake libgmp3-dev make libgsl0-dev",
  "Repository": "https://cranhaven.r-universe.dev",
  "Date/Publication": "2026-11-14 03:02:00 UTC",
  "RemoteUrl": "https://github.com/cranhaven/cranhaven.r-universe.dev",
  "RemoteRef": "package/inferference",
  "RemoteSha": "3fedca353c4d1787e477e95fe43a6a71db130016",
  "RemoteSubdir": "inferference",
  "_user": "cranhaven",
  "_type": "src",
  "_file": "inferference_1.0.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/678a49f1178f457bf70d826fa779bcca5cba678a33fd0ce3b30dcdf6ef0a7ba7",
  "_filesize": 689553,
  "_sha256": "678a49f1178f457bf70d826fa779bcca5cba678a33fd0ce3b30dcdf6ef0a7ba7",
  "_expires": "2027-02-22T10:33:49.000Z",
  "_created": "2026-11-14T10:27:56.000Z",
  "_published": "2026-11-14T10:33:51.267Z",
  "_upstream": "https://github.com/cranhaven/cranhaven.r-universe.dev",
  "_status": "success",
  "_maintainer": {
    "name": "Bradley Saul",
    "email": "bradleysaul@fastmail.com",
    "login": "bsaul",
    "description": "",
    "uuid": 4882990
  },
  "_jobs": [
    {
      "job": 132418759364,
      "time": 139,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "14110176471"
    },
    {
      "job": 132418759358,
      "time": 136,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "ERROR",
      "artifact": "14110616030"
    },
    {
      "job": 132418759426,
      "time": 117,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "14110287559"
    },
    {
      "job": 132418759372,
      "time": 91,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "ERROR",
      "artifact": "14109688253"
    },
    {
      "job": 132417944574,
      "time": 207,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14110590668"
    },
    {
      "job": 132418759384,
      "time": 94,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14109842359"
    },
    {
      "job": 132418759380,
      "time": 210,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "14110516330"
    },
    {
      "job": 132418759342,
      "time": 198,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "14109852487"
    },
    {
      "job": 132418759357,
      "time": 182,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "ERROR",
      "artifact": "14110376867"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cranhaven/actions/runs/43585134666",
  "_commit": {
    "id": "3fedca353c4d1787e477e95fe43a6a71db130016",
    "author": "GitHub Action <action@github.com>",
    "committer": "GitHub Action <action@github.com>",
    "message": "Add inferference to CRANhaven, because archived on 2026-11-14 03:02:00 +0000\n",
    "time": 1794625320
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.1",
      "role": "Depends"
    },
    {
      "package": "numDeriv",
      "version": ">= 2012.9-1",
      "role": "Imports"
    },
    {
      "package": "lme4",
      "version": ">= 1.1-6",
      "role": "Imports"
    },
    {
      "package": "Formula",
      "version": ">= 1.1-2",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "spaMM",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "cranhaven",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-46",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "archived",
    "packages",
    "r-universe"
  ],
  "_stars": 5,
  "_contributors": [
    {
      "user": "henrikbengtsson",
      "count": 183,
      "uuid": 1616850
    }
  ],
  "_userbio": {
    "uuid": 161993010,
    "type": "organization",
    "name": "cranhaven",
    "followers": 3,
    "description": "CRANhaven - Repository for Recently Archived CRAN Packages"
  },
  "_downloads": {
    "count": 533,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/inferference"
  },
  "_devurl": "https://github.com/cranhaven/cranhaven.r-universe.dev",
  "_searchresults": 55,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/inferference.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/bsaul/inferference",
  "_realowner": "bsaul",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.4.61",
      "date": "2015-03-09"
    },
    {
      "version": "0.4.62",
      "date": "2015-06-08"
    },
    {
      "version": "0.5.4",
      "date": "2017-09-25"
    },
    {
      "version": "1.0.0",
      "date": "2017-11-25"
    },
    {
      "version": "1.0.2",
      "date": "2021-04-21"
    },
    {
      "version": "1.0.3",
      "date": "2025-05-15"
    }
  ],
  "_exports": [
    "diagnose_weights",
    "direct_effect",
    "get_args",
    "ie",
    "indirect_effect",
    "interference",
    "log_likelihood",
    "logit_integrand",
    "oe",
    "overall_effect",
    "score_calc",
    "score_matrix",
    "te",
    "total_effect",
    "wght_calc",
    "wght_deriv_array",
    "wght_deriv_calc",
    "wght_matrix"
  ],
  "_datasets": [
    {
      "name": "vaccinesim",
      "title": "Vaccine Study Sample Data",
      "object": "vaccinesim",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Y",
        "X1",
        "X2",
        "A",
        "B",
        "group"
      ],
      "rows": 3000,
      "table": true,
      "tojson": true
    },
    {
      "name": "voters",
      "title": "Voting Contagion Experiment Data",
      "object": "voters",
      "class": [
        "data.frame"
      ],
      "fields": [
        "family",
        "city",
        "denver",
        "turf",
        "pct",
        "treatment",
        "reached",
        "other",
        "goaway",
        "moved",
        "can_t",
        "hsecontact",
        "voted02p",
        "voted01",
        "voted00",
        "voted00p",
        "voted99",
        "voted98",
        "party",
        "age",
        "gender"
      ],
      "rows": 7722,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "diagnose_weights",
      "title": "Plot histograms of weights from an interference object",
      "topics": [
        "diagnose_weights"
      ]
    },
    {
      "page": "direct_effect",
      "title": "Retreive Direct Effect estimates",
      "topics": [
        "direct_effect"
      ]
    },
    {
      "page": "get_args",
      "title": "Get arguments from a function",
      "topics": [
        "get_args"
      ]
    },
    {
      "page": "indirect_effect",
      "title": "Retreive Indirect Effect estimates",
      "topics": [
        "ie",
        "indirect_effect"
      ]
    },
    {
      "page": "inferference",
      "title": "Methods for causal inference with interference",
      "topics": [
        "inferference-package",
        "inferference"
      ]
    },
    {
      "page": "interference",
      "title": "Estimate Causal Effects in presence of interference",
      "topics": [
        "interference"
      ]
    },
    {
      "page": "log_likelihood",
      "title": "Log Likelihood",
      "topics": [
        "log_likelihood"
      ]
    },
    {
      "page": "logit_integrand",
      "title": "Default integrand for the group-level propensity score",
      "topics": [
        "logit_integrand"
      ]
    },
    {
      "page": "overall_effect",
      "title": "Retrieve Overall Effect Estimates",
      "topics": [
        "oe",
        "overall_effect"
      ]
    },
    {
      "page": "print.interference",
      "title": "Prints a summary of an interference object",
      "topics": [
        "print.interference"
      ]
    },
    {
      "page": "score_calc",
      "title": "Compute scores for a single group",
      "topics": [
        "score_calc"
      ]
    },
    {
      "page": "score_matrix",
      "title": "Calculate matrix of log Likelihood derivatives",
      "topics": [
        "score_matrix"
      ]
    },
    {
      "page": "total_effect",
      "title": "Retrieve Total Effect estimates",
      "topics": [
        "te",
        "total_effect"
      ]
    },
    {
      "page": "vaccinesim",
      "title": "Vaccine Study Sample Data",
      "topics": [
        "vaccinesim"
      ]
    },
    {
      "page": "voters",
      "title": "Voting Contagion Experiment Data",
      "topics": [
        "voters"
      ]
    },
    {
      "page": "wght_calc",
      "title": "Compute IPW weight",
      "topics": [
        "wght_calc"
      ]
    },
    {
      "page": "wght_deriv_array",
      "title": "Create an array of group weight derivatives",
      "topics": [
        "wght_deriv_array"
      ]
    },
    {
      "page": "wght_deriv_calc",
      "title": "Compute the derivative(s) of a weight",
      "topics": [
        "wght_deriv_calc"
      ]
    },
    {
      "page": "wght_matrix",
      "title": "Creates a number of groups by number of allocation schemes matrix of group weights. Allocation schemes are selected by the user.",
      "topics": [
        "wght_matrix"
      ]
    }
  ],
  "_readme": "https://github.com/cranhaven/cranhaven.r-universe.dev/raw/package/inferference/inferference/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "boot",
    "checkmate",
    "cli",
    "Formula",
    "geometry",
    "gmp",
    "lattice",
    "linprog",
    "lme4",
    "lpSolve",
    "magic",
    "MASS",
    "Matrix",
    "matrixStats",
    "minqa",
    "nlme",
    "nloptr",
    "numDeriv",
    "pbapply",
    "proxy",
    "rbibutils",
    "Rcpp",
    "RcppEigen",
    "RcppProgress",
    "Rdpack",
    "reformulas",
    "registry",
    "ROI",
    "slam",
    "spaMM"
  ],
  "_vignettes": [
    {
      "source": "inferference_plots.Rmd",
      "filename": "inferference_plots.html",
      "title": "Plotting Causal Effects with inferference",
      "author": "Bradley Saul",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Direct Effects",
        "Indirect Effects"
      ],
      "created": "2026-11-14 03:02:00",
      "modified": "2026-11-14 03:02:00",
      "commits": 1
    },
    {
      "source": "inferference_intro.Rmd",
      "filename": "inferference_intro.html",
      "title": "inferference Vignette",
      "author": "Bradley Saul, Michael Hudgens",
      "engine": "knitr::rmarkdown",
      "headings": [
        "JSS article",
        "Using inferference",
        "User's guide",
        "The interference object",
        "Utility functions",
        "Example: Vaccine Study",
        "Plotting effect estimates",
        "Diagnostics",
        "Example: Voting Experiment",
        "Household-level propensity",
        "Coding the propensity function",
        "Evidence of a peer influence effect",
        "Computational Issues with IPW Estimators",
        "References"
      ],
      "created": "2026-11-14 03:02:00",
      "modified": "2026-11-14 03:02:00",
      "commits": 1
    }
  ],
  "_score": 4.439332693830263,
  "_indexed": false,
  "_nocasepkg": "inferference",
  "_universes": [
    "cranhaven"
  ],
  "_indexurl": "https://bsaul.r-universe.dev/inferference",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-11-14T10:30:12.000Z",
      "distro": "resolute",
      "commit": "3fedca353c4d1787e477e95fe43a6a71db130016",
      "fileid": "https://r2.ropensci.org/d4c749911dec606e89c84bbe9b1936c2ab9f66208bb78d3892d7ab962defe595",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/43585134666"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-11-14T10:30:07.000Z",
      "distro": "resolute",
      "commit": "3fedca353c4d1787e477e95fe43a6a71db130016",
      "fileid": "https://r2.ropensci.org/e12efa134ecd34c85ee5ce0a25733a899f84a4504f53e6d3cda84812feca9d6b",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/43585134666"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-11-14T10:33:10.000Z",
      "commit": "3fedca353c4d1787e477e95fe43a6a71db130016",
      "fileid": "https://r2.ropensci.org/3b60781ef4399a80b6448b7eef6e603be50c24e23015f4accf8339e9746627e6",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/43585134666"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-11-14T10:31:42.000Z",
      "commit": "3fedca353c4d1787e477e95fe43a6a71db130016",
      "fileid": "https://r2.ropensci.org/1e0b8899e4d7e3b01247eac4c2563a9fe10fc13961430462e554307deb92e16b",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/43585134666"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.3",
      "date": "2026-11-14T10:29:45.000Z",
      "commit": "3fedca353c4d1787e477e95fe43a6a71db130016",
      "fileid": "https://r2.ropensci.org/8fbe50b2319675b2b7f9a8826008584cf1177e98d1c408eeed5401af13e01fb0",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/43585134666"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-11-14T10:30:27.000Z",
      "commit": "3fedca353c4d1787e477e95fe43a6a71db130016",
      "fileid": "https://r2.ropensci.org/c1221453a9426cc6928e5d3121c5a119cbdf21f090fdd9c7ac1b9f5107f2c0a6",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/43585134666"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-11-14T10:30:12.000Z",
      "commit": "3fedca353c4d1787e477e95fe43a6a71db130016",
      "fileid": "https://r2.ropensci.org/83a2da0061c773804dd1c21e4e4cd10dfbe7363814a9f1c716966baa5c0041ec",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/43585134666"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-11-14T10:29:51.000Z",
      "commit": "3fedca353c4d1787e477e95fe43a6a71db130016",
      "fileid": "https://r2.ropensci.org/fbed400aa05e730687bf56bb3bfe76c562aa06f5133b668bd035b5ce3f80a008",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/43585134666"
    }
  ]
}