Clustered Standard Errors with data containing NAs

前端 未结 2 2053
野性不改
野性不改 2021-02-09 05:46

I\'m unable to cluster standard errors using R and guidance based on this post. The cl function returns the error:

Error in tapply(x, cluster1, sum) : arguments          


        
2条回答
  •  萌比男神i
    2021-02-09 06:25

    For one-way clustering, the robcov command, from the {rms} package works really well. read this for more information http://www.inside-r.org/packages/cran/rms/docs/robcov

提交回复
热议问题