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.