Dear Madam/Sir,
I run the following two regressions and compart the coefficient 'roa_ln_change_sale using 'suest' statement, but I have an error related to clustering? Any idea to fix this problem will be highly appreciated.
regress ln_change_sga ln_change_sale variability gdprate roa_ln_change_sale roa asset_int EMP_int var_change_sale gdpg_change_sale asset_int_sale emp_int_sale i.sic2 i.fyear if qar1rho==1, robust cluster(gvkey)
est store r1
regress ln_change_sga ln_change_sale variability gdprate roa_ln_change_sale roa asset_int EMP_int var_change_sale gdpg_change_sale asset_int_sale emp_int_sale i.sic2 i.fyear if qar1rho==2, robust cluster(gvkey)
est store r2
suest r1 r2, robust cluster(gvkey)
r1 was estimated with cluster(gvkey).
re-estimate without the cluster() option, and
specify the cluster() option with suest.
r(322);
test [r1_mean]roa_ln_change_sale-[r2_mean]roa_ln_change_sale=0
equation [r1_mean] not found
r(303);
Sincerely,
Joon
I run the following two regressions and compart the coefficient 'roa_ln_change_sale using 'suest' statement, but I have an error related to clustering? Any idea to fix this problem will be highly appreciated.
regress ln_change_sga ln_change_sale variability gdprate roa_ln_change_sale roa asset_int EMP_int var_change_sale gdpg_change_sale asset_int_sale emp_int_sale i.sic2 i.fyear if qar1rho==1, robust cluster(gvkey)
est store r1
regress ln_change_sga ln_change_sale variability gdprate roa_ln_change_sale roa asset_int EMP_int var_change_sale gdpg_change_sale asset_int_sale emp_int_sale i.sic2 i.fyear if qar1rho==2, robust cluster(gvkey)
est store r2
suest r1 r2, robust cluster(gvkey)
r1 was estimated with cluster(gvkey).
re-estimate without the cluster() option, and
specify the cluster() option with suest.
r(322);
test [r1_mean]roa_ln_change_sale-[r2_mean]roa_ln_change_sale=0
equation [r1_mean] not found
r(303);
Sincerely,
Joon
Comment