Skip to content

etwfe

Extended Two-Way Fixed Effects

v0.6.2 · Mar 22, 2026 · MIT + file LICENSE

Description

Convenience functions for implementing extended two-way fixed effect regressions a la Wooldridge (2023, 2025) <doi:10.1093/ectj/utad016>, <doi:10.1007/s00181-025-02807-z>.

Downloads

914

Last 30 days

3999th

1.8K

Last 90 days

6.2K

Last year

Trend: +81.7% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 28, 2026
ERROR 10 OK · 0 NOTE · 0 WARNING · 4 ERROR · 0 FAILURE Mar 18, 2026
ERROR r-devel-linux-x86_64-debian-gcc

tests

Running ‘tinytest.R’ [74s/95s]
Running the tests in ‘tests/tinytest.R’ failed.
Complete output:
  > 
  > if ( requireNamespace("tinytest", quietly=TRUE) ){
  +   tinytest::test_package("etwfe")
  + }
  
  test_baker.R..................    0 tests    
...[truncated]...
iff| Attributes: < Names: 1 string mismatch >
  ----- FAILED[attr]: test_etwfe.R<478--478>
   call| expect_equal(fixest::coeftable(m3p), m3p_known)
   diff| Attributes: < Names: 1 string mismatch >
  Error: 6 out of 71 tests failed
  Execution halted
ERROR r-devel-linux-x86_64-fedora-clang

tests

Running ‘tinytest.R’ [196s/226s]
Running the tests in ‘tests/tinytest.R’ failed.
Complete output:
  > 
  > if ( requireNamespace("tinytest", quietly=TRUE) ){
  +   tinytest::test_package("etwfe")
  + }
  
  test_baker.R..................    0 tests  
...[truncated]...
iff| Attributes: < Names: 1 string mismatch >
  ----- FAILED[attr]: test_etwfe.R<478--478>
   call| expect_equal(fixest::coeftable(m3p), m3p_known)
   diff| Attributes: < Names: 1 string mismatch >
  Error: 6 out of 71 tests failed
  Execution halted
ERROR r-devel-linux-x86_64-fedora-gcc

tests

Running ‘tinytest.R’ [209s/560s]
Running the tests in ‘tests/tinytest.R’ failed.
Complete output:
  > 
  > if ( requireNamespace("tinytest", quietly=TRUE) ){
  +   tinytest::test_package("etwfe")
  + }
  
  test_baker.R..................    0 tests  
...[truncated]...
iff| Attributes: < Names: 1 string mismatch >
  ----- FAILED[attr]: test_etwfe.R<478--478>
   call| expect_equal(fixest::coeftable(m3p), m3p_known)
   diff| Attributes: < Names: 1 string mismatch >
  Error: 6 out of 71 tests failed
  Execution halted
ERROR r-oldrel-macos-x86_64

tests

Running ‘tinytest.R’ [81s/178s]
Running the tests in ‘tests/tinytest.R’ failed.
Complete output:
  > 
  > if ( requireNamespace("tinytest", quietly=TRUE) ){
  +   tinytest::test_package("etwfe")
  + }
  
  test_baker.R..................    0 tests   
...[truncated]...
iff| Attributes: < Names: 1 string mismatch >
  ----- FAILED[attr]: test_etwfe.R<478--478>
   call| expect_equal(fixest::coeftable(m3p), m3p_known)
   diff| Attributes: < Names: 1 string mismatch >
  Error: 6 out of 71 tests failed
  Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies fixest data.table Formula marginaleffects tinyplot etwfe

Version History

updated 0.6.2 ← 0.6.1 diff Mar 23, 2026
updated 0.6.1 ← 0.6.0 diff Mar 16, 2026
new 0.6.0 Mar 10, 2026
updated 0.6.0 ← 0.5.0 diff Sep 2, 2025
updated 0.5.0 ← 0.4.0 diff Dec 15, 2024
updated 0.4.0 ← 0.3.5 diff Feb 26, 2024
updated 0.3.5 ← 0.3.4 diff Nov 30, 2023
updated 0.3.4 ← 0.3.3 diff Jun 19, 2023
updated 0.3.3 ← 0.3.2 diff May 27, 2023
updated 0.3.2 ← 0.3.1 diff May 1, 2023
updated 0.3.1 ← 0.3.0 diff Feb 27, 2023
updated 0.3.0 ← 0.2.0 diff Feb 7, 2023
updated 0.2.0 ← 0.1.0 diff Jan 10, 2023
new 0.1.0 Dec 13, 2022