BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
t75wez1
Pyrite | Level 9

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;

StatDave
SAS Super FREQ
Yeah, I guess that'll work for adding one other set of data.
t75wez1
Pyrite | Level 9

Many thanks for your helps. You made my day!

 

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

What is ANOVA?

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.

Discussion stats
  • 17 replies
  • 2652 views
  • 10 likes
  • 4 in conversation