<?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: SAS problem at university T-Test(?) in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/SAS-problem-at-university-T-Test/m-p/55848#M15597</link>
    <description>As I said before, this is not a t-test (unless your description of the problem is wrong). It is a comparison of two proportions, which can be done via a chi-squared test.&lt;BR /&gt;
&lt;BR /&gt;
proc freq data=inl2;&lt;BR /&gt;
    tables sex*installning_bygge/chisq;&lt;BR /&gt;
run;</description>
    <pubDate>Tue, 21 Oct 2008 18:14:10 GMT</pubDate>
    <dc:creator>Paige</dc:creator>
    <dc:date>2008-10-21T18:14:10Z</dc:date>
    <item>
      <title>SAS problem at university T-Test(?)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-problem-at-university-T-Test/m-p/55845#M15594</link>
      <description>Hi!&lt;BR /&gt;
&lt;BR /&gt;
We are group of students at Stockholm University and we are supposed to do some calculations with SAS. We don't really know how to solve the problem so we thought that we might can get some help here.&lt;BR /&gt;
&lt;BR /&gt;
We got over the point where we did the dataline thing. We have two varaibels. Sex and attidute towards a building project. We have to estimate the proportion towards the building project. We also have to examinate if the proportion of the attidude is different for men and women according to the building project. &lt;BR /&gt;
&lt;BR /&gt;
The population is 101 men and 109 women so we know that we have to calculate it with something like:&lt;BR /&gt;
&lt;BR /&gt;
(x-y)/s but we don't know how to do that with SAS.&lt;BR /&gt;
&lt;BR /&gt;
We would be really greatful for some help...&lt;BR /&gt;
&lt;BR /&gt;
Thomas and the rest of the group.</description>
      <pubDate>Tue, 21 Oct 2008 11:29:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-problem-at-university-T-Test/m-p/55845#M15594</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-10-21T11:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: SAS problem at university T-Test(?)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-problem-at-university-T-Test/m-p/55846#M15595</link>
      <description>First of all, this is not a t-test. It is a comparison of two binomial proportions. You might want to look that up in a statistics text.&lt;BR /&gt;
&lt;BR /&gt;
How to do this in SAS? Well, that's a very broad question, and not knowing how far you have gone already, I can't really be terribly specific. Look in the documentation for PROC FREQ for comparing two proportions.</description>
      <pubDate>Tue, 21 Oct 2008 13:29:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-problem-at-university-T-Test/m-p/55846#M15595</guid>
      <dc:creator>Paige</dc:creator>
      <dc:date>2008-10-21T13:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: SAS problem at university T-Test(?)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-problem-at-university-T-Test/m-p/55847#M15596</link>
      <description>Well we are in the middle of the first term, so we didn't get that long. There are more variabels by the way... Now it looks like that: (inkomst = income, inställning_bygge = attitude towards the building project).&lt;BR /&gt;
&lt;BR /&gt;
data work.inl2;&lt;BR /&gt;
input sex age inkomst installning_bygge;&lt;BR /&gt;
datalines;&lt;BR /&gt;
1 34 25022.65 1&lt;BR /&gt;
&lt;I&gt;more datalines&lt;/I&gt;&lt;BR /&gt;
;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
Then we tried something like that: &lt;BR /&gt;
&lt;BR /&gt;
proc sort data=work.inl2;&lt;BR /&gt;
by sex;&lt;BR /&gt;
run; &lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
proc means data=work.inl2 CLM mean std stderr;&lt;BR /&gt;
var sex;&lt;BR /&gt;
freq installning_bygge;&lt;BR /&gt;
by sex;&lt;BR /&gt;
&lt;BR /&gt;
But the result we got wasn't what we wanted. We have to finish it until Thursday and really no one knows how to do it... &lt;BR /&gt;
If you could give us just one way to solve that problem we would thankfully take it.</description>
      <pubDate>Tue, 21 Oct 2008 17:25:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-problem-at-university-T-Test/m-p/55847#M15596</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-10-21T17:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: SAS problem at university T-Test(?)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-problem-at-university-T-Test/m-p/55848#M15597</link>
      <description>As I said before, this is not a t-test (unless your description of the problem is wrong). It is a comparison of two proportions, which can be done via a chi-squared test.&lt;BR /&gt;
&lt;BR /&gt;
proc freq data=inl2;&lt;BR /&gt;
    tables sex*installning_bygge/chisq;&lt;BR /&gt;
run;</description>
      <pubDate>Tue, 21 Oct 2008 18:14:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-problem-at-university-T-Test/m-p/55848#M15597</guid>
      <dc:creator>Paige</dc:creator>
      <dc:date>2008-10-21T18:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: SAS problem at university T-Test(?)</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SAS-problem-at-university-T-Test/m-p/55849#M15598</link>
      <description>Thanks for the help. I just hope that my description of the problem was right...</description>
      <pubDate>Tue, 21 Oct 2008 20:54:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SAS-problem-at-university-T-Test/m-p/55849#M15598</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-10-21T20:54:07Z</dc:date>
    </item>
  </channel>
</rss>

