I have two continuous variables and one category variable, so I use sgpanel to plot separated figures. I'd like to how I can add a P-value and parameter estimates to the figures. I tried the way I used in sgplot function but it didn't work. Below is what is in SAS errors, warnings, notes. Does anyone know a solution?
The SGPANEL Inset statement expects a VARIABLE, or multiple variables, to hold values to display in each panel and should hold the value(s) for the panel created for the PanelBy variable(s). This is one of the statements that behaves quite differently between Sgplot and Sgpanel.
If it is single set of text to display look at using an Annotate dataset.
BTW that text would not resolve correctly in Sgplot either. Macro variables need to be inside double quotes, not the single quotes you used.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
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!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
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.