I am attempting to create a graph that resembles the following:
I have been able to create something similar using SAS GTL scatterplot with xerrorlower and xerrorupper options. I figure I can add the p values using the annotate facility. However, I am stuck on how to create headers (Group A, Group B) for the visits along the y-axis. Adding color to the headers (as shown above) would also be great, but not a requirement. Any general guidance on this would be appreciated!
It is much easier to use the AxisTables in GTL or SGPLOT to create this kind of a graph. See the ForestPlot example in recent paper: http://support.sas.com/rnd/datavisualization/papers/2018/2180-2018.pdf
It is much easier to use the AxisTables in GTL or SGPLOT to create this kind of a graph. See the ForestPlot example in recent paper: http://support.sas.com/rnd/datavisualization/papers/2018/2180-2018.pdf
Thank you very much, Sanjay! That is an excellent paper and a great introduction to AxisTables - which I have not used before. I was able to create exactly what I needed. Your help, as always, is much appreciated!
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
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.
Ready to level-up your skills? Choose your own adventure.