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
Merge monthly to spell dataI have two datasets, in one I have an ID and a month. The second is spell data with ID, start_date, …
Expanding an observation to various rowsHi, I have a data set of a household survey with hhcode denoting the household code and migrant den…
Eigenvectors in Stata (mata) vs. MatlabHi everyone, maybe this is a very silly question and I am overlooking something very, very obvious. …
What causes the following error: data not spset r(459);copy http://www.stata-press.com/data/r15/homicide1990.dta ., replace copy http://www.stata-press.com…
analysing categorical data with very high of outcome of interestHello to all. we are looking at possibilities for further analysis of knowledge of Family planning (…
Subscribe to:
Post Comments (Atom)
0 Response to permute with reghdfe
Post a Comment