{
  "_id": "6a4634276ff6f23575542e91",
  "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-07-02 09:46:09 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",
  "_user": "cran",
  "_type": "src",
  "_file": "selectTWFE_0.2.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/43b333ffab91efed7151e78ff5c81c7eed8ee152fb53959c6196c8882c755c33",
  "_filesize": 373431,
  "_sha256": "43b333ffab91efed7151e78ff5c81c7eed8ee152fb53959c6196c8882c755c33",
  "_expires": "2026-10-10T09:49:26.000Z",
  "_created": "2026-07-02T09:46:09.000Z",
  "_published": "2026-07-02T09:49:27.331Z",
  "_jobs": [
    {
      "job": 84740578299,
      "time": 138,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8034967422"
    },
    {
      "job": 84740578283,
      "time": 145,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8034969973"
    },
    {
      "job": 84739962605,
      "time": 188,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8034912096"
    },
    {
      "job": 84740578268,
      "time": 159,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8034975638"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/28580670748",
  "_status": "success",
  "_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"
  },
  "_distro": "resolute",
  "_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",
    "followers": 615,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 414,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/selectTWFE"
  },
  "_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/selectTWFE.html",
    "LICENSE",
    "manual.pdf"
  ],
  "_realowner": "cran",
  "_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-07-02T09:48:22.000Z",
      "distro": "resolute",
      "commit": "86ec39a73ecd4a0240e6806eeb543c984dc118c3",
      "fileid": "https://r2.ropensci.org/2559d27e937ee8f237216ad865762c9a7e713c0e1987e9948fca5254577f3de4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28580670748"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.1",
      "date": "2026-07-02T09:48:26.000Z",
      "distro": "resolute",
      "commit": "86ec39a73ecd4a0240e6806eeb543c984dc118c3",
      "fileid": "https://r2.ropensci.org/357c904cd89b49d6a79014d9572e52a5a6a94f4659394c72032811d09ac54fa2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28580670748"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.1",
      "date": "2026-07-02T09:49:06.000Z",
      "commit": "86ec39a73ecd4a0240e6806eeb543c984dc118c3",
      "fileid": "https://r2.ropensci.org/d62943e5028a7a4335436dca8425f4e32192efcbddb4d0e0f8dcab4279dbd031",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28580670748"
    }
  ]
}