Hello SAS community,
Suppose that we are interested in extracting information from a sas data set which will be placed in a title. In particular, I am performing multiple regressions similar to the following blog post: https://blogs.sas.com/content/iml/2017/02/13/run-1000-regressions.html. I would like to take the variable name on which the regression is performed and place it in a title for each regression, say for the ith regression I would like a title like "Regression of Y vs xi". It seems to me that there must exist some function which may be applied to VarName (please see the above blog post) which returns a string of that variables name which may be used in the SAS's title function.
Thanks in advance for your help.
If I interpret what you're saying correctly: yes indeed.
Have a look at this: http://www2.sas.com/proceedings/sugi23/Coders/p75.pdf
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!
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.
Select SAS Training centers are offering in-person courses. View upcoming courses for: