{
  "_id": "6b06e42e35d1c7861e9708ec",
  "Package": "etwfe",
  "Type": "Package",
  "Title": "Extended Two-Way Fixed Effects",
  "Version": "0.6.2.99",
  "Date": "2026-03-22",
  "Authors@R": "c(\nperson(given = \"Grant\",\nfamily = \"McDermott\",\nrole = c(\"aut\", \"cre\"),\nemail = \"contact@grantmcdermott.com\",\ncomment = c(ORCID = \"0000-0001-7883-8573\")),\nperson(given = \"Frederic\",\nfamily = \"Kluser\",\nrole = \"ctb\",\nemail = \"frederic.kluser@unibe.ch\"),\nperson(given = \"Ulrich\",\nfamily = \"Morawetz\",\nrole = \"ctb\",\nemail = \"ulrich.morawetz@boku.ac.at\")\n)",
  "Description": "Convenience functions for implementing extended two-way\nfixed effect regressions a la Wooldridge (2023, 2025, 2026)\n<doi:10.1093/ectj/utad016>, <doi:10.1007/s00181-025-02807-z>,\n<doi:10.2139/ssrn.7530698>.",
  "License": "MIT + file LICENSE",
  "Remotes": [
    "vincentarelbundock/marginaleffects/r"
  ],
  "Encoding": "UTF-8",
  "LazyData": "true",
  "URL": "https://grantmcdermott.com/etwfe/",
  "BugReports": "https://github.com/grantmcdermott/etwfe/issues",
  "VignetteBuilder": "knitr",
  "Roxygen": "list(markdown = TRUE)",
  "Config/roxygen2/version": "8.1.0",
  "Repository": "https://grantmcdermott.r-universe.dev",
  "Date/Publication": "2026-11-06 20:28:27 UTC",
  "RemoteUrl": "https://github.com/grantmcdermott/etwfe",
  "RemoteRef": "HEAD",
  "RemoteSha": "36ac546a987ce18b168ced86c15b1260b85d0dba",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-25 13:30:46 UTC",
    "User": "root"
  },
  "Author": "Grant McDermott [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-7883-8573>),\nFrederic Kluser [ctb],\nUlrich Morawetz [ctb]",
  "Maintainer": "Grant McDermott <contact@grantmcdermott.com>",
  "_user": "grantmcdermott",
  "_type": "src",
  "_file": "etwfe_0.6.2.99.tar.gz",
  "_fileid": "https://r2.ropensci.org/556887c33168e59b6c515c3bf6328a3353819d2bfe901c2f3f88141895bc99a5",
  "_filesize": 969407,
  "_sha256": "556887c33168e59b6c515c3bf6328a3353819d2bfe901c2f3f88141895bc99a5",
  "_expires": "2027-03-05T13:35:39.000Z",
  "_created": "2026-11-25T13:30:46.000Z",
  "_published": "2026-11-25T13:35:41.846Z",
  "_upstream": "https://github.com/grantmcdermott/etwfe",
  "_status": "success",
  "_maintainer": {
    "name": "Grant McDermott",
    "email": "contact@grantmcdermott.com",
    "orcid": "0000-0001-7883-8573"
  },
  "_jobs": [
    {
      "job": 139240647931,
      "time": 194,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "15026348646"
    },
    {
      "job": 139240647684,
      "time": 163,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15028581361"
    },
    {
      "job": 139240647844,
      "time": 165,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "15027348076"
    },
    {
      "job": 139240648103,
      "time": 165,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15026288859"
    },
    {
      "job": 139238013194,
      "time": 262,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15027711170"
    },
    {
      "job": 139240647910,
      "time": 116,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "15028082370"
    },
    {
      "job": 139240647800,
      "time": 123,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "15026927759"
    },
    {
      "job": 139240647789,
      "time": 175,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "15027892615"
    },
    {
      "job": 139240647671,
      "time": 167,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15026722977"
    }
  ],
  "_buildurl": "https://github.com/r-universe/grantmcdermott/actions/runs/45623581606",
  "_commit": {
    "id": "36ac546a987ce18b168ced86c15b1260b85d0dba",
    "author": "Grant McDermott <grant.mcdermott@gmail.com>",
    "committer": "Grant McDermott <grant.mcdermott@gmail.com>",
    "message": "docs(pkgdown): add pretrends to reference index\n",
    "time": 1793996907
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1",
      "role": "Depends"
    },
    {
      "package": "fixest",
      "version": ">= 0.13.2",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "version": ">= 1.15.0",
      "role": "Imports"
    },
    {
      "package": "Formula",
      "role": "Imports"
    },
    {
      "package": "marginaleffects",
      "version": "> 1.0.0",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tinyplot",
      "version": ">= 0.6.0",
      "role": "Imports"
    },
    {
      "package": "broom",
      "role": "Suggests"
    },
    {
      "package": "did",
      "version": ">= 2.3.0",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "modelsummary",
      "version": ">= 2.2.0",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "tinytest",
      "role": "Suggests"
    }
  ],
  "_owner": "grantmcdermott",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2026-03",
      "n": 2
    },
    {
      "week": "2026-04",
      "n": 2
    },
    {
      "week": "2026-08",
      "n": 4
    },
    {
      "week": "2026-09",
      "n": 1
    },
    {
      "week": "2026-12",
      "n": 1
    },
    {
      "week": "2026-13",
      "n": 2
    },
    {
      "week": "2026-43",
      "n": 2
    },
    {
      "week": "2026-44",
      "n": 3
    },
    {
      "week": "2026-45",
      "n": 10
    }
  ],
  "_tags": [
    {
      "name": "v0.6.1",
      "date": "2026-03-16"
    },
    {
      "name": "v0.6.2",
      "date": "2026-03-27"
    }
  ],
  "_stars": 64,
  "_contributors": [
    {
      "user": "grantmcdermott",
      "count": 282,
      "uuid": 10285037
    },
    {
      "user": "vincentarelbundock",
      "count": 7,
      "uuid": 987057
    },
    {
      "user": "umor",
      "count": 4,
      "uuid": 2915503
    },
    {
      "user": "lrberge",
      "count": 2,
      "uuid": 43536394
    },
    {
      "user": "chase-eck",
      "count": 1,
      "uuid": 15744244
    },
    {
      "user": "etiennebacher",
      "count": 1,
      "uuid": 52219252
    },
    {
      "user": "fhollenbach",
      "count": 1,
      "uuid": 1372634
    },
    {
      "user": "frederickluser",
      "count": 1,
      "uuid": 57940466
    },
    {
      "user": "tyleransom",
      "count": 1,
      "uuid": 13243576
    }
  ],
  "_userbio": {
    "uuid": 10285037,
    "type": "user",
    "name": "Grant McDermott",
    "followers": 922,
    "description": "Principal Economist at Amazon. Mix of economics, data science, and open source."
  },
  "_downloads": {
    "count": 1132,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/etwfe"
  },
  "_devurl": "https://github.com/grantmcdermott/etwfe",
  "_pkgdown": "https://grantmcdermott.com/etwfe/",
  "_searchresults": 141,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/etwfe.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/grantmcdermott/etwfe",
  "_realowner": "grantmcdermott",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2022-12-14"
    },
    {
      "version": "0.2.0",
      "date": "2023-01-14"
    },
    {
      "version": "0.3.0",
      "date": "2023-02-08"
    },
    {
      "version": "0.3.1",
      "date": "2023-02-28"
    },
    {
      "version": "0.3.2",
      "date": "2023-05-02"
    },
    {
      "version": "0.3.3",
      "date": "2023-05-28"
    },
    {
      "version": "0.3.4",
      "date": "2023-06-20"
    },
    {
      "version": "0.3.5",
      "date": "2023-12-01"
    },
    {
      "version": "0.4.0",
      "date": "2024-02-27"
    },
    {
      "version": "0.5.0",
      "date": "2024-12-16"
    },
    {
      "version": "0.6.0",
      "date": "2025-09-03"
    },
    {
      "version": "0.6.1",
      "date": "2026-03-16"
    },
    {
      "version": "0.6.2",
      "date": "2026-03-23"
    }
  ],
  "_authors": [
    {
      "name": "Grant McDermott",
      "email": "contact@grantmcdermott.com",
      "orcid": "0000-0001-7883-8573",
      "role": [
        "aut",
        "cre"
      ]
    },
    {
      "name": "Frederic Kluser",
      "email": "frederic.kluser@unibe.ch",
      "role": [
        "ctb"
      ]
    },
    {
      "name": "Ulrich Morawetz",
      "email": "ulrich.morawetz@boku.ac.at",
      "role": [
        "ctb"
      ]
    }
  ],
  "_exports": [
    "emfx",
    "etwfe",
    "pretrends"
  ],
  "_datasets": [
    {
      "name": "walmart",
      "title": "Walmart openings and county retail employment",
      "object": "walmart",
      "class": [
        "data.frame"
      ],
      "fields": [
        "fips",
        "year",
        "cohort",
        "n_open",
        "log_retail_emp"
      ],
      "rows": 29624,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "emfx",
      "title": "Post-estimation aggregation of ETWFE results",
      "topics": [
        "emfx"
      ]
    },
    {
      "page": "etwfe",
      "title": "Extended two-way fixed effects",
      "topics": [
        "etwfe"
      ]
    },
    {
      "page": "plot.emfx",
      "title": "Plot method for emfx objects",
      "topics": [
        "plot.emfx"
      ]
    },
    {
      "page": "pretrends",
      "title": "Test for pre-trends",
      "topics": [
        "pretrends"
      ]
    },
    {
      "page": "walmart",
      "title": "Walmart openings and county retail employment",
      "topics": [
        "walmart"
      ]
    }
  ],
  "_readme": "https://github.com/grantmcdermott/etwfe/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "checkmate",
    "data.table",
    "dreamerr",
    "fixest",
    "Formula",
    "generics",
    "insight",
    "lattice",
    "marginaleffects",
    "Matrix",
    "nlme",
    "numDeriv",
    "Rcpp",
    "rlang",
    "sandwich",
    "stringmagic",
    "tinyplot",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "etwfe.Rmd",
      "filename": "etwfe.html",
      "title": "Introduction to etwfe",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Background",
        "Dataset",
        "Basic usage",
        "etwfe",
        "emfx",
        "Pre-trends",
        "Cohort trends",
        "Visual inspection",
        "Presentation",
        "Plots",
        "Tables",
        "Heterogeneity",
        "Other families",
        "Non-binary treatments",
        "Slopes",
        "Treatment levels",
        "Performance",
        "Appendix",
        "Manual implementation",
        "Regarding fixed effects"
      ],
      "created": "2022-12-05 06:50:53",
      "modified": "2026-11-06 20:23:42",
      "commits": 53
    }
  ],
  "_score": 9.042669268978472,
  "_indexed": true,
  "_nocasepkg": "etwfe",
  "_universes": [
    "grantmcdermott"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.6.2.99",
      "date": "2026-11-25T13:33:07.000Z",
      "distro": "resolute",
      "commit": "36ac546a987ce18b168ced86c15b1260b85d0dba",
      "fileid": "https://r2.ropensci.org/91f8fa646b27014a7f55ab5d2c982e0290162f6e81b2b35203e14c9f87d8255b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/grantmcdermott/actions/runs/45623581606"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.6.2.99",
      "date": "2026-11-25T13:32:57.000Z",
      "distro": "resolute",
      "commit": "36ac546a987ce18b168ced86c15b1260b85d0dba",
      "fileid": "https://r2.ropensci.org/c222f25bb749a511c0629c09215182310ebb898cca0e24be3bab803ad44fc120",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/grantmcdermott/actions/runs/45623581606"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.6.2.99",
      "date": "2026-11-25T13:34:20.000Z",
      "commit": "36ac546a987ce18b168ced86c15b1260b85d0dba",
      "fileid": "https://r2.ropensci.org/04ae914c4496c8c6cd3090f0509c3e209e137a668be74827f78d8d14badc9b7a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/grantmcdermott/actions/runs/45623581606"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.6.2.99",
      "date": "2026-11-25T13:34:14.000Z",
      "commit": "36ac546a987ce18b168ced86c15b1260b85d0dba",
      "fileid": "https://r2.ropensci.org/32e6b90c0134622816ef70f6a68d2f9baadf82ced7aeb89936b2356c6545d464",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/grantmcdermott/actions/runs/45623581606"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.6.2.99",
      "date": "2026-11-25T13:32:59.000Z",
      "commit": "36ac546a987ce18b168ced86c15b1260b85d0dba",
      "fileid": "https://r2.ropensci.org/c2a873f1334f28696f32a563f63a3f5e31988a0665025a3d181b48fe3aed58ce",
      "status": "success",
      "buildurl": "https://github.com/r-universe/grantmcdermott/actions/runs/45623581606"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.6.2.99",
      "date": "2026-11-25T13:32:17.000Z",
      "commit": "36ac546a987ce18b168ced86c15b1260b85d0dba",
      "fileid": "https://r2.ropensci.org/c3b1b8ee4707bf87d8727f5669894ab4709dd4ff62bd84db109eb9a4054b593e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/grantmcdermott/actions/runs/45623581606"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.6.2.99",
      "date": "2026-11-25T13:32:38.000Z",
      "commit": "36ac546a987ce18b168ced86c15b1260b85d0dba",
      "fileid": "https://r2.ropensci.org/0e6bcc660f72d6dd1bb2dac54b885afb57588c580b08cc008cf2ea6e67336595",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/grantmcdermott/actions/runs/45623581606"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.6.2.99",
      "date": "2026-11-25T13:32:34.000Z",
      "commit": "36ac546a987ce18b168ced86c15b1260b85d0dba",
      "fileid": "https://r2.ropensci.org/35b146900b124ea34f6710e288950360b993e2bd19d529e7cdb39fcfb7ebe995",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/grantmcdermott/actions/runs/45623581606"
    }
  ]
}