Dear all,
I am running stata13, and downloaded cluster2.ado from
http://www.kellogg.northwestern.edu/...rs/se/cluster2.
and copy it to C:\ado\personal
I ran the code below and got an error message
use Data/company
xi i.fyear
foreach x in debtr debtmr {
foreach y in hhi_ ccl hhi_ocl {
cluster2 `x' `y' _Ifyear*, icluster(gvkey) tcluster(fyear)
}
}
*******error message*******
option fcluster() required
Could you please tell me what I did wrong?
thanks,
Rochelle
I am running stata13, and downloaded cluster2.ado from
http://www.kellogg.northwestern.edu/...rs/se/cluster2.
and copy it to C:\ado\personal
I ran the code below and got an error message
use Data/company
xi i.fyear
foreach x in debtr debtmr {
foreach y in hhi_ ccl hhi_ocl {
cluster2 `x' `y' _Ifyear*, icluster(gvkey) tcluster(fyear)
}
}
*******error message*******
option fcluster() required
Could you please tell me what I did wrong?
thanks,
Rochelle
Comment