For the sake of simplicity, I just made another data set and append them together with 62 observations.
By using the code below, I get 62 predicted values with duplication by day.
Is that right?
data customer2;set customers;
count=round(count+rand("weibull", 7,3.5),1.);
run;
data customers;set customers customer2;
run;
proc sort;by day;
run;
proc gampl data=customers;
model count=spline(day) / dist=POISSON; ******Final Pick***************;
id _all_;
output out=preds pred=predicted;
run;
Many thanks for your helps. You made my day!
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.