Skip to main content

New answers tagged

1 vote

statsmodels: Update OLS' degrees of freedom when absorbing 3+ fixed effects

In R, the following correction restores equality of the (nonrobust) s.e.s of the residual-based regression to the fixed-effects based ones: ...
Christoph Hanck's user avatar
2 votes

What is the R Equivalent of this Stata Survey Weighting Code?

You've got the regular expression for the weights wrong. The example "wt[1-9]+" in the help page already matches any name starting with wt then a digit ...
Thomas Lumley's user avatar
2 votes

Understanding differences in collinearity across Stata commands

reghdfe is different because, by default, it tries to deal with collinearity. I don't have Stata, but a little Googling found pages about this. It should be in the documentation for the program. The ...
Peter Flom's user avatar
  • 122k

Top 50 recent answers are included