<?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: Forest plot in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Forest-plot/m-p/738549#M28894</link>
    <description>&lt;P&gt;Yes, it works&lt;SPAN style="font-family: inherit;"&gt;. Thanks a lot.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Last question: to produce this same graph for men and women should I use proc sgpanel?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which option do you advise me?&lt;/P&gt;</description>
    <pubDate>Mon, 03 May 2021 11:22:33 GMT</pubDate>
    <dc:creator>Stefy67</dc:creator>
    <dc:date>2021-05-03T11:22:33Z</dc:date>
    <item>
      <title>Forest plot</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Forest-plot/m-p/738520#M28889</link>
      <description>&lt;P&gt;I want to produce a forest plot from my dataset here enclosed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Stefy67_0-1620031714146.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/58950i45E8CDC3E1D9CAA6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Stefy67_0-1620031714146.png" alt="Stefy67_0-1620031714146.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I write this code:&lt;/P&gt;&lt;P&gt;proc sgplot data=plot;&lt;BR /&gt;scatter x=pmr_max y=atc81chr1 / group=causa&lt;BR /&gt;xerrorlower=pmr_inf_max xerrorupper=pmr_sup_max&lt;BR /&gt;markerattrs=or (symbol=CircleFilled size=8 color=red) ;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and this the result&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Stefy67_1-1620031809367.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/58951i6D04475E674FCFB7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Stefy67_1-1620031809367.png" alt="Stefy67_1-1620031809367.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I want to ask:&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. how can I have different colors for each causa&lt;/P&gt;&lt;P&gt;2. I would like to have the different PMR_max for each ATC81chr1 in column and not on the same line (see the last line 'Costruzioni navali').&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for you help&lt;/P&gt;&lt;P&gt;Stefania&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 May 2021 08:57:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Forest-plot/m-p/738520#M28889</guid>
      <dc:creator>Stefy67</dc:creator>
      <dc:date>2021-05-03T08:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: Forest plot</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Forest-plot/m-p/738531#M28891</link>
      <description>&lt;P&gt;You want this ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc summary data=sashelp.heart nway;
class Smoking_Status status;
var weight;
output out=have mean=mean lclm=lclm uclm=uclm;
run;
ods graphics/attrpriority=none;
proc sgplot data=have;
styleattrs datasymbols=(circlefilled diamondfilled) ;
scatter x=mean y=Smoking_Status/group=status groupdisplay=cluster xerrorlower=lclm xerrorupper=uclm;
yaxis colorbands=odd;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SGPlot8.png" style="width: 640px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/58952i7C762D696947CDA0/image-size/large?v=v2&amp;amp;px=999" role="button" title="SGPlot8.png" alt="SGPlot8.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 May 2021 10:30:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Forest-plot/m-p/738531#M28891</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-05-03T10:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: Forest plot</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Forest-plot/m-p/738542#M28892</link>
      <description>Yes. Thanks.&lt;BR /&gt;May I choose colors for 'Status' ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 03 May 2021 11:00:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Forest-plot/m-p/738542#M28892</guid>
      <dc:creator>Stefy67</dc:creator>
      <dc:date>2021-05-03T11:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: Forest plot</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Forest-plot/m-p/738547#M28893</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc summary data=sashelp.heart nway;
class Smoking_Status status;
var weight;
output out=have mean=mean lclm=lclm uclm=uclm;
run;
ods graphics/attrpriority=none;
proc sgplot data=have;
styleattrs datasymbols=(circlefilled diamondfilled) datacontrastcolors=(green purple);
scatter x=mean y=Smoking_Status/group=status groupdisplay=cluster xerrorlower=lclm xerrorupper=uclm;
yaxis colorbands=odd;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Sure. Try this.&lt;/P&gt;</description>
      <pubDate>Mon, 03 May 2021 11:15:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Forest-plot/m-p/738547#M28893</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-05-03T11:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: Forest plot</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Forest-plot/m-p/738549#M28894</link>
      <description>&lt;P&gt;Yes, it works&lt;SPAN style="font-family: inherit;"&gt;. Thanks a lot.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Last question: to produce this same graph for men and women should I use proc sgpanel?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which option do you advise me?&lt;/P&gt;</description>
      <pubDate>Mon, 03 May 2021 11:22:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Forest-plot/m-p/738549#M28894</guid>
      <dc:creator>Stefy67</dc:creator>
      <dc:date>2021-05-03T11:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: Forest plot</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Forest-plot/m-p/738553#M28895</link>
      <description>&lt;P&gt;Answer is yes. Or run twice proc sgplot ,one for Male, another for Female.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc summary data=sashelp.heart nway;
class sex Smoking_Status status;
var weight;
output out=have mean=mean lclm=lclm uclm=uclm;
run;
ods graphics/attrpriority=none;
proc sgpanel data=have;
panelby sex/layout=columnlattice novarname;
styleattrs datasymbols=(circlefilled diamondfilled) datacontrastcolors=(green purple);
scatter x=mean y=Smoking_Status/group=status groupdisplay=cluster xerrorlower=lclm xerrorupper=uclm;
rowaxis colorbands=odd;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SGPanel3.png" style="width: 640px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/58953iCB04A5A3A297F6E6/image-size/large?v=v2&amp;amp;px=999" role="button" title="SGPanel3.png" alt="SGPanel3.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 May 2021 11:34:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Forest-plot/m-p/738553#M28895</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-05-03T11:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: Forest plot</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Forest-plot/m-p/738555#M28896</link>
      <description>Thanks again.&lt;BR /&gt;</description>
      <pubDate>Mon, 03 May 2021 11:41:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Forest-plot/m-p/738555#M28896</guid>
      <dc:creator>Stefy67</dc:creator>
      <dc:date>2021-05-03T11:41:51Z</dc:date>
    </item>
  </channel>
</rss>

