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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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