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!

 

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 2803 views
  • 10 likes
  • 4 in conversation