Data visualization with SAS programming

How to make a bar chart with Gabriel comparison intervals using PROC TEMPLATE ?

Reply
Contributor
Posts: 57

How to make a bar chart with Gabriel comparison intervals using PROC TEMPLATE ?

Dear SAS users,

how to make a bar chart with Gabriel's comparison intervals?

The GABRIEL option in the MEAN statement of the PROC GLM procedure

is for calculating the comparison limits. But how to make a plot with them...?

How can I intercalate the code in the PROC TEMPLATE procedure?

Thank you very much.

May 10, 2013 UPDATE:

To refresh the question I provide my code written recently Smiley Happy  (DV and IV is -dependent and in- variables correspondingly):

ODS SELECT NONE;

ODS OUTPUT CLMeans = _GabrielCompInt;

PROC GLM DATA = my_data;

    CLASS ... ;

    MODEL DV = IV;

    MEANS IV / CLM GABRIEL;

    ODS SELECT CLMeans;

RUN;

ODS OUTPUT CLOSE;

ODS SELECT ALL;

DATA GabrielCI (KEEP = Method Level LowerCL Mean UpperCL);

    SET _GabrielCompInt;

    TITLE "Gabriel's Comparison Intervals Table";

RUN;

PROC PRINT DATA = GabrielCI STYLE (HEADER COLUMN) = [JUST = LEFT] LABEL NOOBS;

RUN;

The approach I found in Long, Abolafia, and Park paper ( http://www2.sas.com/proceedings/sugi31/261-31.pdf ).

So with SAS I could retrieve the table with data needed for the graph, but how to plot it now?

Post a Question
Discussion Stats
  • 0 replies
  • 167 views
  • 0 likes
  • 1 in conversation