<?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 Calculate Krushall wallis and mann whitney U test using Complex sample in SAS in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Calculate-Krushall-wallis-and-mann-whitney-U-test-using-Complex/m-p/385405#M20034</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am sajama. I am using DHS data for my dissertation and using SAS studio for it. I needed to calculate krushall wallis and mann whitney u test using complex sample in SAS? could you please help me on this with the codes. I am new in SAS and when I tried using surveyfreq command, something goes wrong everytime. I have already generated complex sample (CS) plan watching DHS video and I could get the frequency with CS plan but not K test, May be I am wrong somewhere in the organizing the command.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't have idea if I should run the complex sample command and test command in one go or saparately?&lt;/P&gt;&lt;P&gt;I tried using the below command:&lt;/P&gt;&lt;P&gt;proc surveyfreq data=NDHSSAS.DHS wilcoxon plots(only)=(wilcoxonboxplot);&lt;BR /&gt;class HV007;&lt;BR /&gt;var Stunting;&lt;BR /&gt;where hv103=1 and HC33=1 and HC1 &amp;gt;=0 and HC1&amp;lt;=59 and HV025=1;&lt;BR /&gt;weight WGT;&lt;BR /&gt;cluster hv021;&lt;BR /&gt;stratum hv022;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But could not get the result.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will really appreciate your help.&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
    <pubDate>Thu, 03 Aug 2017 17:29:29 GMT</pubDate>
    <dc:creator>sajama</dc:creator>
    <dc:date>2017-08-03T17:29:29Z</dc:date>
    <item>
      <title>Calculate Krushall wallis and mann whitney U test using Complex sample in SAS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Calculate-Krushall-wallis-and-mann-whitney-U-test-using-Complex/m-p/385405#M20034</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am sajama. I am using DHS data for my dissertation and using SAS studio for it. I needed to calculate krushall wallis and mann whitney u test using complex sample in SAS? could you please help me on this with the codes. I am new in SAS and when I tried using surveyfreq command, something goes wrong everytime. I have already generated complex sample (CS) plan watching DHS video and I could get the frequency with CS plan but not K test, May be I am wrong somewhere in the organizing the command.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't have idea if I should run the complex sample command and test command in one go or saparately?&lt;/P&gt;&lt;P&gt;I tried using the below command:&lt;/P&gt;&lt;P&gt;proc surveyfreq data=NDHSSAS.DHS wilcoxon plots(only)=(wilcoxonboxplot);&lt;BR /&gt;class HV007;&lt;BR /&gt;var Stunting;&lt;BR /&gt;where hv103=1 and HC33=1 and HC1 &amp;gt;=0 and HC1&amp;lt;=59 and HV025=1;&lt;BR /&gt;weight WGT;&lt;BR /&gt;cluster hv021;&lt;BR /&gt;stratum hv022;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But could not get the result.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will really appreciate your help.&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 17:29:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Calculate-Krushall-wallis-and-mann-whitney-U-test-using-Complex/m-p/385405#M20034</guid>
      <dc:creator>sajama</dc:creator>
      <dc:date>2017-08-03T17:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate Krushall wallis and mann whitney U test using Complex sample in SAS</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Calculate-Krushall-wallis-and-mann-whitney-U-test-using-Complex/m-p/385513#M20038</link>
      <description>&lt;P&gt;"Something goes wrong" is awful vague.&lt;BR /&gt;&lt;BR /&gt;Are there errors in the log?: Post the code and log in a code box opened with the {i} to maintain formatting of error messages.&lt;BR /&gt;&lt;BR /&gt;No output? Post any log in a code box.&lt;BR /&gt;&lt;BR /&gt;Unexpected output? Provide input data in the form of a dataset, the actual results and the expected results. Data should be in the form of a data step. Instructions here: &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-dat" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-dat&lt;/A&gt;... will show how to turn an existing SAS data set into data step code that can be pasted into a forum code box using the {i} icon or attached as text to show exactly what you have and that we can test code against.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I look at the syntax reference for Surveyfreq I do not see a WILCOXON or Plots option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Other potential issues involve use of strata and clusters without telling the procedure any information about the primary sampling units in the sample frame.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is no Class statement is Surveyfreq. Possibly you meant By.&lt;/P&gt;
&lt;P&gt;There is no VAR statement, TABLES requests summaries for the variable or variable combinations. or possibly you wanted Tables Stunting*HV007.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2017 22:28:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Calculate-Krushall-wallis-and-mann-whitney-U-test-using-Complex/m-p/385513#M20038</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-08-03T22:28:10Z</dc:date>
    </item>
  </channel>
</rss>

