{
  "_id": "6aafa6ef3d719c1f84080454",
  "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://subirhait.r-universe.dev",
  "Date/Publication": "2026-05-21 11:01:54 UTC",
  "RemoteUrl": "https://github.com/subirhait/nonlineardid",
  "RemoteRef": "HEAD",
  "RemoteSha": "b12f759a5ad360d345368c9824632ecb5d3dedf6",
  "Packaged": {
    "Date": "2026-09-20 09:22:31 UTC",
    "User": "root"
  },
  "Author": "Subir Hait [aut, cre] (ORCID: <https://orcid.org/0009-0004-9871-9677>)",
  "Maintainer": "Subir Hait <haitsubi@msu.edu>",
  "_user": "subirhait",
  "_type": "src",
  "_file": "NonlinearDiD_0.2.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/4eaf51df5f742d52cc295e90dbfb5b8f7ebcb607858af3dfc2e2c2324677b4d0",
  "_filesize": 231668,
  "_sha256": "4eaf51df5f742d52cc295e90dbfb5b8f7ebcb607858af3dfc2e2c2324677b4d0",
  "_expires": "2026-12-29T09:27:09.000Z",
  "_created": "2026-09-20T09:22:31.000Z",
  "_published": "2026-09-20T09:27:11.605Z",
  "_jobs": [
    {
      "job": 106055692902,
      "time": 193,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10602328981"
    },
    {
      "job": 106055692883,
      "time": 185,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10602249071"
    },
    {
      "job": 106055692921,
      "time": 141,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10602289201"
    },
    {
      "job": 106055692927,
      "time": 147,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10602358958"
    },
    {
      "job": 106055240945,
      "time": 206,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10602368790"
    },
    {
      "job": 106055692848,
      "time": 132,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10602656957"
    },
    {
      "job": 106055692871,
      "time": 123,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10602119192"
    },
    {
      "job": 106055692954,
      "time": 121,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10602214122"
    },
    {
      "job": 106055692935,
      "time": 126,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10602333921"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/subirhait/actions/runs/35501967519",
  "_status": "success",
  "_upstream": "https://github.com/subirhait/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": "subirhait",
    "linkedin": "in/subirhait",
    "description": "PhD Candidate in Measurement & Quantitative Methods at Michigan State University | Causal inference, sensitivity analysis, and statistical software",
    "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": "subirhait",
  "_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": "subirhait",
      "count": 12,
      "uuid": 264290991
    }
  ],
  "_userbio": {
    "uuid": 264290991,
    "type": "user",
    "name": "Subir Hait",
    "followers": 4,
    "description": "PhD Candidate in Measurement & Quantitative Methods at Michigan State University | Causal inference, sensitivity analysis, and statistical software"
  },
  "_downloads": {
    "count": 281,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/NonlinearDiD"
  },
  "_devurl": "https://github.com/causalfragility-lab/nonlineardid",
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/NonlinearDiD.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/subirhait/nonlineardid",
  "_realowner": "subirhait",
  "_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/subirhait/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": [
    "subirhait",
    "causalfragility-lab"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-09-20T09:25:20.000Z",
      "distro": "resolute",
      "commit": "b12f759a5ad360d345368c9824632ecb5d3dedf6",
      "fileid": "https://r2.ropensci.org/3ba7cdb0d6f01b5eb1ca0fffc179faf1ec3856fb20463346747a12adfd35bd2f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/subirhait/actions/runs/35501967519"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-09-20T09:25:08.000Z",
      "distro": "resolute",
      "commit": "b12f759a5ad360d345368c9824632ecb5d3dedf6",
      "fileid": "https://r2.ropensci.org/a8b1392c713df723e2189c3b74ee1e254adcdfbf8a1eead029e7fa3bc23865be",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/subirhait/actions/runs/35501967519"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-09-20T09:26:05.000Z",
      "commit": "b12f759a5ad360d345368c9824632ecb5d3dedf6",
      "fileid": "https://r2.ropensci.org/956a37280f4e1d66191639f6f38ea02085d026b05b16c292791aed4d67baa2d9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/subirhait/actions/runs/35501967519"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-09-20T09:26:13.000Z",
      "commit": "b12f759a5ad360d345368c9824632ecb5d3dedf6",
      "fileid": "https://r2.ropensci.org/8658203ebfb0ebeba318042a00fd5b11ee6f2565a948dc78eb00f743f0c52bc8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/subirhait/actions/runs/35501967519"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-09-20T09:24:59.000Z",
      "commit": "b12f759a5ad360d345368c9824632ecb5d3dedf6",
      "fileid": "https://r2.ropensci.org/9668a45773e79656c91058148b3939e2039cb5832ce69a8bc416576e5ede374a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/subirhait/actions/runs/35501967519"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-09-20T09:23:56.000Z",
      "commit": "b12f759a5ad360d345368c9824632ecb5d3dedf6",
      "fileid": "https://r2.ropensci.org/a447e37b09ab6b5e5f3d098886b35d7f5b05dfc4f40fd8c29751a3f78d5456a8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/subirhait/actions/runs/35501967519"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-09-20T09:24:07.000Z",
      "commit": "b12f759a5ad360d345368c9824632ecb5d3dedf6",
      "fileid": "https://r2.ropensci.org/0ec0ae3f1aa4ee7f84298ea24fcff26ccd03a8bb903afa0158b112cb3ee93644",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/subirhait/actions/runs/35501967519"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-09-20T09:24:10.000Z",
      "commit": "b12f759a5ad360d345368c9824632ecb5d3dedf6",
      "fileid": "https://r2.ropensci.org/c5d250d1b2dcc0c5be3301915ae1219934757c82cfad7d2c21eb1e01694a00d5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/subirhait/actions/runs/35501967519"
    }
  ]
}