BookmarkSubscribeRSS Feed
ACCT
Calcite | Level 5
Could you run a 2-way Clustering : Two-Way Cluster-Robust Standard Errors with fixed effects  for a  Logistic Regression with SAS? Could you please  share a code for that?
1 REPLY 1
Rick_SAS
SAS Super FREQ

Sure:

1. Go to google.com

2. Type in your search terms.  In this case, I copy-pasted your title

3. Click on the first link

4. Click on the link for the SAS code

5. Scroll down until you get to the code for logistic regression.  Here you need to make a decision: regular logistic or ordinal?

6. Cut and paste the macro code into SAS. Replace the sample variables with the variables in your data.

 

 

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

What is ANOVA?

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.

Discussion stats
  • 1 reply
  • 3019 views
  • 0 likes
  • 2 in conversation