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.
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
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.