{
  "_id": "6ad720ccd556c3a3418a6a9c",
  "Package": "endogeneity",
  "Type": "Package",
  "Title": "Recursive Two-Stage Models to Address Endogeneity",
  "Version": "2.1.6",
  "Authors@R": "person(given = \"Jing\",\nfamily = \"Peng\",\nrole = c(\"aut\", \"cre\"),\nemail = \"jing.peng@uconn.edu\")",
  "Maintainer": "Jing Peng <jing.peng@uconn.edu>",
  "Description": "Various recursive two-stage models to address the\nendogeneity issue of treatment variables in observational study\nor mediators in experiments. The details of the models are\ndiscussed in Peng (2023) <doi:10.1287/isre.2022.1113>.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "Config/roxygen2/version": "8.0.0",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-20 07:59:08 UTC",
    "User": "root"
  },
  "Author": "Jing Peng [aut, cre]",
  "Repository": "https://jnpeng.r-universe.dev",
  "Date/Publication": "2026-07-22 06:46:03 UTC",
  "RemoteUrl": "https://github.com/cran/endogeneity",
  "RemoteRef": "HEAD",
  "RemoteSha": "9fc7aac189c00c69758671c4529005ad54fe8c95",
  "_user": "jnpeng",
  "_type": "src",
  "_file": "endogeneity_2.1.6.tar.gz",
  "_fileid": "https://r2.ropensci.org/ae1c50044516de58e9056b3b07923d39b77fb4c8e91e4abf72d598e7738f17c2",
  "_filesize": 254482,
  "_sha256": "ae1c50044516de58e9056b3b07923d39b77fb4c8e91e4abf72d598e7738f17c2",
  "_expires": "2027-01-28T08:05:30.000Z",
  "_created": "2026-10-20T07:59:08.000Z",
  "_published": "2026-10-20T08:05:32.551Z",
  "_upstream": "https://github.com/cran/endogeneity",
  "_status": "success",
  "_maintainer": {
    "name": "Jing Peng",
    "email": "jing.peng@uconn.edu",
    "login": "jnpeng",
    "description": "",
    "uuid": 120291617
  },
  "_jobs": [
    {
      "job": 118519672065,
      "time": 111,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12249566160"
    },
    {
      "job": 118519671983,
      "time": 134,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12248988012"
    },
    {
      "job": 118519672058,
      "time": 137,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12249371424"
    },
    {
      "job": 118519672174,
      "time": 129,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12249815055"
    },
    {
      "job": 118519672196,
      "time": 106,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12249710492"
    },
    {
      "job": 118519672239,
      "time": 336,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12249865503"
    },
    {
      "job": 118519672351,
      "time": 120,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12249261686"
    },
    {
      "job": 118519672401,
      "time": 192,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12249436840"
    },
    {
      "job": 118518399770,
      "time": 207,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12249645643"
    },
    {
      "job": 118519671954,
      "time": 105,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12248864305"
    },
    {
      "job": 118519672300,
      "time": 242,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12249566589"
    },
    {
      "job": 118519672282,
      "time": 145,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12248809273"
    },
    {
      "job": 118519672170,
      "time": 121,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12249426702"
    },
    {
      "job": 118519672332,
      "time": 186,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12249382086"
    },
    {
      "job": 118519672176,
      "time": 92,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12249192353"
    }
  ],
  "_buildurl": "https://github.com/r-universe/jnpeng/actions/runs/39389793690",
  "_commit": {
    "id": "9fc7aac189c00c69758671c4529005ad54fe8c95",
    "author": "Jing Peng <jing.peng@uconn.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 2.1.6\n",
    "time": 1784702763
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "pbivnorm",
      "role": "Imports"
    },
    {
      "package": "maxLik",
      "role": "Imports"
    },
    {
      "package": "statmod",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-30",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "2.1.6",
      "date": "2026-07-22"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "jnpeng",
      "count": 6,
      "uuid": 120291617
    }
  ],
  "_userbio": {
    "uuid": 120291617,
    "type": "user",
    "name": "jnpeng",
    "followers": 0
  },
  "_downloads": {
    "count": 348,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/endogeneity"
  },
  "_searchresults": 3,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/endogeneity.html",
    "extra/manual.pdf"
  ],
  "_realowner": "jnpeng",
  "_cranurl": false,
  "_releases": [
    {
      "version": "2.0.1",
      "date": "2022-02-03"
    },
    {
      "version": "2.1.2",
      "date": "2022-12-03"
    },
    {
      "version": "2.1.3",
      "date": "2023-08-21"
    },
    {
      "version": "2.1.4",
      "date": "2025-01-17"
    },
    {
      "version": "2.1.5",
      "date": "2025-10-13"
    },
    {
      "version": "2.1.6",
      "date": "2026-07-22"
    }
  ],
  "_exports": [
    "bilinear",
    "biprobit",
    "biprobit_latent",
    "biprobit_partial",
    "linear_probit",
    "pln",
    "pln_linear",
    "pln_probit",
    "probit_linear",
    "probit_linear_latent",
    "probit_linear_partial",
    "probit_linearRE"
  ],
  "_help": [
    {
      "page": "bilinear",
      "title": "Recusrive Bivariate Linear Model",
      "concept": [
        "endogeneity"
      ],
      "topics": [
        "bilinear"
      ]
    },
    {
      "page": "biprobit",
      "title": "Recusrive Bivariate Probit Model",
      "concept": [
        "endogeneity"
      ],
      "topics": [
        "biprobit"
      ]
    },
    {
      "page": "biprobit_latent",
      "title": "Recursive Bivariate Probit Model with Latent First Stage",
      "concept": [
        "endogeneity"
      ],
      "topics": [
        "biprobit_latent"
      ]
    },
    {
      "page": "biprobit_partial",
      "title": "Recursive Bivariate Probit Model with Partially Observed First Stage",
      "concept": [
        "endogeneity"
      ],
      "topics": [
        "biprobit_partial"
      ]
    },
    {
      "page": "endogeneity",
      "title": "Recursive two-stage models to address endogeneity",
      "topics": [
        "endogeneity"
      ]
    },
    {
      "page": "linear_probit",
      "title": "Recursive Linear-Probit Model",
      "concept": [
        "endogeneity"
      ],
      "topics": [
        "linear_probit"
      ]
    },
    {
      "page": "pln",
      "title": "Poisson Lognormal Model",
      "topics": [
        "pln"
      ]
    },
    {
      "page": "pln_linear",
      "title": "Recursive PLN-Linear Model",
      "concept": [
        "endogeneity"
      ],
      "topics": [
        "pln_linear"
      ]
    },
    {
      "page": "pln_probit",
      "title": "Recursive PLN-Probit Model",
      "concept": [
        "endogeneity"
      ],
      "topics": [
        "pln_probit"
      ]
    },
    {
      "page": "probit_linear",
      "title": "Recursive Probit-Linear Model",
      "concept": [
        "endogeneity"
      ],
      "topics": [
        "probit_linear"
      ]
    },
    {
      "page": "probit_linear_latent",
      "title": "Recursive Probit-Linear Model with Latent First Stage",
      "concept": [
        "endogeneity"
      ],
      "topics": [
        "probit_linear_latent"
      ]
    },
    {
      "page": "probit_linear_partial",
      "title": "Recursive Probit-Linear Model with Partially Observed First Stage",
      "concept": [
        "endogeneity"
      ],
      "topics": [
        "probit_linear_partial"
      ]
    },
    {
      "page": "probit_linearRE",
      "title": "Recursive Probit-LinearRE Model",
      "concept": [
        "endogeneity"
      ],
      "topics": [
        "probit_linearRE"
      ]
    }
  ],
  "_rundeps": [
    "data.table",
    "digest",
    "generics",
    "lattice",
    "MASS",
    "maxLik",
    "miscTools",
    "pbivnorm",
    "Rcpp",
    "RcppArmadillo",
    "sandwich",
    "statmod",
    "zoo"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "vignette.Rmd",
      "filename": "vignette.html",
      "title": "Recursive Two-Stage Models to Address Endogeneity",
      "author": "Jing Peng",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1. Introduction",
        "2. Models",
        "2.1. biprobit",
        "2.2. biprobit_latent and biprobit_partial",
        "2.3. probit_linear",
        "2.4. probit_linear_latent and probit_linear_partial",
        "2.5. probit_linearRE",
        "2.6. pln_linear",
        "2.7. pln_probit",
        "3. Examples",
        "4. Notes",
        "Citations"
      ],
      "created": "2022-12-03 07:10:02",
      "modified": "2023-08-21 04:30:30",
      "commits": 2
    }
  ],
  "_score": 2,
  "_indexed": true,
  "_nocasepkg": "endogeneity",
  "_universes": [
    "jnpeng"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.1.6",
      "date": "2026-10-20T08:00:56.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "9fc7aac189c00c69758671c4529005ad54fe8c95",
      "fileid": "https://r2.ropensci.org/9055ef24d82e19cbca87d5eed533f922ace83b2f15829cf83ba16a26c8caf76c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jnpeng/actions/runs/39389793690"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.1.6",
      "date": "2026-10-20T08:01:13.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "9fc7aac189c00c69758671c4529005ad54fe8c95",
      "fileid": "https://r2.ropensci.org/380fb30d9b088179d90e8f36418cd1c5448269dff23f2efec02448c25d3729ce",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jnpeng/actions/runs/39389793690"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.1.6",
      "date": "2026-10-20T08:01:25.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "9fc7aac189c00c69758671c4529005ad54fe8c95",
      "fileid": "https://r2.ropensci.org/ca900bbec871f8d2bd996ecb33ce3c27340fd55337504317d64f5d0869b80bab",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jnpeng/actions/runs/39389793690"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.1.6",
      "date": "2026-10-20T08:01:07.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "9fc7aac189c00c69758671c4529005ad54fe8c95",
      "fileid": "https://r2.ropensci.org/ca2b9400ab2fba69c93fe71bf6aa70892271d88650be743edf887cc63c008892",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jnpeng/actions/runs/39389793690"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.1.6",
      "date": "2026-10-20T08:01:01.000Z",
      "arch": "aarch64",
      "commit": "9fc7aac189c00c69758671c4529005ad54fe8c95",
      "fileid": "https://r2.ropensci.org/3ca422b293511c5e835ca465518e27b5140dad941b5cb24f62824933850a323a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jnpeng/actions/runs/39389793690"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.1.6",
      "date": "2026-10-20T08:03:29.000Z",
      "arch": "x86_64",
      "commit": "9fc7aac189c00c69758671c4529005ad54fe8c95",
      "fileid": "https://r2.ropensci.org/8828ede80b1f821de807ec2726a59ffafcbe441a6396be8592793efa85a23ec3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jnpeng/actions/runs/39389793690"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.1.6",
      "date": "2026-10-20T08:01:07.000Z",
      "arch": "aarch64",
      "commit": "9fc7aac189c00c69758671c4529005ad54fe8c95",
      "fileid": "https://r2.ropensci.org/92f5efee5276e217f42a96f3784f1f0acdfde6a28489a592d86b375f74782f85",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jnpeng/actions/runs/39389793690"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.1.6",
      "date": "2026-10-20T08:01:49.000Z",
      "arch": "x86_64",
      "commit": "9fc7aac189c00c69758671c4529005ad54fe8c95",
      "fileid": "https://r2.ropensci.org/556bad8c44333c616737a4bde439a5c2dc714c9ed553ddff8cd585ec42ad4862",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jnpeng/actions/runs/39389793690"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.1.6",
      "date": "2026-10-20T08:01:07.000Z",
      "arch": "emscripten",
      "commit": "9fc7aac189c00c69758671c4529005ad54fe8c95",
      "fileid": "https://r2.ropensci.org/168e216f3a2962d64e6ae3d6d82ef407cf6f11ce6590d347cda01b27102077c6",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jnpeng/actions/runs/39389793690"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.1.6",
      "date": "2026-10-20T08:02:52.000Z",
      "arch": "aarch64",
      "commit": "9fc7aac189c00c69758671c4529005ad54fe8c95",
      "fileid": "https://r2.ropensci.org/49d41295303ff8dd559ae366bc89bad839680e9e61068de3f9f1fcf13d6fffff",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jnpeng/actions/runs/39389793690"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.1.6",
      "date": "2026-10-20T08:00:30.000Z",
      "arch": "x86_64",
      "commit": "9fc7aac189c00c69758671c4529005ad54fe8c95",
      "fileid": "https://r2.ropensci.org/c0a001aa77efdb2788532d27ed476adf33049fa5f16a7956e8790e6ca60e2abf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jnpeng/actions/runs/39389793690"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.1.6",
      "date": "2026-10-20T08:00:24.000Z",
      "arch": "x86_64",
      "commit": "9fc7aac189c00c69758671c4529005ad54fe8c95",
      "fileid": "https://r2.ropensci.org/58e6006ea7c3709a3f1c8c6cf485d354aea2101cc744abf8f2e2992c7fc0ef1c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jnpeng/actions/runs/39389793690"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.1.6",
      "date": "2026-10-20T08:01:56.000Z",
      "arch": "aarch64",
      "commit": "9fc7aac189c00c69758671c4529005ad54fe8c95",
      "fileid": "https://r2.ropensci.org/c4ba62c7ab27d1b1491cb4175be1a7e928b460272d8c749ac63973d12c4972d3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jnpeng/actions/runs/39389793690"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.1.6",
      "date": "2026-10-20T08:00:22.000Z",
      "arch": "x86_64",
      "commit": "9fc7aac189c00c69758671c4529005ad54fe8c95",
      "fileid": "https://r2.ropensci.org/75985f5ac73b92bce41deaae781377e3f54216451c9bb9c469bc5b8a9eb2862e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jnpeng/actions/runs/39389793690"
    }
  ]
}