<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to Create Some Specific Graphs on SAS in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-Create-Some-Specific-Graphs-on-SAS/m-p/234365#M12376</link>
    <description>&lt;P&gt;The non-ROC plots are merely graphs that overlay standard elements such as bars, lines, reference lines, bands, etc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Post your particular questions along with sample data to the &lt;A href="https://communities.sas.com/t5/SAS-GRAPH-and-ODS-Graphics/bd-p/sas_graph" target="_self"&gt;SAS/GRAPH and ODS Graphics Support Community&lt;/A&gt;&amp;nbsp;and say "I want to learn how to create this graph by using PROC SGPLOT."&amp;nbsp; They are easy to create once you learn the basic techniques.&lt;/P&gt;</description>
    <pubDate>Thu, 12 Nov 2015 13:12:28 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2015-11-12T13:12:28Z</dc:date>
    <item>
      <title>How to Create Some Specific Graphs on SAS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-Create-Some-Specific-Graphs-on-SAS/m-p/234353#M12370</link>
      <description>&lt;P&gt;Following reports are created on Excel. My purpose is to learn how i can create these reports by SAS code or on EG.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I just want you to guide me i will spare time &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is it possible to create ROC Curve by using Line Plot and Scatter Plot. Maybe i have to use ANNOVA graphic’s on EG.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/813i32BD209667D4EAD7/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="Roc&amp;amp;Curve.png" title="Roc&amp;amp;Curve.png" /&gt;&lt;/P&gt;
&lt;P&gt;If i create the Traffic Lights Report by using Line Plot how i can add the colors. I created the colors on table by using Proc Report through IF-ELSE Condition now i have to add colors on Line Plot.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/814i4D29708B88BD8F01/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="Traffic.png" title="Traffic.png" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think I should use Bar-Line graphic for following graphic but there is a limit on Bar statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/815i4ABBD43B083F7449/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="Graphşc.png" title="Graphşc.png" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I guess i can create following report on EG in an easy way.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/817iAD3CF6EFE425C13A/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="Line3.png" title="Line3.png" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This was the first time i tried to create following reports. So i haven’t got many information related to these reports i f i get some helps it will be beneficial for me.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you lead me, please ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2015 09:19:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-Create-Some-Specific-Graphs-on-SAS/m-p/234353#M12370</guid>
      <dc:creator>turcay</dc:creator>
      <dc:date>2015-11-12T09:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to Create Some Specific Graphs on SAS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-Create-Some-Specific-Graphs-on-SAS/m-p/234354#M12371</link>
      <description>&lt;P&gt;Go over to this blog:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.sas.com/content/graphicallyspeaking/" target="_blank"&gt;http://blogs.sas.com/content/graphicallyspeaking/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And look through the thousands of examples, with code in both GTL and sgplot. &amp;nbsp;Everything you could possible want to know about graphs is there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2015 09:26:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-Create-Some-Specific-Graphs-on-SAS/m-p/234354#M12371</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-11-12T09:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to Create Some Specific Graphs on SAS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-Create-Some-Specific-Graphs-on-SAS/m-p/234364#M12375</link>
      <description>&lt;P&gt;You can create ROC plots automatically by using PROC LOGISTIC.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods graphics on;
proc logistic data=sashelp.class plots(only)=roc;
   model sex = height / outroc=roc;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If you need to do something fancy, the OUTROC= option writes the ROC data to an output data set.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2015 13:08:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-Create-Some-Specific-Graphs-on-SAS/m-p/234364#M12375</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2015-11-12T13:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to Create Some Specific Graphs on SAS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-Create-Some-Specific-Graphs-on-SAS/m-p/234365#M12376</link>
      <description>&lt;P&gt;The non-ROC plots are merely graphs that overlay standard elements such as bars, lines, reference lines, bands, etc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Post your particular questions along with sample data to the &lt;A href="https://communities.sas.com/t5/SAS-GRAPH-and-ODS-Graphics/bd-p/sas_graph" target="_self"&gt;SAS/GRAPH and ODS Graphics Support Community&lt;/A&gt;&amp;nbsp;and say "I want to learn how to create this graph by using PROC SGPLOT."&amp;nbsp; They are easy to create once you learn the basic techniques.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2015 13:12:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-Create-Some-Specific-Graphs-on-SAS/m-p/234365#M12376</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2015-11-12T13:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to Create Some Specific Graphs on SAS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-Create-Some-Specific-Graphs-on-SAS/m-p/234392#M12378</link>
      <description>&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;During this period you helped me a lot and i think you are expert of SAS. I asked my question&amp;nbsp;&lt;A href="https://communities.sas.com/t5/SAS-GRAPH-and-ODS-Graphics/bd-p/sas_graph" target="_self"&gt;SAS/GRAPH and ODS Graphics Support Community&lt;/A&gt;&amp;nbsp;page as you said. I've already tried proc logistic but i didn't get the desired result which Excel generated. MM and EM generate ROC Curve easily i wonder how i can see the code behind of program maybe i can get some helps. I think it is hard to discover how to create these report in the beginning ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks again&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2015 15:21:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-Create-Some-Specific-Graphs-on-SAS/m-p/234392#M12378</guid>
      <dc:creator>turcay</dc:creator>
      <dc:date>2015-11-12T15:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to Create Some Specific Graphs on SAS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-Create-Some-Specific-Graphs-on-SAS/m-p/234394#M12379</link>
      <description>&lt;P&gt;You are welcome. I'm sure that&amp;nbsp;it won't be long before you that you are making awesome graphs in SAS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The quickest way to get a helpful response is to provide sample data. Often someone will be able to respond with the exact procedure and statements that you need. Since you are interesting in creating graphs, see the article &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/TIP-How-to-ask-a-good-question-about-graphing-in-SAS/ta-p/223508" target="_self"&gt;"How to ask a good question about graphing in SAS"&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2015 15:33:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-Create-Some-Specific-Graphs-on-SAS/m-p/234394#M12379</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2015-11-12T15:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to Create Some Specific Graphs on SAS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-Create-Some-Specific-Graphs-on-SAS/m-p/234396#M12380</link>
      <description>Look at robslink.com for a lot of graphs and the full code/data behind them.</description>
      <pubDate>Thu, 12 Nov 2015 15:39:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-Create-Some-Specific-Graphs-on-SAS/m-p/234396#M12380</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-11-12T15:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to Create Some Specific Graphs on SAS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-Create-Some-Specific-Graphs-on-SAS/m-p/234411#M12381</link>
      <description>&lt;P&gt;Rick,&lt;/P&gt;
&lt;P&gt;Your replies are always very accurate. I can receive the information i need from you. I will consider your suggestion. As far as i understand the main point is to&amp;nbsp;provide sample data.&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2015 16:20:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-Create-Some-Specific-Graphs-on-SAS/m-p/234411#M12381</guid>
      <dc:creator>turcay</dc:creator>
      <dc:date>2015-11-12T16:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to Create Some Specific Graphs on SAS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-Create-Some-Specific-Graphs-on-SAS/m-p/234412#M12382</link>
      <description>&lt;P&gt;Hello Reeza,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is the first time you answered without being angry &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; also it is beneficial for me.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2015 16:24:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-Create-Some-Specific-Graphs-on-SAS/m-p/234412#M12382</guid>
      <dc:creator>turcay</dc:creator>
      <dc:date>2015-11-12T16:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to Create Some Specific Graphs on SAS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-Create-Some-Specific-Graphs-on-SAS/m-p/234414#M12383</link>
      <description>I'm never angry...</description>
      <pubDate>Thu, 12 Nov 2015 16:34:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-Create-Some-Specific-Graphs-on-SAS/m-p/234414#M12383</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-11-12T16:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to Create Some Specific Graphs on SAS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-Create-Some-Specific-Graphs-on-SAS/m-p/234423#M12384</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza﻿&lt;/a&gt;&amp;nbsp;never strikes me as anything but helpful and nice, but maybe we need to introduce a new badge to the communities!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/823i415120CE72D488EE/image-size/medium?v=mpbl-1&amp;amp;px=-1" border="0" alt="angry.png" title="angry.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2015 17:51:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-Create-Some-Specific-Graphs-on-SAS/m-p/234423#M12384</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2015-11-12T17:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to Create Some Specific Graphs on SAS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-Create-Some-Specific-Graphs-on-SAS/m-p/234913#M12413</link>
      <description>&lt;P&gt;I created the Roc Curve by using PROC GPLOT procedure. I hope it is the correct method.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC GPLOT DATA = &amp;lt;dataset&amp;gt;;
PLOT column1* column2  column2*column2/
 OVERLAY
	VAXIS=AXIS1

	HAXIS=AXIS2

FRAME	CFRAME=CXD2D2D2
	LVREF=1
	CVREF=BLACK
	AUTOVREF
	NOLEGEND
;
	FORMAT column2 PERCENT8.
		column1 PERCENT8.;
RUN; 
QUIT;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Thanks a lot.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Nov 2015 19:04:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-Create-Some-Specific-Graphs-on-SAS/m-p/234913#M12413</guid>
      <dc:creator>turcay</dc:creator>
      <dc:date>2015-11-16T19:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to Create Some Specific Graphs on SAS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-Create-Some-Specific-Graphs-on-SAS/m-p/234934#M12414</link>
      <description>&lt;P&gt;Given a data set with&amp;nbsp;variables containing the sensitivity and specificity values (such as the OUTROC= data set from PROC LOGISTIC), these statements effectively reproduce the ROC graph produced by PROC LOGISTIC. &amp;nbsp;See the options in PROC SGPLOT if you want to makes alterations.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc sgplot data=rocdata noautolegend aspect=1;&lt;BR /&gt; xaxis values=(0 to 1 by 0.25) grid offsetmin=.05 offsetmax=.05; &lt;BR /&gt; yaxis values=(0 to 1 by 0.25) grid offsetmin=.05 offsetmax=.05;&lt;BR /&gt; lineparm x=0 y=0 slope=1 / transparency=.7;&lt;BR /&gt; series x=_1mspec_ y=_sensit_;&lt;BR /&gt; run;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Nov 2015 20:58:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-Create-Some-Specific-Graphs-on-SAS/m-p/234934#M12414</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2015-11-16T20:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to Create Some Specific Graphs on SAS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-Create-Some-Specific-Graphs-on-SAS/m-p/235139#M12419</link>
      <description>&lt;P&gt;Thanks a lot&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13633"&gt;@StatDave﻿&lt;/a&gt;&amp;nbsp;It's good to know this.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I created my last posted report which has logbase10 Axises. I used th GPLOT procedure again. You can see the code as below.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC GPLOT DATA = &amp;lt;dataset&amp;gt;
PLOT Column2* Column1
Column1* Column1
Column3* Column1
/
 OVERLAY
 GRID
	VAXIS=AXIS1

	HAXIS=AXIS2

	FRAME CFRAME=CXD4D4D4
	CVREF=CX969696
	CHREF=CX969696

FRAME	NOLEGEND;
FORMAT Column2 PERCENT11.4
		Column1 PERCENT11.4;
RUN; 
QUIT;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 17 Nov 2015 21:35:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-Create-Some-Specific-Graphs-on-SAS/m-p/235139#M12419</guid>
      <dc:creator>turcay</dc:creator>
      <dc:date>2015-11-17T21:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to Create Some Specific Graphs on SAS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-Create-Some-Specific-Graphs-on-SAS/m-p/235186#M12432</link>
      <description>&lt;P&gt;I created the traffic lights report by using Pattern and Areas option. You can see the code below&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;pattern1 v=s c=White;
pattern2 v=s c=Green;
pattern3 v=s c=yellow;
pattern4 v=s c=yellow;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC GPLOT DATA =&amp;lt;dataset&amp;gt;;
PLOT Column1* Column Column3* Column
Column2* Column Column4* Column/
 OVERLAY
	VAXIS=AXIS1

	HAXIS=AXIS2
	AREAS=1 
	AREAS=2 
	AREAS=3 
	AREAS=4
	AUTOVREF 
	
	HREVERSE
FRAME	 CFRAME=RED
LEGEND=LEGEND1
;
	FORMAT 
		Column1 PERCENT8.
		Column2 PERCENT8.
		Column3 PERCENT8.
		Column4 PERCENT8.;

RUN; 
QUIT;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;On my third report, i would like to create both bars and lines. I'm working on EG and i'm also trying to use SAS codes but i couldn't create the both bars and both lines. Firstly, i tried to use PROC GCHART(Bar Chart on EG) i added the column1 into&amp;nbsp;'Column to chart' for horizontal axes and i added column1 and column2 into&amp;nbsp;'Sum of' which generated bars.By using this method i could create the bars which i wanted but i can't create the lines on PROC GHART. I also used PROC GBARLINE(Bar-Line on EG) i could create the lines and a bar but there is a bar limit on PROC GBARLINE for this reason i can't create two bars on PROC GBARLINE. I searched on google and some forums/blogs of SAS but i couldn't what i want. If somebody have knowledge about this can&amp;nbsp;s/he share an example which includes two bars and three lines to help me, please ? I've already checked many procedure on google and some blogs. Seeing an example will be the best method for me to understand well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2015 08:16:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-Create-Some-Specific-Graphs-on-SAS/m-p/235186#M12432</guid>
      <dc:creator>turcay</dc:creator>
      <dc:date>2015-11-18T08:16:03Z</dc:date>
    </item>
  </channel>
</rss>

