BookmarkSubscribeRSS Feed
joycefilm
Fluorite | Level 6

Hi, community,

I want to use proc template to customize the graph to realize the text in the upper right corner of the picture, including the corresponding values of treatment, placebo, median, and p-value.

I hope you can help me solve this confusion, thank you very much.

2 REPLIES 2
ballardw
Super User

What type of graph?

Where do the values come from? Are they supposed to be calculated by the graph? Prior to making the graph and supplied in the code calling the template? Since you require a P-value that implies a statistical test of some kind. What exact test?

 

Since you did not supply any sort of example "picture" we have to also ask is this supposed to display inside or outside of the actual graph area?

 

Also why specifically Proc Template (which requires a call to Proc Sgrender to actually make the graph)? What other features are you using that make a custom template necessary?

sas-innovate-white.png

Missed SAS Innovate in Orlando?

Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.

 

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
  • 2 replies
  • 1132 views
  • 0 likes
  • 3 in conversation