如何使用FELM()函数在回归模型中指定群集
如何使用FELM()函数在回归模型中指定群集: 我一直在尝试和尝试,但我无法正常工作。有人知道我的代码怎么了吗?这是我一直在尝试使用的代码。
newreg <- felm(log(Price2) ~ Detached.house + Semi.detached.house + Attached.houses - Apartment +
Stock.apartment + Housing.cooperative - Sole.owner + Age +
BRA + Bedrooms + Balcony + Lotsize + Sentrum + Alna + Vestre.Aker + Nordstrand + Marka +
Ullern + Østensjø + Søndre.Nordstrand + Stovner + Nordre.Aker + Bjerke +
Grorud + Gamle.Oslo + St..Hanshaugen + Grünerløkka + Sagene - Frogner|0|0|, data=Data)
我要做的是使用FELM()函数自动产生星际合伙人的群集标准错误。
how can I specify the cluster in the regression model with felm() function:
I have been trying and trying but I can't make it work. Does anyone know what is wrong with my code? This is the code I have been trying to use.
newreg <- felm(log(Price2) ~ Detached.house + Semi.detached.house + Attached.houses - Apartment +
Stock.apartment + Housing.cooperative - Sole.owner + Age +
BRA + Bedrooms + Balcony + Lotsize + Sentrum + Alna + Vestre.Aker + Nordstrand + Marka +
Ullern + Østensjø + Søndre.Nordstrand + Stovner + Nordre.Aker + Bjerke +
Grorud + Gamle.Oslo + St..Hanshaugen + Grünerløkka + Sagene - Frogner|0|0|, data=Data)
what I am trying to do is automatically produced the clustered standard errors in stargazer with the felm() function.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
帮助文件说:
因此,我想这将是:
cluster_var
是您要聚集的变量的名称。没有数据,我无法测试它。The help file says:
So, I would imagine it would be something like:
where
cluster_var
is the name of the variable you want to cluster on. Without the data, I can't test it, though.