<?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: van Elteren test (using npar1way) in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/van-Elteren-test-using-npar1way/m-p/811012#M39949</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/401914"&gt;@liranme&lt;/a&gt;&amp;nbsp;and welcome to the SAS Support Communities!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Most likely this is just because the stratified rank sum statistic (46.3) is displayed rounded to only one decimal. Note that, e.g.,&lt;/P&gt;
&lt;PRE&gt;&lt;FONT size="4"&gt;(46.3&lt;STRONG&gt;&lt;FONT color="#3366FF"&gt;153&lt;/FONT&gt;&lt;/STRONG&gt; - 42.5) / 1.907524 = &lt;FONT color="#008000"&gt;&lt;STRONG&gt;2.0001&lt;/STRONG&gt;&lt;/FONT&gt;3...&lt;/FONT&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Put an ODS OUTPUT statement before your PROC NPAR1WAY step,&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods output WilcoxonStrataTest=want;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;print the output dataset with a numeric format showing more decimals (after submitting the&amp;nbsp;PROC NPAR1WAY step)&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc print data=want;
format _numeric_ best16.;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and then update your calculation of the Z statistic.&lt;/P&gt;</description>
    <pubDate>Mon, 02 May 2022 08:50:22 GMT</pubDate>
    <dc:creator>FreelanceReinh</dc:creator>
    <dc:date>2022-05-02T08:50:22Z</dc:date>
    <item>
      <title>van Elteren test (using npar1way)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/van-Elteren-test-using-npar1way/m-p/811004#M39945</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp; I was running the following core syntax&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Proc &amp;nbsp;data=XXX;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; class GROUP;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;strata STRT;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;var OUTCOME;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;run; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For a stratified MWM test (2 groups, 2 strata).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I got the output below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Output" style="width: 805px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/71064i5928192BABFCD15E/image-size/large?v=v2&amp;amp;px=999" role="button" title="vE output sas.JPG" alt="Output" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Output&lt;/span&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My question:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We see that the (uncorrected) test-statistic Z is: (46.3 – 42.5) / 1.907524 = &amp;nbsp;&lt;U&gt;1.992111&lt;/U&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;While the output Z statistic is: &lt;U&gt;2.0001&lt;/U&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Why is the difference? (approximation/ correction? Couldn’t find any reference and would appreciate having one).&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Liran&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2022 07:29:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/van-Elteren-test-using-npar1way/m-p/811004#M39945</guid>
      <dc:creator>liranme</dc:creator>
      <dc:date>2022-05-02T07:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: van Elteren test (using npar1way)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/van-Elteren-test-using-npar1way/m-p/811012#M39949</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/401914"&gt;@liranme&lt;/a&gt;&amp;nbsp;and welcome to the SAS Support Communities!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Most likely this is just because the stratified rank sum statistic (46.3) is displayed rounded to only one decimal. Note that, e.g.,&lt;/P&gt;
&lt;PRE&gt;&lt;FONT size="4"&gt;(46.3&lt;STRONG&gt;&lt;FONT color="#3366FF"&gt;153&lt;/FONT&gt;&lt;/STRONG&gt; - 42.5) / 1.907524 = &lt;FONT color="#008000"&gt;&lt;STRONG&gt;2.0001&lt;/STRONG&gt;&lt;/FONT&gt;3...&lt;/FONT&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Put an ODS OUTPUT statement before your PROC NPAR1WAY step,&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods output WilcoxonStrataTest=want;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;print the output dataset with a numeric format showing more decimals (after submitting the&amp;nbsp;PROC NPAR1WAY step)&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc print data=want;
format _numeric_ best16.;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and then update your calculation of the Z statistic.&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2022 08:50:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/van-Elteren-test-using-npar1way/m-p/811012#M39949</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2022-05-02T08:50:22Z</dc:date>
    </item>
  </channel>
</rss>

