BookmarkSubscribeRSS Feed
svzplayer
Fluorite | Level 6

Hello everyone,

I have a following problem: I have divided dataset for two subsets - train and test. I wanted to perform three analysis, i.e. simple lin.reg., using box-cox and using genmod with gamma distribution. For the first two I have fitted model for train and calculated it later using proc score.

However, I'm stuck with genmod. How can I predict values (for dataset test) here? Is there any way to calculate it automatically?

Thanks in advance!

1 REPLY 1
PaigeMiller
Diamond | Level 26

One method is to use the STORE command in PROC GENMOD, and then PROC PLM to score your new test data set.

--
Paige Miller

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 16. 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
  • 1 reply
  • 469 views
  • 1 like
  • 2 in conversation