<?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 sgplot with SE bars in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/sgplot-with-SE-bars/m-p/896048#M354032</link>
    <description>&lt;P&gt;Hello sas community&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below my sas code and results, so my question is, looking at the figure , i cant differeciate with my 3 BHB levels (red, blue and green)&amp;nbsp;they are crowded together(if the correct word) so if there are any solution in same figurei can separate them with SE include.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you so much&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/*************************************/&lt;/P&gt;
&lt;P&gt;/* ALL BH classe and DAMDIM */&lt;/P&gt;
&lt;P&gt;Data lsmns11_INTR_bhb_ALL;&lt;BR /&gt;set lsmns11_INTR_bhb;&lt;BR /&gt;IF (Effect eq 'Dam_DIM*BHB_level');&lt;BR /&gt;SeUpper = estimate+StdErr;&lt;BR /&gt;SeLower = estimate-StdErr;&lt;BR /&gt;drop COW_age_CLV_MO dam_lact_no dam_clv_mo Cow_CLv_Mo effect df tvalue probt dam_YOB;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;title 'daughter NS vs dam_dim /BHB /ALL, P1';&lt;BR /&gt;proc sgplot data=lsmns11_INTR_bhb_ALL;&lt;BR /&gt;series x=Dam_DIM y=estimate / group=BHB_level ;&lt;BR /&gt;scatter x=Dam_DIM y=estimate / group=BHB_level &lt;BR /&gt;yerrorlower=SeLower yerrorupper=SeUpper;&lt;/P&gt;
&lt;P&gt;xaxis label="Dam_dim/BHBlevels" values=(38 to 225 by 5);&lt;BR /&gt;yaxis label="Estimate/SE" values=(-1.3 to 11 by 0.1);&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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="Ameurgen_0-1695823035862.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/88371i53CD76774EFB8B19/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ameurgen_0-1695823035862.png" alt="Ameurgen_0-1695823035862.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 27 Sep 2023 14:01:19 GMT</pubDate>
    <dc:creator>Ameurgen</dc:creator>
    <dc:date>2023-09-27T14:01:19Z</dc:date>
    <item>
      <title>sgplot with SE bars</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sgplot-with-SE-bars/m-p/896048#M354032</link>
      <description>&lt;P&gt;Hello sas community&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below my sas code and results, so my question is, looking at the figure , i cant differeciate with my 3 BHB levels (red, blue and green)&amp;nbsp;they are crowded together(if the correct word) so if there are any solution in same figurei can separate them with SE include.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you so much&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/*************************************/&lt;/P&gt;
&lt;P&gt;/* ALL BH classe and DAMDIM */&lt;/P&gt;
&lt;P&gt;Data lsmns11_INTR_bhb_ALL;&lt;BR /&gt;set lsmns11_INTR_bhb;&lt;BR /&gt;IF (Effect eq 'Dam_DIM*BHB_level');&lt;BR /&gt;SeUpper = estimate+StdErr;&lt;BR /&gt;SeLower = estimate-StdErr;&lt;BR /&gt;drop COW_age_CLV_MO dam_lact_no dam_clv_mo Cow_CLv_Mo effect df tvalue probt dam_YOB;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;title 'daughter NS vs dam_dim /BHB /ALL, P1';&lt;BR /&gt;proc sgplot data=lsmns11_INTR_bhb_ALL;&lt;BR /&gt;series x=Dam_DIM y=estimate / group=BHB_level ;&lt;BR /&gt;scatter x=Dam_DIM y=estimate / group=BHB_level &lt;BR /&gt;yerrorlower=SeLower yerrorupper=SeUpper;&lt;/P&gt;
&lt;P&gt;xaxis label="Dam_dim/BHBlevels" values=(38 to 225 by 5);&lt;BR /&gt;yaxis label="Estimate/SE" values=(-1.3 to 11 by 0.1);&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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="Ameurgen_0-1695823035862.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/88371i53CD76774EFB8B19/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ameurgen_0-1695823035862.png" alt="Ameurgen_0-1695823035862.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 14:01:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sgplot-with-SE-bars/m-p/896048#M354032</guid>
      <dc:creator>Ameurgen</dc:creator>
      <dc:date>2023-09-27T14:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: sgplot with SE bars</title>
      <link>https://communities.sas.com/t5/SAS-Programming/sgplot-with-SE-bars/m-p/896078#M354039</link>
      <description>&lt;P&gt;&amp;nbsp;One possibility, use Proc SGPANEL and use your BHB_level variable as the Panelby variable to create one plot for each value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another, use ODS Graphics to define a much wider graph area with the Width option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Without any understanding of the data I might question what that X axis actually represents as well as what you are attempting to show. Maybe the idea for the plot isn't well conceived. I am not sure that including a series in that plot is actually helping convey any information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 15:08:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/sgplot-with-SE-bars/m-p/896078#M354039</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-09-27T15:08:59Z</dc:date>
    </item>
  </channel>
</rss>

