<?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 Producing shift plots with corresponding Upper Level Normal (ULN) &amp;amp; Lower Lever Normal (LLN) in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/Producing-shift-plots-with-corresponding-Upper-Level-Normal-ULN/m-p/689957#M20570</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to this group.&amp;nbsp; I have instructions from a document to produce a&amp;nbsp;shift plots with corresponding normal ranges.&amp;nbsp; Included are boundaries for the Upper Limit Normal (ULN) and Lower Limit Normal (LLN) [see attachment].&amp;nbsp; I tried searching the web and found very little.&amp;nbsp; This graph was produced by a document with no data to run; this is what they expect as a result of the data they will send us.&amp;nbsp; Can SAS produce this graph?&amp;nbsp; If so, how.&amp;nbsp; Any response will be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thank you &amp;amp; stay safe.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 08 Oct 2020 13:03:17 GMT</pubDate>
    <dc:creator>Edward_Hanson</dc:creator>
    <dc:date>2020-10-08T13:03:17Z</dc:date>
    <item>
      <title>Producing shift plots with corresponding Upper Level Normal (ULN) &amp; Lower Lever Normal (LLN)</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Producing-shift-plots-with-corresponding-Upper-Level-Normal-ULN/m-p/689957#M20570</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to this group.&amp;nbsp; I have instructions from a document to produce a&amp;nbsp;shift plots with corresponding normal ranges.&amp;nbsp; Included are boundaries for the Upper Limit Normal (ULN) and Lower Limit Normal (LLN) [see attachment].&amp;nbsp; I tried searching the web and found very little.&amp;nbsp; This graph was produced by a document with no data to run; this is what they expect as a result of the data they will send us.&amp;nbsp; Can SAS produce this graph?&amp;nbsp; If so, how.&amp;nbsp; Any response will be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thank you &amp;amp; stay safe.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2020 13:03:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Producing-shift-plots-with-corresponding-Upper-Level-Normal-ULN/m-p/689957#M20570</guid>
      <dc:creator>Edward_Hanson</dc:creator>
      <dc:date>2020-10-08T13:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: Producing shift plots with corresponding Upper Level Normal (ULN) &amp; Lower Lever Normal (LLN)</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Producing-shift-plots-with-corresponding-Upper-Level-Normal-ULN/m-p/689984#M20571</link>
      <description>&lt;P&gt;It looks like the plot plots the clinical “normal ranges” of the lab values. These&lt;/P&gt;
&lt;P&gt;values appear to be approximately 0.55 and 1.5 for this value. Check the source of this plot to find out the exact values you should use.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So you can create a plot like this by using PROC SGPLOT to create a scatter plot and then using the REFLINE statement to add the reference lines on each axis:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt; &lt;STRONG&gt;sgplot&lt;/STRONG&gt; data=Have;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; scatter x=x y=y;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; refline &lt;STRONG&gt;0.55&lt;/STRONG&gt; &lt;STRONG&gt;1.5&lt;/STRONG&gt; / axis=x;&amp;nbsp; /* normal clinical range */&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; refline &lt;STRONG&gt;0.55&lt;/STRONG&gt; &lt;STRONG&gt;1.5&lt;/STRONG&gt; / axis=y;&amp;nbsp; /* percentiles from PROC MEANS */&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; xaxis min=&lt;STRONG&gt;0&lt;/STRONG&gt; grid;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; yaxis min=&lt;STRONG&gt;0&lt;/STRONG&gt; grid;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2020 13:56:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Producing-shift-plots-with-corresponding-Upper-Level-Normal-ULN/m-p/689984#M20571</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2020-10-08T13:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: Producing shift plots with corresponding Upper Level Normal (ULN) &amp; Lower Lever Normal (LLN)</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/Producing-shift-plots-with-corresponding-Upper-Level-Normal-ULN/m-p/690037#M20572</link>
      <description>&lt;P&gt;Here's a complete example (using made-up/fake/random data), that shows more of the subtle details needed to get the exact plot you showed:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data foo;&lt;BR /&gt;do subject_id = 1 to 80;&lt;BR /&gt;x=ranuni(123)*1.5;&lt;BR /&gt;y=ranuni(123)*2.0;&lt;BR /&gt;plabel=' ';&lt;BR /&gt;if subject_id in (2 5 27) then plabel=trim(left(put(subject_id,z3.)));&lt;BR /&gt;output;&lt;BR /&gt;end;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;%let x_uln=1.2;&lt;BR /&gt;%let x_lln=0.5;&lt;BR /&gt;%let y_uln=1.5;&lt;BR /&gt;%let y_lln=0.5;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;title1 h=18pt c=gray77 "Lab Parameter";&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;proc sgplot data=foo;&lt;BR /&gt;label y='Follow Up Visit Lab Parameter';&lt;BR /&gt;label x='Baseline Lab Parameter';&lt;BR /&gt;scatter x=x y=y / markerattrs=(size=15px color=navy symbol=circlefilled) transparency=.5&lt;BR /&gt;&amp;nbsp; &amp;nbsp;datalabel=plabel datalabelattrs=(color=navy);&lt;BR /&gt;refline &amp;amp;x_uln / axis=x lineattrs=(color=red thickness=3px pattern=dash) transparency=.3&lt;BR /&gt;&amp;nbsp; &amp;nbsp;label="ULN" labelattrs=(color=red) labelloc=inside labelpos=max;&lt;BR /&gt;refline &amp;amp;x_lln / axis=x lineattrs=(color=red thickness=3px pattern=dash) transparency=.3&lt;BR /&gt;&amp;nbsp; &amp;nbsp;label="LLN" labelattrs=(color=red) labelloc=inside labelpos=max;&lt;BR /&gt;refline &amp;amp;y_uln / axis=y lineattrs=(color=red thickness=3px pattern=dash) transparency=.3&lt;BR /&gt;&amp;nbsp; &amp;nbsp;label="ULN" labelattrs=(color=red) labelloc=inside labelpos=max;&lt;BR /&gt;refline &amp;amp;y_lln / axis=y lineattrs=(color=red thickness=3px pattern=dash) transparency=.3&lt;BR /&gt;&amp;nbsp; &amp;nbsp;label="LLN" labelattrs=(color=red) labelloc=inside labelpos=max;&lt;BR /&gt;xaxis grid;&lt;BR /&gt;yaxis grid;&lt;BR /&gt;run;&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="lab.png" style="width: 640px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/50369iB35CF72FE6AEA802/image-size/large?v=v2&amp;amp;px=999" role="button" title="lab.png" alt="lab.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2020 15:10:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/Producing-shift-plots-with-corresponding-Upper-Level-Normal-ULN/m-p/690037#M20572</guid>
      <dc:creator>GraphGuy</dc:creator>
      <dc:date>2020-10-08T15:10:20Z</dc:date>
    </item>
  </channel>
</rss>

