{
  "_id": "6a0f5ee5acfb0bcc41c5ae86",
  "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-05-21 14:13:49 UTC",
    "User": "root"
  },
  "Author": "Subir Hait [aut, cre] (ORCID: <https://orcid.org/0009-0004-9871-9677>)",
  "Maintainer": "Subir Hait <haitsubi@msu.edu>",
  "MD5sum": "ce22761b49336d8364840a4a8a7c9684",
  "_user": "causalfragility-lab",
  "_type": "src",
  "_file": "NonlinearDiD_0.2.0.tar.gz",
  "_fileid": "710781c0f7cff9ec82d5666efb6da560c8bcb9c1c74f314cb69ca1702d8a4366",
  "_filesize": 227981,
  "_sha256": "710781c0f7cff9ec82d5666efb6da560c8bcb9c1c74f314cb69ca1702d8a4366",
  "_created": "2026-05-21T14:13:49.000Z",
  "_published": "2026-05-21T19:37:09.828Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77253419446,
      "time": 181,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7138247173"
    },
    {
      "job": 77253419352,
      "time": 177,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7138246282"
    },
    {
      "job": 77253419427,
      "time": 157,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7138258563"
    },
    {
      "job": 77253419204,
      "time": 104,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7138315046"
    },
    {
      "job": 77253418967,
      "time": 210,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7138170366"
    },
    {
      "job": 77253418834,
      "time": 137,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7145420806"
    },
    {
      "job": 77253419290,
      "time": 140,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7138229520"
    },
    {
      "job": 77253419926,
      "time": 121,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7138222383"
    },
    {
      "job": 77253419345,
      "time": 193,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7138254386"
    }
  ],
  "_buildurl": "https://github.com/r-universe/causalfragility-lab/actions/runs/26231321098",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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
  },
  "_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": 0,
  "_contributors": [
    {
      "user": "causalfragility-lab",
      "count": 12,
      "uuid": 264290991
    }
  ],
  "_userbio": {
    "uuid": 264290991,
    "type": "user",
    "name": "causalfragility-lab"
  },
  "_downloads": {
    "count": 202,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/NonlinearDiD"
  },
  "_devurl": "https://github.com/causalfragility-lab/nonlineardid",
  "_searchresults": 0,
  "_rbuild": "4.6.0",
  "_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",
    "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-05-21T14:16:38.000Z",
      "distro": "noble",
      "commit": "b12f759a5ad360d345368c9824632ecb5d3dedf6",
      "fileid": "68db173520d1405835cacccca0752d9465f748f42116b53f1cf04ba815abe407",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/causalfragility-lab/actions/runs/26231321098"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-05-21T14:16:21.000Z",
      "distro": "noble",
      "commit": "b12f759a5ad360d345368c9824632ecb5d3dedf6",
      "fileid": "83886238d8806280098964c6a770126277722177a56a1dbb6a190cc9c3350ab6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/causalfragility-lab/actions/runs/26231321098"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-05-21T14:16:52.000Z",
      "commit": "b12f759a5ad360d345368c9824632ecb5d3dedf6",
      "fileid": "7609b3227eb2763111afa501bbfaf1c75ac31997c2f8916a40f9ce79ff49e7c1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/causalfragility-lab/actions/runs/26231321098"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-05-21T14:19:16.000Z",
      "commit": "b12f759a5ad360d345368c9824632ecb5d3dedf6",
      "fileid": "c82b58c6bf0d2375f5ffc12d5f4e865c05bfa1eb2e9a2bf99188f1f1269a6fae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/causalfragility-lab/actions/runs/26231321098"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-05-21T19:36:51.000Z",
      "commit": "b12f759a5ad360d345368c9824632ecb5d3dedf6",
      "fileid": "c405cd3efa3d3738083f5ed5a6184caf19bc5fbb461d07d8835658f367222b1e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/causalfragility-lab/actions/runs/26231321098"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-05-21T14:15:34.000Z",
      "commit": "b12f759a5ad360d345368c9824632ecb5d3dedf6",
      "fileid": "a257b18ff54c58fd4f94c4843a39f47f963a4f281544b537cd5b0be03d30b759",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/causalfragility-lab/actions/runs/26231321098"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-05-21T14:15:18.000Z",
      "commit": "b12f759a5ad360d345368c9824632ecb5d3dedf6",
      "fileid": "cd0b82e04d23723ce6961fc6216431aed622aed7bf5b111cc6098dd01986b11a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/causalfragility-lab/actions/runs/26231321098"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-05-21T14:16:38.000Z",
      "commit": "b12f759a5ad360d345368c9824632ecb5d3dedf6",
      "fileid": "5a74c1af13fd39ff3c5a3ffe08ffa580764b81d4971da05a12e02db808dcbca2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/causalfragility-lab/actions/runs/26231321098"
    }
  ]
}