I am trying to conduct negative binomial distribution with a spline terms ( Outcome: count and predictor ( months); it is a time series analysis). Is there a way we can directly add spline in the model.
I saw the following approach for Poisson distribution however negbin is not supported.
The negative binomial distribution is supported in the newer PROC GAMPL and should generally be used rather than PROC GAM. Or, you can fit the model in PROC GLIMMIX by adding an EFFECT statement to define the spline you want.
The 2025 SAS Hackathon has begun!
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.