Hello all,
I use the following code to have both fixed effects and a two-way cluster. Is there a way to not show all the f.e categories, in a similar matter to the absorb option in GLM? I could not find an answer in the documentation...
proc genmod;
class gvkey year_data;
model capx_1 = incu_post_ipo sign_inc_p sign_p sale_rank market_share ind_code_count gvkey year_data;
repeated subject=gvkey*year_data / type=ind; run;
quit;
Thanks!
The documentation is very clear. There is no ABSORB statement in GENMOD.
Of course, you could perform your own an ABSORB-equivalent on the data before it enters GENMOD.
Yes. If, like with the ABSORB statement in GLM, you want to avoid estimating parameters for all of the levels in those variables, then you need to remove them from the MODEL statement and only use them in the REPEATED statement. However, it is not uncommon that a variable that defines the clusters has a continuous nature and interest is in evaluating its linear (and maybe even quadratic) effect. In such a case, you can create a copy of the variable and use the one version in the CLASS and REPEATED statements and the other only in the MODEL statement.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.