<?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 Forest Plot using SGPLOT in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Forest-Plot-using-SGPLOT/m-p/165462#M42872</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to control the spacing on y-axis between each subgroup of a forest plot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Age &amp;lt;=65&lt;/P&gt;&lt;P&gt;Age &amp;gt;75&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Male&lt;/P&gt;&lt;P&gt;Female&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;White&lt;/P&gt;&lt;P&gt;Non White&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;etc..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 May 2014 20:17:27 GMT</pubDate>
    <dc:creator>sasjourney</dc:creator>
    <dc:date>2014-05-19T20:17:27Z</dc:date>
    <item>
      <title>Forest Plot using SGPLOT</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Forest-Plot-using-SGPLOT/m-p/165462#M42872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to control the spacing on y-axis between each subgroup of a forest plot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Age &amp;lt;=65&lt;/P&gt;&lt;P&gt;Age &amp;gt;75&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Male&lt;/P&gt;&lt;P&gt;Female&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;White&lt;/P&gt;&lt;P&gt;Non White&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;etc..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2014 20:17:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Forest-Plot-using-SGPLOT/m-p/165462#M42872</guid>
      <dc:creator>sasjourney</dc:creator>
      <dc:date>2014-05-19T20:17:27Z</dc:date>
    </item>
    <item>
      <title>Re: Forest Plot using SGPLOT</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Forest-Plot-using-SGPLOT/m-p/165463#M42873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You might want to state which version of SAS you are using as the SG procedures have gone through lots of improvements in the last few releases. My first likely solution is for an older versiona but I believe there have been options added that might do what you need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also posting your code and an example of the data might make responses quicker.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2014 21:39:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Forest-Plot-using-SGPLOT/m-p/165463#M42873</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2014-05-19T21:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: Forest Plot using SGPLOT</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Forest-Plot-using-SGPLOT/m-p/165464#M42874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; I believe there is a GTL example of a FOREST plot, as well as an SG Procedure example of a FOREST plot. You should be able to search in support.sas.com to find the example links. See screen shots.&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/10835iB6FF17E5EECA1D5E/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="search_forest_plots.png" title="search_forest_plots.png" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2014 00:08:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Forest-Plot-using-SGPLOT/m-p/165464#M42874</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2014-05-20T00:08:28Z</dc:date>
    </item>
    <item>
      <title>Re: Forest Plot using SGPLOT</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Forest-Plot-using-SGPLOT/m-p/165465#M42875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Ballard and Cynthia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using SAS 9.3 on windows. Yes, there is an example from Sanjay's blog using GTL but I was trying to output similar output using SGPLOT. But the problem is, I couldn't group them together with a space in between each group.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the code i'm using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sgplot data=forest&amp;amp;i noautolegend;&lt;/P&gt;&lt;P&gt;&amp;nbsp; scatter y = subgroup x = orval / xerrorupper = upper_limit&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xerrorlower = lower_limit&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; markerattrs = graphdata1 (symbol = squarefilled);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; scatter y = subgroup x = trt1_lbl&amp;nbsp;&amp;nbsp; / markerchar = Trt1cnt&amp;nbsp; x2axis;&lt;/P&gt;&lt;P&gt;&amp;nbsp; scatter y = subgroup x = trt2_lbl&amp;nbsp;&amp;nbsp; / markerchar = Trt2cnt&amp;nbsp; x2axis;&lt;/P&gt;&lt;P&gt;&amp;nbsp; scatter y = subgroup x = or_lbl&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; / markerchar = OddRatio x2axis;&lt;/P&gt;&lt;P&gt;&amp;nbsp; scatter y = subgroup x = pval_lbl&amp;nbsp;&amp;nbsp;&amp;nbsp; / markerchar = pvalue&amp;nbsp;&amp;nbsp; x2axis;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; refline 1 5 / axis = x;&lt;/P&gt;&lt;P&gt;&amp;nbsp; inset '&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Favors Treatment' / position = bottomleft;&lt;/P&gt;&lt;P&gt;&amp;nbsp; inset 'Favors Control&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ' / position = bottom;&lt;/P&gt;&lt;P&gt;&amp;nbsp; xaxis type = log offsetmin = 0.02 offsetmax = 0.35&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; min = 0.05 max = 20 minor display = (nolabel) grid;&lt;/P&gt;&lt;P&gt;&amp;nbsp; x2axis offsetmin = 0.7 display = (noticks nolabel) offsetmax = 0.05;&lt;/P&gt;&lt;P&gt;&amp;nbsp; yaxis display = (noticks nolabel) offsetmin = 0.02 offsetmax = 0.02;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2014 00:45:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Forest-Plot-using-SGPLOT/m-p/165465#M42875</guid>
      <dc:creator>sasjourney</dc:creator>
      <dc:date>2014-05-20T00:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: Forest Plot using SGPLOT</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Forest-Plot-using-SGPLOT/m-p/165466#M42876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; Without a sample of YOUR data, it's impossible to understand what you mean. My suggestion is that you post this question, with code and data over in the ODS Graphics forum. Sanjay will look at and answer questions that are posted over there, and since he is the author of all the FOREST plot examples that I know of, he's the expert in this area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cynthia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2014 02:33:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Forest-Plot-using-SGPLOT/m-p/165466#M42876</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2014-05-20T02:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: Forest Plot using SGPLOT</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Forest-Plot-using-SGPLOT/m-p/165467#M42877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One of the classic ways is to add a value in each sub group with an associated y value of missing or zero. Playing some games with the value formats to indicate a blank or possibly just a vertical line to indicate a spacer is often possible. Just make sure that the added subgroup value is either last or first in value. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2014 14:58:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Forest-Plot-using-SGPLOT/m-p/165467#M42877</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2014-05-20T14:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: Forest Plot using SGPLOT</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Forest-Plot-using-SGPLOT/m-p/165468#M42878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Ballard.&lt;/P&gt;&lt;P&gt;I did try that approach by plugging in a blank record after each subgroup, but I was not able to get that extra blank (Maybe because the oddsratio, which I was trying to plot is missing). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2014 15:37:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Forest-Plot-using-SGPLOT/m-p/165468#M42878</guid>
      <dc:creator>sasjourney</dc:creator>
      <dc:date>2014-05-20T15:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: Forest Plot using SGPLOT</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Forest-Plot-using-SGPLOT/m-p/165469#M42879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By "blank record" do you mean all values missing? or just the results?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2014 16:35:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Forest-Plot-using-SGPLOT/m-p/165469#M42879</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2014-05-20T16:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: Forest Plot using SGPLOT</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Forest-Plot-using-SGPLOT/m-p/165470#M42880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I meant just the results..I have everything else populated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 May 2014 18:38:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Forest-Plot-using-SGPLOT/m-p/165470#M42880</guid>
      <dc:creator>sasjourney</dc:creator>
      <dc:date>2014-05-20T18:38:47Z</dc:date>
    </item>
  </channel>
</rss>

