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.
SAS Innovate 2025: Save the Date
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.