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!
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
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.