Dear All,
Please, I am using reghdfe absorbing a(counties years). I want to 'scramble' years, assigning the 'wrong' years for each observation and then run 500 repetitions to calculate the p-value of those repetitions. Then, in another exercise, I want to 'scramble' the counties. I am trying to use permute, but as counties and years are not included as independent variables, it does not work. Does anyone know how I could do this exercise?
Many thanks.