BookmarkSubscribeRSS Feed
TimurShangareev
Calcite | Level 5

I try to create template (StudentizedPanel).

TimurShangareev_0-1756890168678.png

TimurShangareev_1-1756890308627.png

 

Problem is that I want to print it with by statement. Is it possible to do it without macro do loop?

I created macrovariables in format _MIN_#byval(AVISITN). So I have _MIN_2 _MIN_3 and _MIN_4 macro variables (and for other statistics). And  there is symget function in proc template with using _BYVAL_:

TimurShangareev_2-1756890933086.png

But my Residual Stistics in png still empty:

TimurShangareev_0-1756891256601.png

 

Is symget applicable in proc template? Or maybe there is another way to add other statistics  (not default, for example, p-value from another procedure) in right down corner without macro loop?

 

UPD:

 

I tried other code:

TimurShangareev_0-1756891403329.png

 

but output is  still  empty. Probably problem in _BYVAL_?

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 0 replies
  • 83 views
  • 0 likes
  • 1 in conversation