<?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 Help with Shewhart Control Chart in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/Help-with-Shewhart-Control-Chart/m-p/752570#M10061</link>
    <description>&lt;P&gt;I'm want to create an XSchart&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is the code I used but the chart was split into 5 instead of 1. The dates in my data are 09/01/2020, 10/01/2020, 11/01/2020, and so on. Do I need to include something that will make just 1 chart?&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;title "Length of Stay";
symbol v=dot;

proc shewhart data=work.nowsbaseline_sorted;
	xschart neonatald*measureperiodid;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 08 Jul 2021 23:13:42 GMT</pubDate>
    <dc:creator>annaabimbola</dc:creator>
    <dc:date>2021-07-08T23:13:42Z</dc:date>
    <item>
      <title>Help with Shewhart Control Chart</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Help-with-Shewhart-Control-Chart/m-p/752570#M10061</link>
      <description>&lt;P&gt;I'm want to create an XSchart&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is the code I used but the chart was split into 5 instead of 1. The dates in my data are 09/01/2020, 10/01/2020, 11/01/2020, and so on. Do I need to include something that will make just 1 chart?&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;title "Length of Stay";
symbol v=dot;

proc shewhart data=work.nowsbaseline_sorted;
	xschart neonatald*measureperiodid;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jul 2021 23:13:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Help-with-Shewhart-Control-Chart/m-p/752570#M10061</guid>
      <dc:creator>annaabimbola</dc:creator>
      <dc:date>2021-07-08T23:13:42Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Shewhart Control Chart</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Help-with-Shewhart-Control-Chart/m-p/752705#M10062</link>
      <description>&lt;P&gt;Try something like this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;xschart neonatald*measureperiodid/haxis='01SEP2020'd to '01JUL2021'd by month;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You might also want to consider using a shorter format on the x-axis, for example assigning format YYMM5. to the x-axis variable, or using the TURNHLABELS option in PROC SHEWHART. &lt;/P&gt;</description>
      <pubDate>Wed, 07 Jul 2021 20:35:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Help-with-Shewhart-Control-Chart/m-p/752705#M10062</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-07-07T20:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Shewhart Control Chart</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Help-with-Shewhart-Control-Chart/m-p/752709#M10063</link>
      <description>&lt;P&gt;I tried that code but I got the same result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jul 2021 20:35:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Help-with-Shewhart-Control-Chart/m-p/752709#M10063</guid>
      <dc:creator>annaabimbola</dc:creator>
      <dc:date>2021-07-07T20:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Shewhart Control Chart</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Help-with-Shewhart-Control-Chart/m-p/752711#M10064</link>
      <description>&lt;P&gt;Hello, &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/387637"&gt;@annaabimbola&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From now on, when code isn't working, SHOW US THE LOG (and from now on, do not wait until we request to see the log). We need to see the ENTIRE log for your PROC SHEWHART, all of it, 100%, every character of the log for PROC SHEWHART. Do not pick and choose parts of the PROC SHEWHART log to show us.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;IMPORTANT INSTRUCTIONS: copy the log as text, then paste it into the window that appears when you click on the &amp;lt;/&amp;gt; icon. &lt;STRONG&gt;DO NOT SKIP THIS STEP&lt;/STRONG&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jul 2021 20:37:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Help-with-Shewhart-Control-Chart/m-p/752711#M10064</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-07-07T20:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Shewhart Control Chart</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Help-with-Shewhart-Control-Chart/m-p/752718#M10065</link>
      <description>&lt;PRE&gt;1          OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 72         
 73         
 74         title "Length of Stay";
 75         symbol v=dot;
 76         
 77         proc shewhart data=work.nowsbaseline_sorted;
 78         xschart neonatald*measureperiodid/haxis='01SEP2020'd to'01JUL2021'd by month;
 79         *xschart neonatald*measureperiodid;
 80         run;
 
 NOTE: Processing beginning for XSCHART statement number 1.
 ERROR: HAXIS values must be uniformly spaced.
 WARNING: Default axis scaling will be used.
 NOTE: Three-sigma limits are assumed.
 NOTE: TYPE=ESTIMATE is assumed for the process mean and standard deviation used to compute the control limits.
 NOTE: Since the format MMDDYY is associated with the subgroup variable MeasurePeriodID, it is assumed that the natural interval 
       between subgroup positions is one DAY.
 NOTE: The REPEAT option is assumed when a MMDDYY format is used with a subgroup variable.
 NOTE: There were 146 observations read from the data set WORK.NOWSBASELINE_SORTED.
 NOTE: PROCEDURE SHEWHART used (Total process time):
       real time           1.67 seconds
       user cpu time       0.79 seconds
       system cpu time     0.06 seconds
       memory              40867.59k
       OS Memory           71280.00k
       Timestamp           07/07/2021 08:46:54 PM
       Step Count                        44  Switch Count  0
       Page Faults                       0
       Page Reclaims                     13755
       Page Swaps                        0
       Voluntary Context Switches        1675
       Involuntary Context Switches      3
       Block Input Operations            0
       Block Output Operations           5176
       
 
 81         
 82         OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;
 94         &lt;/PRE&gt;</description>
      <pubDate>Wed, 07 Jul 2021 20:50:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Help-with-Shewhart-Control-Chart/m-p/752718#M10065</guid>
      <dc:creator>annaabimbola</dc:creator>
      <dc:date>2021-07-07T20:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Shewhart Control Chart</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Help-with-Shewhart-Control-Chart/m-p/752723#M10066</link>
      <description>&lt;PRE&gt;ERROR: HAXIS values must be uniformly spaced.&lt;/PRE&gt;
&lt;P&gt;Hmmm ... must be I mis-remembered that you can use months in PROC SHEWHART on the x-axis. It is kind of picky about things like that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can assign an integer index to each of your dates.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, assign 01SEP2020 the index of 1, 01OCT2020 the index of 2, and so on. Then use this index as your horizontal axis variable. Also create a variable YEAR which contains 2020 and 2021, and a variable month which is 1 through 12 for each time period. Then&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;xschart neonatald*index (year month);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You can see examples here: &lt;A href="https://documentation.sas.com/doc/en/qcug/15.2/qcug_shewhart_sect473.htm" target="_blank" rel="noopener"&gt;https://documentation.sas.com/doc/en/qcug/15.2/qcug_shewhart_sect473.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jul 2021 21:35:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Help-with-Shewhart-Control-Chart/m-p/752723#M10066</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-07-07T21:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Shewhart Control Chart</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Help-with-Shewhart-Control-Chart/m-p/752726#M10067</link>
      <description>Thank you, I'll try that.</description>
      <pubDate>Wed, 07 Jul 2021 21:02:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Help-with-Shewhart-Control-Chart/m-p/752726#M10067</guid>
      <dc:creator>annaabimbola</dc:creator>
      <dc:date>2021-07-07T21:02:05Z</dc:date>
    </item>
  </channel>
</rss>

