Let's say i have a monthly panel data fo years 2010-2015. Is there a way to tell bsample to "reshuffle" variable x, but only within each single month. So that, for example, the value for A becomes missing, 5 for B and 1 for C?
For example,
Date | Name | X |
2001m1 | A | 1 |
2001m1 | B | . |
2001m1 | C | 5 |
Thanks
0 Response to Bsample
Post a Comment