I am using the new cluster feature for LASSO in stata and I am a little confused by the way the SE are estimated.
When I don't cluster, all is fine. If I do:
sysuse nlsw88.dta
dsregress wage grade , controls( age race married never_married collgrad south )
dsregress wage grade , controls( age race married never_married collgrad south )
reg wage grade `e(controls_sel)' , r
But let's say I want to cluster for industry:
sysuse nlsw88.dta
dsregress wage grade , controls( age race married never_married collgrad south )
dsregress wage grade , controls( age race married never_married collgrad south ) cluster(industry)
dsregress wage grade , controls( age race married never_married collgrad south )
dsregress wage grade , controls( age race married never_married collgrad south ) cluster(industry)
Thanks
0 Response to standard error double lasso with clustering
Post a Comment