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 2025: Call for Content

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!

Submit your idea!

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
  • 4117 views
  • 10 likes
  • 4 in conversation