Hi all, I am currently using the following code to compare the statistical difference for the coefficient between two subsamples.
qui reg DepVar IndVar if LOSS==1
est store m1
qui reg DepVar IndVar if LOSS==0
est store m2
suest m1 m2, cluster(firm)
test [m1_mean]IndVar-[m2_mean]IndVar=0
Is there a way that I can include both fixed effects (year fixed and industry fixed effects) and firm cluster in this setting? Since in other full sample tests, I use reghdfe DepVar IndVar, absorb (industry year) cluster(firm)
Related Posts with subsample comparison analysis
Error-correction model with GMM first differenceDear Statalist users Could you please help with advice on how to construct an Error correction mode…
auto-filter variable name in dialog boxHi, I'm relatively new to Stata and am wondering if I'm missing something simple when it comes to se…
Test for two mean and standard deviation with unknown sample size.Hi, I have lung function data (mean and SD) for two time point, say, admission and discharge for 20 …
regressions with Fixed Effect and CCEMG/CCEP give different resultsDear all, I want to ask you about results of fixed effect and CCEP/CCEMG. I regressed my variables…
Network Analysis-nwcommandsHi, I am using the nwcommands package to run some social network analysis. I am facing two issues-…
Subscribe to:
Post Comments (Atom)
0 Response to subsample comparison analysis
Post a Comment