Skip to content

Commit 216e00d

Browse files
committed
use rng
1 parent c60549a commit 216e00d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_hac_vs_fixest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def data_panel(N=1000, T=30, seed=421):
5252
treat[(np.isin(units, treated_units)) & (time >= midpoint)] = 1
5353
ever_treated = np.isin(units, treated_units).astype(int)
5454
alpha = rng.normal(0, 1, N)
55-
gamma = np.random.normal(0, 0.5, T)
55+
gamma = rng.normal(0, 0.5, T)
5656

5757
# Generate AR(1) errors within each unit (rho=0.8 for strong autocorrelation)
5858
epsilon = np.empty(N * T)

0 commit comments

Comments
 (0)