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

Dear SAS Gurus,

Currently I have two data sets model_train and model_valitaion.

What I want to do is to develop logistic model by model_train and applied the developed model to model_validation.

 

I have seen some options etc on proc logistic statement but can you give me any simple codes to do the automation of model development by model_train and applied the model to model_validation.

 

i.e. 

proc logistic data=model_train descending;
model y= var1-var5;
run;

 

I want to apply the developped model by the above to model_validation and see how it works.

I know it is possible by using  parameter estimate the procedure output and manually modify it and copy and paste the modelling codes and apply it to model_validation but if you know any more automated efficient way to do this by using some options of the procedure, please let me know.

 

Thank you Gurus,

Kaz

 

1 ACCEPTED SOLUTION

Accepted Solutions
Ksharp
Super User
proc logistic data=model_train descending;
model y= var1-var5;
score data=model_validate out=want;
run;

View solution in original post

2 REPLIES 2
Ksharp
Super User
proc logistic data=model_train descending;
model y= var1-var5;
score data=model_validate out=want;
run;
k_shide
Obsidian | Level 7

Dear Ksharp,

 

Thanks very much. It is so efficient and quick solution.

 

Kaz

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
  • 2 replies
  • 1294 views
  • 3 likes
  • 2 in conversation