SAS Procedures

Help using Base SAS procedures
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-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

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.

SAS Training: Just a Click Away

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

Browse our catalog!

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