BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
BchBnz
Obsidian | Level 7

Hello everyone,

I hope you are all well.

I am trying to run a difference-in-difference regression analysis (if you have experience with diff-in-diff in SAS, please share any useful tips.)

So, I ran first this model to compare between the means of each categorical group:

proc glm data = daily0809;

class group tm;

model dbas = group tm group*tm/ss3;

lsmeans group*tm;

run;

quit;

However, I got the following Warning.

WARNING: ODS graphics with more than 5000 points have been suppressed. Use the

         PLOTS(MAXPOINTS= ) option in the PROC GLM statement to change or override the cutoff.

I tried to use the plot(maxpoints=) option but I think I am not doing it properly. My data comprises 116569 observations and 8 variables.


Thanks in advance!!

1 ACCEPTED SOLUTION

Accepted Solutions
slchen
Lapis Lazuli | Level 10

Try:

proc glm data = daily0809  PLOTS(MAXPOINTS=NONE) ;

View solution in original post

2 REPLIES 2
slchen
Lapis Lazuli | Level 10

Try:

proc glm data = daily0809  PLOTS(MAXPOINTS=NONE) ;

BchBnz
Obsidian | Level 7

Thanks.

I tried that before but somehow with your code it's working.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 24972 views
  • 7 likes
  • 2 in conversation