简单的问题:我可以在使用包进行feols
估计后提取最终的自由度吗?fixest
res = feols(Sepal.Length ~ Sepal.Width + Petal.Length | Species, iris)
summary(res)
我知道有很多奇特的方法可以在 fixst 中指定 df,但我只想要结果(取决于我选择的选项)。
例如在使用的lfe
包中felm
,我可以像这样轻松地做到这一点:
res = felm(Sepal.Length ~ Sepal.Width + Petal.Length | Species | 0 | 0, iris)
res$df
谢谢!