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.
Related Posts with permute with reghdfe
Diagnostic Tests Panel DataDear all, I am working on my thesis using panel data in Stata but we never really discussed this in…
(1) areg, xtreg, reghdfe or reg and (2) time-trendGood morning, I am replicating the identification strategy of Lavy, Victor, and Analia Schlosser. 20…
Replacing column values with values of the same column by household idHi everyone, I have missing values in the variable "religion" for the year 2009. I want to copy the…
Choosing lag length for probit time series modelI am using a probit model to predict US recessions one month ahead. I am using monthly US Treasury S…
Use the symbol * in a function to apply some criteria to a group of variables. for example the inlist function. or others if anyGreetings colleagues, I need help with a feature that I want to implement but, so far, it has been d…
Subscribe to:
Post Comments (Atom)
0 Response to permute with reghdfe
Post a Comment