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_?

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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