We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c60549a commit 216e00dCopy full SHA for 216e00d
tests/test_hac_vs_fixest.py
@@ -52,7 +52,7 @@ def data_panel(N=1000, T=30, seed=421):
52
treat[(np.isin(units, treated_units)) & (time >= midpoint)] = 1
53
ever_treated = np.isin(units, treated_units).astype(int)
54
alpha = rng.normal(0, 1, N)
55
- gamma = np.random.normal(0, 0.5, T)
+ gamma = rng.normal(0, 0.5, T)
56
57
# Generate AR(1) errors within each unit (rho=0.8 for strong autocorrelation)
58
epsilon = np.empty(N * T)
0 commit comments