Closed sbh4th closed 2 years ago
Hi Sam,
You were very close. You need a zero: y ~ 0
I believe this is documented in the ?etwfe
helpfile (see the fml argument). But your issue makes me think that I should maybe add y ~ 1
as a second option. Let me mull it over for a bit.
Thanks very much for the kind words and please keep the issues coming if you run into anything else.
Dear Grant, thanks very much for the quick response. As soon as I commented I figured I had missed something obvious (like, RTFM!). I'll plead recently moving from Stata to R as a lame excuse, but in any case, this worked perfectly and clears it up. Many thanks!
So thrilled for this and exactly what I was looking for yesterday! I'm wondering whether controls are required, as I can't seem to get your example to run without specifying controls (I'm starting very simply with my own analysis). All is well with your example:
If I drop the controls altogether, it throws an error:
I also tried a few other iterations, e.g.,
fml = lemp ~
orfml = lemp ~ 1
but these also generate errors.I know this is all in development, and am really thankful for the resource. Thanks again.