SAS CODE (it runs ok except I have two panels of influence plots -I only want the first one)
ods graphics on;
ods select ClassLevelInfo ConvergenceStatus EffectPlot GoodnessOfFit LackFitChiSq ParameterEstimates clparmPL OddsRatios OddsRatiosPL influencePlots;
proc logistic data=throat descending plot(only)=(influence effect(x=(D) sliceby=T)) alpha=.05;
class T / param=ref;
model y = D T/ scale=none aggregate lackfit clparm=PL expb influence;
run; quit;
Thanks. MM
Hello @MaryA_Marion,
As I've just learned from the documentation of the ODS SELECT statement, you can specify quoted labels (known from output obtained with ODS TRACE ON) in requests of ODS output objects. In your example, specify "Panel 1" to restrict the influence plots to the first panel:
ods select ClassLevelInfo ... influencePlots.'Panel 1';
Hello @MaryA_Marion,
As I've just learned from the documentation of the ODS SELECT statement, you can specify quoted labels (known from output obtained with ODS TRACE ON) in requests of ODS output objects. In your example, specify "Panel 1" to restrict the influence plots to the first panel:
ods select ClassLevelInfo ... influencePlots.'Panel 1';
FreelanceReinhard gave the correct answer, but it is worth mentioning that you can also match PATTERNS of strings. Learn how to select ODS tables by using wildcards and regular expressions in SAS.
@MaryA_Marion wrote:
This was extremely helpful. How can I create custom panels of 2-6 plots? Thanks. MM
I have never done this, but I see three options:
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.