BookmarkSubscribeRSS Feed
Question
Fluorite | Level 6

Hi All,

 

I have built a glm model (below) and I have stored the equation so I can apply it to new data, it all works fine but I would like to open the equation used to score, called here work.Lapse_equation and saved as (SAS7BITM table) but it doesn't let me open.

 

Your help would be much appreciated

 

Thank You very much

 

proc glmselect data =work.Lapse_modelling_dataset ;
/* ods select ParameterEstimates;*/
class VAR1;
model Time_To_next_order = VAR1  VAR2 VAR3 VAR4 VAR5 VAR6 VAR7 VAR8 VAR9 VAR10
/ selection = stepwise(select=SL) stats=all;
output out=work.pout predicted=p_time_to_next_order;
store work.Lapse_equation;
run;

 

1 REPLY 1
ballardw
Super User

From the documentation on the Store statement for GLMSELECT:

The resulting item store has a binary file format that cannot be modified. The contents of the item store can be processed with the PLM procedure.

 

If you want to reuse such things I recommend putting the store into a permanent library instead of Work. Then you can use it without having to re-run the Glmselect.

 

 

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 4536 views
  • 0 likes
  • 2 in conversation