Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • number of clusters with rdrobust

    Hi,

    I am using the user-written command rdrobust and am trying to include the number of clusters used in estimation in esttab output. The information is not stored in the return list, so I am wondering how I could obtain this information otherwise. I use the vce(cluster clustervar)option to specify clustering.


  • #2
    Zara: After using rdrobust you can achieve the bandwidth used in the local linear regression. Using that bandwidth, you can then reproduce the rdrobust output by doing the regression "by hand". After you use that, gen select = e(sample) creates a dummy variable for which observations were used. You can then tab clustervar if select == 1.

    Comment

    Working...
    X