BookmarkSubscribeRSS Feed
JohnPura
Calcite | Level 5

I have plot of the trajectory of a value over time and I would like to place just outside the graph, on the right, a bar indicating the normal range of the value (including numbers). How can accomplish this in proc template?

I've attached a rough picture of what I mean.

SGRender25_sample.png

Thanks,

John

2 REPLIES 2
ballardw
Super User

Without having data and your existing template it is pretty hard to provide details.

My first thought on this would be to add a high-low bar associated with a minimum or maximum value of you the x variable. Or look up the examples related to the GTL Draw statements and POLYLINE.

JohnPura
Calcite | Level 5

Here is some sample data. In the original graph you saw, there are 3 groups of patients, with each patient measured up to 7 time points. Here is data from one group, which includes 3 patients.

PTTimeValue
10211.1
10221.1
10231.2
10241.3
10251.3
10261.2
10310.7
10320.7
10330.6
10340.9
10350.7
10360.8
10410.9
10420.9
10430.8
10440.9
10450.9
10460.9

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 626 views
  • 0 likes
  • 2 in conversation