{
  "_id": "6a5db8bb9baadeef8ab53bf7",
  "Package": "NonlinearDiD",
  "Type": "Package",
  "Title": "Staggered Difference-in-Differences with Nonlinear Outcomes",
  "Version": "0.2.0",
  "Description": "Supports staggered difference-in-differences designs with\nnonlinear outcomes for both panel and repeated cross-section\ndata. Implements estimators for staggered treatment adoption\nwith binary, count, and other nonlinear outcomes, extending\nCallaway and Sant'Anna (2021)\n<doi:10.1016/j.jeconom.2020.12.001> to settings with nonlinear\noutcome models such as logit, probit, and Poisson. For panel\ndata, units are followed over time and 'idname' identifies\nrepeated observations. For repeated cross-section data,\nobservations are independent within each time period; 'idname'\nis optional and may identify survey records or households, but\nthe estimator does not require the same units to appear across\nperiods. Repeated cross-section estimation includes pooled\nquasi-maximum likelihood approaches motivated by Wooldridge\n(2023) <doi:10.1093/ectj/utad016>, with optional weighting and\nclustered inference. Methods also draw on Roth and Sant'Anna\n(2023) <doi:10.3982/ECTA19402> and Sant'Anna and Zhao (2020)\n<doi:10.1016/j.jeconom.2020.06.003>.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "URL": "https://github.com/causalfragility-lab/NonlinearDiD",
  "BugReports": "https://github.com/causalfragility-lab/NonlinearDiD/issues",
  "NeedsCompilation": "no",
  "Authors@R": "person(given = \"Subir\",\nfamily = \"Hait\",\nrole = c(\"aut\", \"cre\"),\nemail = \"haitsubi@msu.edu\",\ncomment = c(ORCID = \"0009-0004-9871-9677\"))",
  "Repository": "https://causalfragility-lab.r-universe.dev",
  "Date/Publication": "2026-05-21 11:01:54 UTC",
  "RemoteUrl": "https://github.com/causalfragility-lab/nonlineardid",
  "RemoteRef": "HEAD",
  "RemoteSha": "b12f759a5ad360d345368c9824632ecb5d3dedf6",
  "Packaged": {
    "Date": "2026-07-20 05:52:48 UTC",
    "User": "root"
  },
  "Author": "Subir Hait [aut, cre] (ORCID: <https://orcid.org/0009-0004-9871-9677>)",
  "Maintainer": "Subir Hait <haitsubi@msu.edu>",
  "_user": "causalfragility-lab",
  "_type": "src",
  "_file": "NonlinearDiD_0.2.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/8b0e750291d13f8c94d9e366b2e0d3db3acf2a5d11e52ee6cc2a0d314749d8c7",
  "_filesize": 229917,
  "_sha256": "8b0e750291d13f8c94d9e366b2e0d3db3acf2a5d11e52ee6cc2a0d314749d8c7",
  "_expires": "2026-10-28T05:57:13.000Z",
  "_created": "2026-07-20T05:52:48.000Z",
  "_published": "2026-07-20T05:57:15.280Z",
  "_jobs": [
    {
      "job": 88281432787,
      "time": 188,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8452103748"
    },
    {
      "job": 88281432784,
      "time": 230,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8452113520"
    },
    {
      "job": 88281432804,
      "time": 124,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8452089166"
    },
    {
      "job": 88281432775,
      "time": 118,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8452087869"
    },
    {
      "job": 88280942740,
      "time": 233,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8452059054"
    },
    {
      "job": 88281432766,
      "time": 134,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8452091445"
    },
    {
      "job": 88281432833,
      "time": 135,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8452091421"
    },
    {
      "job": 88281432797,
      "time": 123,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8452089157"
    },
    {
      "job": 88281432796,
      "time": 140,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8452092870"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/causalfragility-lab/actions/runs/29720010700",
  "_status": "success",
  "_upstream": "https://github.com/causalfragility-lab/nonlineardid",
  "_commit": {
    "id": "b12f759a5ad360d345368c9824632ecb5d3dedf6",
    "author": "causalfragility-lab <264290991+causalfragility-lab@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Update README.md",
    "time": 1779361314
  },
  "_maintainer": {
    "name": "Subir Hait",
    "email": "haitsubi@msu.edu",
    "login": "causalfragility-lab",
    "description": "",
    "uuid": 264290991,
    "orcid": "0009-0004-9871-9677"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0.0",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "sandwich",
      "role": "Imports"
    },
    {
      "package": "lmtest",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "did",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    }
  ],
  "_owner": "causalfragility-lab",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-18",
      "n": 6
    },
    {
      "week": "2026-21",
      "n": 6
    }
  ],
  "_tags": [
    {
      "name": "v0.2.0",
      "date": "2026-05-20"
    }
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "causalfragility-lab",
      "count": 12,
      "uuid": 264290991
    }
  ],
  "_userbio": {
    "uuid": 264290991,
    "type": "user",
    "name": "causalfragility-lab",
    "followers": 4
  },
  "_downloads": {
    "count": 237,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/NonlinearDiD"
  },
  "_devurl": "https://github.com/causalfragility-lab/nonlineardid",
  "_searchresults": 2,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/NonlinearDiD.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/causalfragility-lab/nonlineardid",
  "_realowner": "causalfragility-lab",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-05-05"
    },
    {
      "version": "0.2.0",
      "date": "2026-05-20"
    }
  ],
  "_exports": [
    "binary_did_dr",
    "binary_did_logit",
    "binary_did_probit",
    "count_did_poisson",
    "nonlinear_aggte",
    "nonlinear_attgt",
    "nonlinear_bounds",
    "nonlinear_pretest",
    "odds_ratio_did",
    "sim_binary_panel",
    "sim_binary_rcs",
    "sim_count_panel"
  ],
  "_help": [
    {
      "page": "NonlinearDiD-package",
      "title": "NonlinearDiD: Staggered DiD with Nonlinear Outcomes",
      "topics": [
        "NonlinearDiD-package",
        "NonlinearDiD"
      ]
    },
    {
      "page": "binary_did_dr",
      "title": "Doubly-Robust Binary DiD",
      "topics": [
        "binary_did_dr"
      ]
    },
    {
      "page": "binary_did_logit",
      "title": "Binary Outcome DiD: Logit Estimator",
      "topics": [
        "binary_did_logit"
      ]
    },
    {
      "page": "binary_did_probit",
      "title": "Binary Outcome DiD: Probit Estimator",
      "topics": [
        "binary_did_probit"
      ]
    },
    {
      "page": "count_did_poisson",
      "title": "Count Outcome DiD: Poisson Estimator",
      "topics": [
        "count_did_poisson"
      ]
    },
    {
      "page": "nonlinear_aggte",
      "title": "Aggregate ATT(g,t) Estimates for Nonlinear DiD",
      "topics": [
        "nonlinear_aggte"
      ]
    },
    {
      "page": "nonlinear_attgt",
      "title": "Nonlinear Staggered DiD: Group-Time ATT Estimation",
      "topics": [
        "nonlinear_attgt"
      ]
    },
    {
      "page": "nonlinear_bounds",
      "title": "Nonparametric Bounds for Binary Outcomes in Staggered DiD",
      "topics": [
        "nonlinear_bounds"
      ]
    },
    {
      "page": "nonlinear_pretest",
      "title": "Pre-Treatment Parallel Trends Test for Nonlinear DiD",
      "topics": [
        "nonlinear_pretest"
      ]
    },
    {
      "page": "nonlineardid_methods",
      "title": "S3 Methods for NonlinearDiD Objects",
      "topics": [
        "nonlineardid_methods"
      ]
    },
    {
      "page": "odds_ratio_did",
      "title": "Odds-Ratio DiD for Binary Outcomes",
      "topics": [
        "odds_ratio_did"
      ]
    },
    {
      "page": "plot.nonlinear_aggte",
      "title": "Plot Aggregated DiD Estimates",
      "topics": [
        "plot.nonlinear_aggte"
      ]
    },
    {
      "page": "plot.nonlinear_attgt",
      "title": "Plot ATT(g,t) Estimates",
      "topics": [
        "plot.nonlinear_attgt"
      ]
    },
    {
      "page": "sim_binary_panel",
      "title": "Simulate Binary Panel Data with Staggered Treatment",
      "topics": [
        "sim_binary_panel"
      ]
    },
    {
      "page": "sim_binary_rcs",
      "title": "Simulate Binary Repeated Cross-Section Data with Staggered Treatment",
      "topics": [
        "sim_binary_rcs"
      ]
    },
    {
      "page": "sim_count_panel",
      "title": "Simulate Count Panel Data with Staggered Treatment",
      "topics": [
        "sim_count_panel"
      ]
    }
  ],
  "_readme": "https://github.com/causalfragility-lab/nonlineardid/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "lmtest",
    "MASS",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "sandwich",
    "scales",
    "vctrs",
    "viridisLite",
    "withr",
    "zoo"
  ],
  "_score": 3,
  "_indexed": true,
  "_nocasepkg": "nonlineardid",
  "_universes": [
    "causalfragility-lab"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-07-20T05:55:25.000Z",
      "distro": "resolute",
      "commit": "b12f759a5ad360d345368c9824632ecb5d3dedf6",
      "fileid": "https://r2.ropensci.org/b3128490bc5fff53ec5452eb5dc4d56a6a048d0a9e9733d4acc9ed211d0d53b8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/causalfragility-lab/actions/runs/29720010700"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-07-20T05:56:07.000Z",
      "distro": "resolute",
      "commit": "b12f759a5ad360d345368c9824632ecb5d3dedf6",
      "fileid": "https://r2.ropensci.org/725044f6d0378c59dd4d942a976616c7e26c7483bbf3303544aa875f8a671269",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/causalfragility-lab/actions/runs/29720010700"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-07-20T05:54:36.000Z",
      "commit": "b12f759a5ad360d345368c9824632ecb5d3dedf6",
      "fileid": "https://r2.ropensci.org/e318d3f2201e70fddc0ea75588b477c63dc0c26f1365f41f8f357160a9a3deaa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/causalfragility-lab/actions/runs/29720010700"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-07-20T05:54:32.000Z",
      "commit": "b12f759a5ad360d345368c9824632ecb5d3dedf6",
      "fileid": "https://r2.ropensci.org/d4deb7a6394c7c6dbb6f1088ebfa1c530ddc47da8b32345b7177fad722e01778",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/causalfragility-lab/actions/runs/29720010700"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-07-20T05:55:18.000Z",
      "commit": "b12f759a5ad360d345368c9824632ecb5d3dedf6",
      "fileid": "https://r2.ropensci.org/7d1d9b1958085ae6b45adcc75b8ca24f1f81c4c0538044a02e0e793f69278c10",
      "status": "success",
      "buildurl": "https://github.com/r-universe/causalfragility-lab/actions/runs/29720010700"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-07-20T05:54:32.000Z",
      "commit": "b12f759a5ad360d345368c9824632ecb5d3dedf6",
      "fileid": "https://r2.ropensci.org/ba7b8dd3467319ce3bdc7580ddaec63e3231fffa2ec75b02ea506bc1b87cad3c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/causalfragility-lab/actions/runs/29720010700"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-07-20T05:54:16.000Z",
      "commit": "b12f759a5ad360d345368c9824632ecb5d3dedf6",
      "fileid": "https://r2.ropensci.org/466be66865527b4d3cface20827c94b8e4a8876485a5a5ee40c6b4010be48fe7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/causalfragility-lab/actions/runs/29720010700"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-07-20T05:54:31.000Z",
      "commit": "b12f759a5ad360d345368c9824632ecb5d3dedf6",
      "fileid": "https://r2.ropensci.org/808738fc72075d07fa52efaa9f46cc0a0d21a4dac986f62796b05f028a3816d1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/causalfragility-lab/actions/runs/29720010700"
    }
  ]
}