BookmarkSubscribeRSS Feed
AJ8
Calcite | Level 5 AJ8
Calcite | Level 5

Trying to run Possion using genmod, but SAS kept telling me I have a saturated model when I only have one single predictor?

 

data TWO;

input Predictor_Category Outcome_Count Total;
LTotal = log(Total);
cards;
1    30    351
2    6     39
3    2    80
4    8    71
5    17   169
6    8    118
7    40    281
8    76    281
9    50   318
10    43   586
run;

 

proc genmod data = TWO order = DATA;
class Predictor_Category;
model Outcome_Count = Predictor_Category / dist=poisson link=log
                 offset= LTotal type1 type3 ;
run;

1 REPLY 1
sld
Rhodochrosite | Level 12 sld
Rhodochrosite | Level 12

You do have a saturated model: you have 10 observations and your model specifies 10 parameter estimates. You'll have to come up with a new vision for analysis.

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
  • 1292 views
  • 1 like
  • 2 in conversation