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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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
  • 2472 views
  • 0 likes
  • 2 in conversation