In reply to Kelsey.

Hello Kelsey,

You have the ability to select or exclude the objects that you are interested in using the ODS SELECT/EXCLUDE statements. When I mention objects here, this is where raw data and template definitions are combined based on the procedure and options used with the procedure. The ODS TRACE statement is used to get the names of objects generated from the procedure such as the below. The trace records are added to the log and includes the object name which is shown in the partial list below.

ods trace on;

proc logistic data=Neuralgia;
class Treatment Sex;
model Pain=Treatment|Sex@2 Age Duration
/selection=forward expb;
run;

Output Added:
-------------
Name: ParameterEstimates
Label: Parameter Estimates
Template: Stat.Logistic.ParameterEstimates
Path: Logistic.ParameterEstimates
-------------

Output Added:
-------------
Name: OddsRatios
Label: Odds Ratios
Template: Stat.Logistic.OddsRatios
Path: Logistic.OddsRatios
-------------

Output Added:
-------------
Name: Association
Label: Association Statistics
Template: Stat.Logistic.Association
Path: Logistic.Association
-------------

You can use the object name on the ODS SELECT or Exclude statement to select only the objects you want included in the output or the objects you would like to see excluded.
In the below example, the ODS Exclude statement is used to exclude the "Oddsratio" object from the Excel output.

ods excel;
ods excel exclude oddsratio;

proc logistic data=Neuralgia;
class Treatment Sex;
model Pain=Treatment|Sex@2 Age Duration
/selection=forward expb;
run;
ods excel close;

Sincerely,
Chevell