Jonathan Roth
Jonathan Roth
Hi, Thanks for the message, and sorry you're having issues. Is the panel you're using unbalanced? If so, does it work after balancing the panel? I could potentially help more...
Thanks for the follow-up. I am confused by the example. It appears to me that each pid shows up only once? If you have T periods, each id variable should...
Yes, the "staggered" paper assumes *panel* data. If you have repeated cross-sections within a state, you can aggregate to the state level and run everything with the state-level panel. Thanks...
Yes, define Y_{st} to be the average outcome in state s in period t. Then you have a balanced panel with T periods and S states. I am sorry, but...
In your example, the 2003 cohort is dropped because -- since there is only one observation -- it is impossible to properly estimate the variance of the potential outcomes for...
Here is a rough draft of a function that takes the current results of `fixest` with the `sunab` option and returns the coefficients and full-variance covariance matrix. (Primarily written by...
Thanks for the suggestion, @kylebutts! I think we should add an option neverTreatedValue with default = Inf. Then you use-case would be neverTreatedValue =0. I personally find the convention of...
Sorry for the delay. Here is the sessionInfo: ``` R version 3.3.2 (2016-10-31) Platform: x86_64-apple-darwin13.4.0 (64-bit) Running under: OS X Yosemite 10.10.5 locale: [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8 attached base packages: [1] stats...
@spittssj In case it's helpful as a work-around, I wrote some simple functions [here](https://github.com/jiafengkevinchen/logunique-reps/blob/1ed0012e9482181223c76eb547c623c1e515433d/extract_tabular.R#L41) to convert longtable to tabular in a text file. The same link also has a function...
@spittssj apologies, here is a public version https://github.com/jiafengkevinchen/logs-public/blob/6b2e96e482a2b389e182b1c8bbbc4d5023931fae/extract_tabular.R#L41