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

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 912 views
  • 0 likes
  • 1 in conversation