{
  "_id": "6a49f7548408e3d40c0b42eb",
  "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",
  "Config/pak/sysreqs": "cmake libgmp3-dev make libgsl0-dev",
  "Repository": "https://bsaul.r-universe.dev",
  "Date/Publication": "2025-05-14 14:57:58 UTC",
  "RemoteUrl": "https://github.com/bsaul/inferference",
  "RemoteRef": "HEAD",
  "RemoteSha": "2f0a019aa15effed1cd287f2d2a540e802411bc0",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-12 07:16:24 UTC",
    "User": "root"
  },
  "Author": "Bradley Saul [aut, cre]",
  "_user": "bsaul",
  "_type": "src",
  "_file": "inferference_1.0.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/b887c6034e8ad76de0e2ec33aa40fa1b660303d77236f34d5f6c002b6e2ad494",
  "_filesize": 690627,
  "_sha256": "b887c6034e8ad76de0e2ec33aa40fa1b660303d77236f34d5f6c002b6e2ad494",
  "_expires": "2026-10-13T06:18:58.000Z",
  "_created": "2026-06-12T07:16:24.000Z",
  "_published": "2026-07-05T06:19:00.284Z",
  "_jobs": [
    {
      "job": 85198688574,
      "time": 153,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7585436475"
    },
    {
      "job": 85198688652,
      "time": 139,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7585433322"
    },
    {
      "job": 85198688619,
      "time": 109,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7585427498"
    },
    {
      "job": 85198688606,
      "time": 123,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7585432060"
    },
    {
      "job": 85198688391,
      "time": 255,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7585393310"
    },
    {
      "job": 85198688667,
      "time": 110,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7585425002"
    },
    {
      "job": 85198688541,
      "time": 103,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7585422906"
    },
    {
      "job": 85198688696,
      "time": 81,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7585416961"
    },
    {
      "job": 85198688677,
      "time": 94,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7585420531"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/bsaul/actions/runs/27400670025",
  "_status": "success",
  "_upstream": "https://github.com/bsaul/inferference",
  "_commit": {
    "id": "2f0a019aa15effed1cd287f2d2a540e802411bc0",
    "author": "Bradley Saul <bradleysaul@fastmail.com>",
    "committer": "Bradley Saul <bradleysaul@fastmail.com>",
    "message": "ignore nix result\n",
    "time": 1747234678
  },
  "_maintainer": {
    "name": "Bradley Saul",
    "email": "bradleysaul@fastmail.com",
    "login": "bsaul",
    "description": "",
    "uuid": 4882990
  },
  "_distro": "noble",
  "_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": "bsaul",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 6,
  "_contributors": [
    {
      "user": "bsaul",
      "count": 190,
      "uuid": 4882990
    },
    {
      "user": "barkleybg",
      "count": 5,
      "uuid": 12898994
    }
  ],
  "_userbio": {
    "uuid": 4882990,
    "type": "user",
    "name": "Bradley Saul"
  },
  "_downloads": {
    "count": 646,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/inferference"
  },
  "_devurl": "https://github.com/bsaul/inferference",
  "_searchresults": 57,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/inferference.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/bsaul/inferference",
  "_realowner": "bsaul",
  "_cranurl": true,
  "_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/bsaul/inferference/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "boot",
    "checkmate",
    "cli",
    "Formula",
    "geometry",
    "gmp",
    "lattice",
    "linprog",
    "lme4",
    "lpSolve",
    "magic",
    "MASS",
    "Matrix",
    "minqa",
    "nlme",
    "nloptr",
    "numDeriv",
    "pbapply",
    "proxy",
    "rbibutils",
    "Rcpp",
    "RcppEigen",
    "RcppProgress",
    "Rdpack",
    "reformulas",
    "registry",
    "rlang",
    "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": "2015-03-06 14:39:03",
      "modified": "2016-09-04 00:59:21",
      "commits": 4
    },
    {
      "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": "2015-03-07 19:18:48",
      "modified": "2017-09-25 15:24:16",
      "commits": 7
    }
  ],
  "_score": 5.534026106056135,
  "_indexed": true,
  "_nocasepkg": "inferference",
  "_universes": [
    "bsaul"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-06-12T07:18:50.000Z",
      "distro": "noble",
      "commit": "2f0a019aa15effed1cd287f2d2a540e802411bc0",
      "fileid": "https://r2.ropensci.org/cac701c87a78a254197d883fe47ba3220d63c96b1e4300e845ae5b6ad4fbac0a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bsaul/actions/runs/27400670025"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-06-12T07:18:39.000Z",
      "distro": "noble",
      "commit": "2f0a019aa15effed1cd287f2d2a540e802411bc0",
      "fileid": "https://r2.ropensci.org/3aab470488a147a81acd9ab2d0120e1ef391ba9ca7193963e50039088026d2f6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bsaul/actions/runs/27400670025"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-06-12T07:18:23.000Z",
      "commit": "2f0a019aa15effed1cd287f2d2a540e802411bc0",
      "fileid": "https://r2.ropensci.org/1fa3f62489752608159b4e765efa3a94708b662f4c2706bca8fde0877770ea71",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bsaul/actions/runs/27400670025"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-06-12T07:18:36.000Z",
      "commit": "2f0a019aa15effed1cd287f2d2a540e802411bc0",
      "fileid": "https://r2.ropensci.org/a8dd636b0fa61e27a569d830e274bf90be7cce11a744bca4c8846c384b99f927",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bsaul/actions/runs/27400670025"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.3",
      "date": "2026-06-12T07:18:31.000Z",
      "commit": "2f0a019aa15effed1cd287f2d2a540e802411bc0",
      "fileid": "https://r2.ropensci.org/703952d8b3b807f556a5c38b60882a9ffce890dd15041d29e573ccdcdb5a4a9f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/bsaul/actions/runs/27400670025"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-06-12T07:17:51.000Z",
      "commit": "2f0a019aa15effed1cd287f2d2a540e802411bc0",
      "fileid": "https://r2.ropensci.org/f97357ce254f55c465366d6b97bb277b29088587536dc0ac65f19520ab38a611",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bsaul/actions/runs/27400670025"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-06-12T07:17:37.000Z",
      "commit": "2f0a019aa15effed1cd287f2d2a540e802411bc0",
      "fileid": "https://r2.ropensci.org/dae7d336913faf719918491b00fdc0b07a8317ca333ce8bdd995f2d625293c97",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bsaul/actions/runs/27400670025"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-06-12T07:17:47.000Z",
      "commit": "2f0a019aa15effed1cd287f2d2a540e802411bc0",
      "fileid": "https://r2.ropensci.org/42188b3305012830670d9784513dea74aeacba23cb446b3bedd16528cc7ef89f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bsaul/actions/runs/27400670025"
    }
  ]
}