<?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: How can i set hypothesis? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-can-i-set-hypothesis/m-p/399720#M20823</link>
    <description>&lt;P&gt;All variables in the model statement need to be numeric. Try setting a new gender variable to, say, 0 for female and 1 for male.&lt;/P&gt;</description>
    <pubDate>Fri, 29 Sep 2017 08:23:23 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2017-09-29T08:23:23Z</dc:date>
    <item>
      <title>How can i set hypothesis?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-can-i-set-hypothesis/m-p/399719#M20822</link>
      <description>&lt;P&gt;I'd like to test hypothesis, where the difference between genders regards to writing ability.&lt;/P&gt;&lt;P&gt;My hypothesis is that females would have higher score than males.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="캡처.JPG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/15493i765F862C09280190/image-size/large?v=v2&amp;amp;px=999" role="button" title="캡처.JPG" alt="캡처.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And i was going to use 'proc glm' or 'proc reg' to test about it but the error says:&lt;/P&gt;&lt;P&gt;ERROR: Variable gender in list does not match type prescribed for this list.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So is it meaning that i can't use categorical variables to test hypothesis?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my code:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc reg data=temp;
model write = gender;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2017 08:17:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-can-i-set-hypothesis/m-p/399719#M20822</guid>
      <dc:creator>glee217</dc:creator>
      <dc:date>2017-09-29T08:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: How can i set hypothesis?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-can-i-set-hypothesis/m-p/399720#M20823</link>
      <description>&lt;P&gt;All variables in the model statement need to be numeric. Try setting a new gender variable to, say, 0 for female and 1 for male.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2017 08:23:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-can-i-set-hypothesis/m-p/399720#M20823</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-09-29T08:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: How can i set hypothesis?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-can-i-set-hypothesis/m-p/399754#M20829</link>
      <description>&lt;P&gt;Just add gender as a class variable and use PROC GLM:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc glm data=temp;
class gender;
model write = gender;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;If your primary purpose is to conduct a t test for the difference of means, you can use PROC TTEST, which supports one- or two-sides tests of hypothesis. See the &lt;A href="http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_ttest_gettingstarted02.htm" target="_self"&gt;Getting Started example for PROC TTEST.&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2017 12:27:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-can-i-set-hypothesis/m-p/399754#M20829</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2017-09-29T12:27:46Z</dc:date>
    </item>
  </channel>
</rss>

