Hello,
I have a variety of related variables, the minority of which warrant analysis with a zero-inflated model. To facilitate presentation of test statistics and P-values, it would be nice if I could present results from the omnibus model and/or the main effects and their interaction for all variables. I'm posting this thread to see if that is possible with zero-inflated models. For this study, I measured vegetation on 3 locations over 2 months. Samples are independent across months and there are no repeated measures. I'm using the following code for this analysis:
proc genmod data=all;
class Location Month;
model AboveAvg = Location Month Location*Month/ dist=zinb;
zeromodel Location;
When I include the class statement, test statistics and p-values correspond to pairwise comparisons with the variable level listed last in the dataset (top output, not complete but illustrates the point). When I omit the class statement, test statistics and p-values correspond to the variables and their interaction (bottom output), but all have 1 degree of freedom so I'm not sure if this is actually a measure of the main effects of Location and Month. Is it possible to test main effects or the omnibus model for zero-inflated models? Thank you for any help you can provide.
I figured it out. The model line should read as:
model AboveAvg = Location Month Location*Month/ dist=zinb type3;
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.