{
  "_id": "6a1f2cc1b401979e73426230",
  "Package": "selectTWFE",
  "Type": "Package",
  "Title": "Model Selection Between TWFE and ETWFE",
  "Version": "0.2.1",
  "Authors@R": "person(\"Paul\", \"von Hippel\", role = c(\"aut\", \"cre\"),\nemail = \"ph3828@eid.utexas.edu\")",
  "Description": "Estimates both a vanilla two-way fixed effects (TWFE)\nmodel and an extended TWFE (ETWFE) model, then selects between\nthem using Cochran's Q test for heterogeneity. When ETWFE wins,\nreports the heterogeneity fraction (I-squared) and cohort-time\nestimates with empirical Bayes shrinkage and Bonferroni\nmultiplicity correction. Methods build on Wooldridge (2025)\n<doi:10.1007/s00181-025-02807-z> and Callaway and Sant'Anna\n(2021) <doi:10.1016/j.jeconom.2020.12.001>.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/roxygen2/version": "8.0.0",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-02 19:16:32 UTC",
    "User": "root"
  },
  "Author": "Paul von Hippel [aut, cre]",
  "Maintainer": "Paul von Hippel <ph3828@eid.utexas.edu>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-06-02 11:20:02 UTC",
  "RemoteUrl": "https://github.com/cran/selectTWFE",
  "RemoteRef": "HEAD",
  "RemoteSha": "86ec39a73ecd4a0240e6806eeb543c984dc118c3",
  "MD5sum": "9e343ba45e3b8d7b21921b83079ecf78",
  "_user": "cran",
  "_type": "src",
  "_file": "selectTWFE_0.2.1.tar.gz",
  "_fileid": "e33f24ca30a8430ecc39c1e73afaaeeb89b4f3a67eccbad1896e5d0747fc43b3",
  "_filesize": 372147,
  "_sha256": "e33f24ca30a8430ecc39c1e73afaaeeb89b4f3a67eccbad1896e5d0747fc43b3",
  "_created": "2026-06-02T19:16:32.000Z",
  "_published": "2026-06-02T19:19:29.077Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79152796199,
      "time": 138,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7367562674"
    },
    {
      "job": 79152796186,
      "time": 146,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7367565576"
    },
    {
      "job": 79152269860,
      "time": 168,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7367512176"
    },
    {
      "job": 79152796265,
      "time": 116,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7367554670"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/26841778141",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/selectTWFE",
  "_commit": {
    "id": "86ec39a73ecd4a0240e6806eeb543c984dc118c3",
    "author": "Paul von Hippel <ph3828@eid.utexas.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.2.1\n",
    "time": 1780399202
  },
  "_maintainer": {
    "name": "Paul von Hippel",
    "email": "ph3828@eid.utexas.edu"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "etwfe",
      "role": "Imports"
    },
    {
      "package": "fixest",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-23",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.2.1",
      "date": "2026-06-02"
    }
  ],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/selectTWFE"
  },
  "_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/selectTWFE.html",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.2.1",
      "date": "2026-06-02"
    }
  ],
  "_exports": [
    "select_twfe"
  ],
  "_datasets": [
    {
      "name": "mpdta",
      "title": "Minimum wage and teen employment data",
      "object": "mpdta",
      "class": [
        "data.frame"
      ],
      "fields": [
        "year",
        "countyreal",
        "lpop",
        "lemp",
        "first.treat",
        "treat"
      ],
      "rows": 2500,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "mpdta",
      "title": "Minimum wage and teen employment data",
      "topics": [
        "mpdta"
      ]
    },
    {
      "page": "plot.select_twfe",
      "title": "Plot method for select_twfe objects",
      "topics": [
        "plot.select_twfe"
      ]
    },
    {
      "page": "print.select_twfe",
      "title": "Print method for select_twfe objects",
      "topics": [
        "print.select_twfe"
      ]
    },
    {
      "page": "print.summary.select_twfe",
      "title": "Print method for summary.select_twfe objects",
      "topics": [
        "print.summary.select_twfe"
      ]
    },
    {
      "page": "select_twfe",
      "title": "Select a model for two-way fixed effects",
      "topics": [
        "select_twfe"
      ]
    },
    {
      "page": "summary.select_twfe",
      "title": "Summary method for select_twfe objects",
      "topics": [
        "summary.select_twfe"
      ]
    }
  ],
  "_rundeps": [
    "backports",
    "checkmate",
    "cli",
    "cpp11",
    "data.table",
    "dreamerr",
    "etwfe",
    "farver",
    "fixest",
    "Formula",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "insight",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "marginaleffects",
    "nlme",
    "numDeriv",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "S7",
    "sandwich",
    "scales",
    "stringmagic",
    "tinyplot",
    "vctrs",
    "viridisLite",
    "withr",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "select_twfe.Rmd",
      "filename": "select_twfe.html",
      "title": "Model Selection in Two-Way Fixed Effects Models",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Installation",
        "Example 1: Real Data (mpdta)",
        "Example 2: Simulation --- Homogeneous Effects (TWFE Should Win)",
        "Example 3: Simulation --- Substantial Heterogeneous Effects (ETWFE Should Win)",
        "Example 4: Simulation --- Very Mild Heterogeneity with Small Sample",
        "Monte Carlo Validation",
        "Appendix",
        "Cochran's Q Test",
        "The Heterogeneity Fraction ($I^2$)",
        "Empirical Bayes Shrinkage",
        "Confidence Intervals on the Event Study Plot"
      ],
      "created": "2026-06-02 11:20:02",
      "modified": "2026-06-02 11:20:02",
      "commits": 1
    }
  ],
  "_score": 2,
  "_indexed": true,
  "_nocasepkg": "selecttwfe",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.1",
      "date": "2026-06-02T19:18:34.000Z",
      "distro": "noble",
      "commit": "86ec39a73ecd4a0240e6806eeb543c984dc118c3",
      "fileid": "2a8a4ea28c8b5467efba368e6dcedf435a8fb1f7a379aab59ac95c6f46878956",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26841778141"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.1",
      "date": "2026-06-02T19:18:42.000Z",
      "distro": "noble",
      "commit": "86ec39a73ecd4a0240e6806eeb543c984dc118c3",
      "fileid": "6068d9d41d72eebca1d8a031d0fab9b6218914e7130484a80cb86a3e64f938fb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26841778141"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.1",
      "date": "2026-06-02T19:18:43.000Z",
      "commit": "86ec39a73ecd4a0240e6806eeb543c984dc118c3",
      "fileid": "ddbd3c8ddf1bd7518e878b586ed531d2fb70c9574e12b27f52613c84bfb10854",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26841778141"
    }
  ]
}