<?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: Cusum in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Cusum/m-p/38305#M9802</link>
    <description>Share what SAS code you have today that is not generating the expected output.  Reply to your post and COPY/PASTE your SAS log with all code revealed.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
    <pubDate>Fri, 25 Mar 2011 12:34:03 GMT</pubDate>
    <dc:creator>sbb</dc:creator>
    <dc:date>2011-03-25T12:34:03Z</dc:date>
    <item>
      <title>Cusum</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Cusum/m-p/38304#M9801</link>
      <description>Hi All&lt;BR /&gt;
&lt;BR /&gt;
I am trying to plot a cusum, but for some reason instead of the data starting and ending at zero. It just starts off at zero but doesnt end no where near zero. &lt;BR /&gt;
&lt;BR /&gt;
Can anyone help me rectify this?&lt;BR /&gt;
&lt;BR /&gt;
Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Fri, 25 Mar 2011 12:00:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Cusum/m-p/38304#M9801</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2011-03-25T12:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: Cusum</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Cusum/m-p/38305#M9802</link>
      <description>Share what SAS code you have today that is not generating the expected output.  Reply to your post and COPY/PASTE your SAS log with all code revealed.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Fri, 25 Mar 2011 12:34:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Cusum/m-p/38305#M9802</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2011-03-25T12:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: Cusum</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Cusum/m-p/38306#M9803</link>
      <description>&lt;U&gt;&lt;B&gt;This is the code that i used:&lt;/B&gt;&lt;/U&gt;&lt;BR /&gt;
&lt;BR /&gt;
proc sort data=nov; by meanarea; run;&lt;BR /&gt;
&lt;BR /&gt;
proc cusum data=nov;&lt;BR /&gt;
	xchart fslope*meanarea = range/vaxis=axis1 haxis = axis2 			&lt;BR /&gt;
									vref=0	&lt;BR /&gt;
									nolegend nomask npanelpos=9999 &lt;BR /&gt;
									mu0    = &amp;amp;mean_area&lt;BR /&gt;
									sigma0 =&amp;amp;sd_area&lt;BR /&gt;
									h=1 delta=0.5&lt;BR /&gt;
									totpanels=1;&lt;BR /&gt;
&lt;BR /&gt;
	axis1 label=(a=90'Unrounded Slope');&lt;BR /&gt;
	axis2 label=('Mean Area');&lt;BR /&gt;
	title1 h=2.5 'RSCP Data_Cusum Chart';&lt;BR /&gt;
	title2 h=1.5 c=blue  'Slope/Area Ratio Vs Date (25NOV10 Onwards)';&lt;BR /&gt;
run;&lt;BR /&gt;
quit;&lt;BR /&gt;
&lt;U&gt;&lt;B&gt;&lt;BR /&gt;
and the log for above code is as follows:&lt;/B&gt;&lt;/U&gt;&lt;BR /&gt;
&lt;BR /&gt;
337  proc cusum data=nov;&lt;BR /&gt;
338      xchart fslope*meanarea = range/vaxis=axis1 haxis = axis2&lt;BR /&gt;
339                                      vref=0&lt;BR /&gt;
340                                      nolegend nomask npanelpos=9999&lt;BR /&gt;
341                                      mu0    = &amp;amp;mean_area&lt;BR /&gt;
342                                      sigma0 =&amp;amp;sd_area&lt;BR /&gt;
343                                      h=1 delta=0.5&lt;BR /&gt;
344                                      totpanels=1;&lt;BR /&gt;
345&lt;BR /&gt;
346      axis1 label=(a=90'Unrounded Slope');&lt;BR /&gt;
347      axis2 label=('Mean Area');&lt;BR /&gt;
348      title1 h=2.5 'RSCP Data_Cusum Chart';&lt;BR /&gt;
349      title2 h=1.5 c=blue  'Slope/Area Ratio Vs Date (25NOV10 Onwards)';&lt;BR /&gt;
350  run;&lt;BR /&gt;
&lt;BR /&gt;
NOTE: Processing beginning for XCHART statement number 1.&lt;BR /&gt;
WARNING: The NPANELPOS= option is ignored when the TOTPANELS= option is also specified.&lt;BR /&gt;
WARNING: The horizontal axis may not necessarily conform with the HAXIS= list since&lt;BR /&gt;
         TOTPANELS= has also been specified.&lt;BR /&gt;
WARNING: ANGLE= and/or ROTATE= values specified for a vertical axis label cannot be applied.&lt;BR /&gt;
NOTE: TYPE=STANDARD is assumed since MU0= and SIGMA0= were specified.&lt;BR /&gt;
NOTE: K = abs(DELTA/2) is assumed.&lt;BR /&gt;
NOTE: There were 349 observations read from the data set WORK.NOV.&lt;BR /&gt;
NOTE: At least one W.D format was too small for the number to be printed. The decimal may be&lt;BR /&gt;
      shifted by the "BEST" format.&lt;BR /&gt;
NOTE: PROCEDURE CUSUM used (Total process time):&lt;BR /&gt;
      real time           0.07 seconds&lt;BR /&gt;
      cpu time            0.04 seconds&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
351  quit;</description>
      <pubDate>Mon, 28 Mar 2011 11:58:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Cusum/m-p/38306#M9803</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2011-03-28T11:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: Cusum</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Cusum/m-p/38307#M9804</link>
      <description>Hi All&lt;BR /&gt;
&lt;BR /&gt;
Please ignore the whole post. I just got the cusum working the way i wanted. But don't know how to delete the post&lt;BR /&gt;
&lt;BR /&gt;
Thank you</description>
      <pubDate>Mon, 28 Mar 2011 12:50:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Cusum/m-p/38307#M9804</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2011-03-28T12:50:00Z</dc:date>
    </item>
  </channel>
</rss>

