因此,我有一个使用fixest包中的feols()估计的模型。我必须提取所有系数,并将它们导出到不同的程序中,以计算其他观察值的预测值(不在R中)。isOF[nn]]) :
contrasts can be applied only to factors with 2 or more levels 我想知道如何恢复模型的常量,到目前为止,我在查看fixest
我正在使用仪器运行feglm回归,并得到以下错误 The left hand side (total_crimes ~ rh + temp | station + hour + weekday + month_year_station | pm25_n) is not numeric. The class formula is not supported.feglm(Dependen
几天前,对于lfe包来说,这是非常简单的,您可以这样做:library(fixest)
m1 <- felm(any_crime ~ xx | id + time, data = crime)
但是,现在lfe已经归档,我已经转向了fixestfixest也有model.matrix.fixest,我也检查了这个函数的帮助,
我有一个由时间序列组成的数据,我想使用fixest包运行泊松拟ML模型。为了考虑误差项的自相关性,我想计算Newey West标准误差。然而,到目前为止,我还没有做到这一点。data, family = quasipoisson)当我运行代码时,我会收到错误消息:
Error: in summary.fixest_multi