{
  "_id": "6ac7879ede46216d5edd1b52",
  "Package": "heterogeneouspeereffects",
  "Title": "Heterogeneous Peer Effect",
  "Version": "0.1.0",
  "Authors@R": "c(\nperson(\"Felix\", \"Pasquier\", , \"felix.pasquier@ensae.fr\", role = \"aut\"),\nperson(\"Laurine\", \"Meier\", , \"laurine.meier@ensae.fr\", role = c(\"aut\", \"cre\")),\nperson(\"Pauline\", \"Rossi\", , \"pauline.rossi@ensae.fr\", role = \"aut\")\n)",
  "Description": "Heterogeneous Peer Effect Package provides two-step\nGeneralized Method of Moments (GMM) estimators for\nheterogeneous peer effects in group-level treatment models\ndeveloped by Pasquier, Rossi and Wang (2026)\n<https://crest.science/wp-content/uploads/2026/09/2026-11.pdf>.\nThe package separates the direct effect of treatment from\nwithin-group and between-group spillover effects, using a\ncross-fitted, semiparametric approach that leaves the\npropensity score unspecified and estimates it\nnonparametrically. Two identification settings are implemented:\none in which eligibility for treatment coincides with group\nidentity, and one in which identity is orthogonal to\neligibility, allowing peer effects to differ across subgroups\n(e.g. by gender). Point estimates, standard errors, and test\nstatistics are returned for the direct effect and for each\nwithin- and between-group peer effect.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Config/testthat/edition": "3",
  "Author": "Felix Pasquier [aut], Laurine Meier [aut, cre], Pauline Rossi\n[aut]",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-08 11:47:25 UTC",
    "User": "root"
  },
  "Maintainer": "Laurine Meier <laurine.meier@ensae.fr>",
  "URL": "https://github.com/LaurineMir/heterogeneouspeereffects",
  "BugReports": "https://github.com/LaurineMir/heterogeneouspeereffects/issues",
  "Config/pak/sysreqs": "libcairo2-dev cmake libfontconfig1-dev\nlibfreetype6-dev libfribidi-dev make libharfbuzz-dev libicu-dev\nlibjpeg-dev libpng-dev libtiff-dev libuv1-dev libwebp-dev\nlibxml2-dev libssl-dev",
  "Repository": "https://laurinemir.r-universe.dev",
  "Date/Publication": "2026-09-28 10:08:37 UTC",
  "RemoteUrl": "https://github.com/laurinemir/heterogeneouspeereffects",
  "RemoteRef": "HEAD",
  "RemoteSha": "189f88c6924506639ac496a02958d8734f350740",
  "_user": "laurinemir",
  "_type": "src",
  "_file": "heterogeneouspeereffects_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/fb3cd42f4d3f2aa06c372c66c6252eda6d753c3ebae8c589c1a373351f7c9c77",
  "_filesize": 112097,
  "_sha256": "fb3cd42f4d3f2aa06c372c66c6252eda6d753c3ebae8c589c1a373351f7c9c77",
  "_expires": "2027-01-16T12:07:56.000Z",
  "_created": "2026-10-08T11:47:25.000Z",
  "_published": "2026-10-08T12:07:58.236Z",
  "_buildurl": "https://github.com/r-universe/laurinemir/actions/runs/37771922233",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 113294964359,
      "time": 134,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11548557969"
    },
    {
      "job": 113294964371,
      "time": 142,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11548203772"
    },
    {
      "job": 113294964270,
      "time": 219,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11549216494"
    },
    {
      "job": 113294964413,
      "time": 253,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11549696004"
    },
    {
      "job": 113293451541,
      "time": 241,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11547853869"
    },
    {
      "job": 113294964465,
      "time": 134,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11548313099"
    },
    {
      "job": 113294964428,
      "time": 94,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11548367995"
    },
    {
      "job": 113294964436,
      "time": 143,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11547693666"
    },
    {
      "job": 113294964454,
      "time": 101,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11548702711"
    }
  ],
  "_upstream": "https://github.com/laurinemir/heterogeneouspeereffects",
  "_commit": {
    "id": "189f88c6924506639ac496a02958d8734f350740",
    "author": "laurinemeier <laurinemeier@gmail.com>",
    "committer": "laurinemeier <laurinemeier@gmail.com>",
    "message": "adding space and retrieving seed\n",
    "time": 1790590117
  },
  "_maintainer": {
    "name": "Laurine Meier",
    "email": "laurine.meier@ensae.fr"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "flextable",
      "role": "Imports"
    },
    {
      "package": "caret",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "mvtnorm",
      "role": "Imports"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "laurinemir",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-35",
      "n": 4
    },
    {
      "week": "2026-36",
      "n": 7
    },
    {
      "week": "2026-38",
      "n": 1
    },
    {
      "week": "2026-40",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "laurinemir",
      "count": 13,
      "uuid": 121399552
    }
  ],
  "_userbio": {
    "uuid": 121399552,
    "type": "user",
    "name": "LaurineMir",
    "followers": 2
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/heterogeneouspeereffects"
  },
  "_devurl": "https://github.com/laurinemir/heterogeneouspeereffects",
  "_searchresults": 0,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/heterogeneouspeereffects.html",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/laurinemir/heterogeneouspeereffects",
  "_realowner": "laurinemir",
  "_cranurl": true,
  "_exports": [
    "heter_endo_gmm",
    "ortho_heter_endo_gmm"
  ],
  "_help": [
    {
      "page": "heter_endo_gmm",
      "title": "Two-Step GMM Estimation of Heterogeneous Peer Effects When Identity Equals Eligibility",
      "topics": [
        "heter_endo_gmm"
      ]
    },
    {
      "page": "ortho_heter_endo_gmm",
      "title": "Two-Step GMM Estimation of Heterogeneous Peer Effects with Orthogonal Identity-Based Eligibility",
      "topics": [
        "ortho_heter_endo_gmm"
      ]
    }
  ],
  "_readme": "https://github.com/laurinemir/heterogeneouspeereffects/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "base64enc",
    "bslib",
    "cachem",
    "caret",
    "class",
    "cli",
    "clock",
    "codetools",
    "cpp11",
    "data.table",
    "diagram",
    "digest",
    "dplyr",
    "e1071",
    "evaluate",
    "farver",
    "fastmap",
    "flextable",
    "fontawesome",
    "fontBitstreamVera",
    "fontLiberation",
    "fontquiver",
    "foreach",
    "fs",
    "future",
    "future.apply",
    "gdtools",
    "generics",
    "ggplot2",
    "globals",
    "glue",
    "gower",
    "gtable",
    "hardhat",
    "highr",
    "htmltools",
    "ipred",
    "isoband",
    "iterators",
    "jquerylib",
    "jsonlite",
    "KernSmooth",
    "knitr",
    "labeling",
    "lattice",
    "lava",
    "lifecycle",
    "listenv",
    "lubridate",
    "magrittr",
    "MASS",
    "Matrix",
    "memoise",
    "mime",
    "ModelMetrics",
    "mvtnorm",
    "nlme",
    "nnet",
    "numDeriv",
    "officer",
    "openssl",
    "parallelly",
    "pillar",
    "pkgconfig",
    "plyr",
    "pROC",
    "prodlim",
    "progressr",
    "proxy",
    "purrr",
    "R6",
    "ragg",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "recipes",
    "reshape2",
    "rlang",
    "rmarkdown",
    "rpart",
    "S7",
    "sass",
    "scales",
    "shape",
    "sparsevctrs",
    "SQUAREM",
    "stringi",
    "stringr",
    "survival",
    "sys",
    "systemfonts",
    "textshaping",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "timeDate",
    "tinytex",
    "tzdb",
    "utf8",
    "uuid",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "xml2",
    "yaml",
    "zip"
  ],
  "_vignettes": [
    {
      "source": "Intro_to_ortho_heter_endo_gmm.Rmd",
      "filename": "Intro_to_ortho_heter_endo_gmm.html",
      "title": "Introduction to ortho_heter_endo_gmm in order to estimate heterogeneous peer effects when identity is orthogonal to eligibility",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Heterogeneous Peer Effects",
        "Assumptions",
        "Data Requirements",
        "Estimation Procedure",
        "Usage Examples",
        "Estimating delta, theta_within, and theta_between:",
        "Outcomes"
      ],
      "created": "2026-08-28 12:11:27",
      "modified": "2026-08-28 12:11:27",
      "commits": 1
    },
    {
      "source": "Intro_to_heter_endo_gmm.Rmd",
      "filename": "Intro_to_heter_endo_gmm.html",
      "title": "Introduction to heter_endo_gmm in order to estimate heterogeneous peer effect when identity equals eligibility",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Heterogeneous Peer Effects",
        "Assumptions",
        "Data Requirements",
        "Estimation Procedure",
        "Usage Examples",
        "Estimating delta, theta_within, and theta_between with 5 parameters:",
        "Estimating with a 3-parameter model:",
        "Outcomes"
      ],
      "created": "2026-08-28 12:11:27",
      "modified": "2026-08-28 12:11:27",
      "commits": 1
    }
  ],
  "_score": 4.6020599913279625,
  "_indexed": true,
  "_nocasepkg": "heterogeneouspeereffects",
  "_universes": [
    "laurinemir"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-08T11:49:33.000Z",
      "distro": "resolute",
      "commit": "189f88c6924506639ac496a02958d8734f350740",
      "fileid": "https://r2.ropensci.org/758b896dc76f7d529dfe002c08d4dd57e68dd4dee718d0791cc6d57e7be40a3e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/laurinemir/actions/runs/37771922233"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-08T11:49:36.000Z",
      "distro": "resolute",
      "commit": "189f88c6924506639ac496a02958d8734f350740",
      "fileid": "https://r2.ropensci.org/df849401702f6731303d796778e21cf99cdf6088834afee00d85996a27893fab",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/laurinemir/actions/runs/37771922233"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-08T12:05:37.000Z",
      "commit": "189f88c6924506639ac496a02958d8734f350740",
      "fileid": "https://r2.ropensci.org/93e791f24f6aac167fb72d5df6b68fb25767a13b7665e3f1e122b269f2bf8f99",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/laurinemir/actions/runs/37771922233"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-08T12:05:32.000Z",
      "commit": "189f88c6924506639ac496a02958d8734f350740",
      "fileid": "https://r2.ropensci.org/fa38097bce0e8a782b481132cc3839d9664814b70f02e3d7828cb01cf661700a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/laurinemir/actions/runs/37771922233"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-10-08T11:49:51.000Z",
      "commit": "189f88c6924506639ac496a02958d8734f350740",
      "fileid": "https://r2.ropensci.org/673f7bd9c29c53b633264b39b180021a662bb887aef6fbb1b70440981f72fde1",
      "status": "success",
      "buildurl": "https://github.com/r-universe/laurinemir/actions/runs/37771922233"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-08T11:48:34.000Z",
      "commit": "189f88c6924506639ac496a02958d8734f350740",
      "fileid": "https://r2.ropensci.org/5d690963fd6f8aa8b4442bf253a9a6d0f0da471ca98156042a52761b23ec825f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/laurinemir/actions/runs/37771922233"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-08T11:49:01.000Z",
      "commit": "189f88c6924506639ac496a02958d8734f350740",
      "fileid": "https://r2.ropensci.org/d11051f6c1a8137206fd5478f4847d7850285b0f622e97c97b236da79282956f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/laurinemir/actions/runs/37771922233"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-08T11:48:34.000Z",
      "commit": "189f88c6924506639ac496a02958d8734f350740",
      "fileid": "https://r2.ropensci.org/23966707575e29466376c8ba9143db38acea0e2889759e93b656fe54947b507e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/laurinemir/actions/runs/37771922233"
    }
  ]
}