The question of how to model one-way and two-way fixed effects with clustered standard errors in SAS has become common in recent years. Before proceeding with the analysis, some preliminary questions need to be addressed:
Are the clusters randomly selected, as in a complex survey design?
Do you have cluster-correlated observational data or experimental data?
Do you have panel data, which assumes correlated cross-sections?
For survey data, you can use the SURVEYREG or SURVEYLOGISTIC procedures in SAS/STAT® software. If you do not have survey data, the GENMOD, GLIMMIX, MIXED procedures in SAS/STAT or the PANEL procedure in SAS/ETS® software would be the better choices to use for fixed effects with clustered standard errors.
... View more