最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

glm - clustered standard errors in R clogit - Stack Overflow

programmeradmin2浏览0评论

I am using the clogit command in R, however I am not able to cluster the standard errors by districts using the method = "exact". It works with method = "error" but it gives me very different coefficients. Is there a way to cluster standard errors in the clogit command with the method = "exact"?

model1 <- clogit(mig ~ rainShock + factor(year) + strata(hhcode), data = data)
Error in clogit(mig ~ rainShock + factor(year) + strata(hhcode) + cluster(district),  : 
  robust variance plus the exact method is not supported
发布评论

评论列表(0)

  1. 暂无评论