<?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: Which statistical test should I perform? in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Which-statistical-test-should-I-perform/m-p/586822#M14587</link>
    <description>First I have dataset X from where I calculate the conditional probability. Then from dataset X I create a subsample which has Nws_r=0. After creating dataset Y, I calculate the unconditional probability. Now I need to check whether they are different.</description>
    <pubDate>Fri, 06 Sep 2019 17:04:58 GMT</pubDate>
    <dc:creator>d6k5d3</dc:creator>
    <dc:date>2019-09-06T17:04:58Z</dc:date>
    <item>
      <title>Which statistical test should I perform?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Which-statistical-test-should-I-perform/m-p/586810#M14578</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I have 2 datasets. Dataset X looks like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Jmp_o   Nws_r
1       0
0       1
1       1
0       1
0       1
1       0
1       0
...    ...&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;SPAN&gt;I calculate the conditional probability P(jmp_o=1|nws_r=1). There is another dataset Y which is like:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Jmp_o   Nws_r
1       0
0       0
1       0
0       0
0       0
1       0
1       0
...    ...&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;From dataset Y I calculate unconditional probability P(jmp_o=1).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to test whether these 2 probabilities are statistically different (by means of p-value).&lt;/P&gt;&lt;P&gt;What test should I perform?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Much thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2019 16:39:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Which-statistical-test-should-I-perform/m-p/586810#M14578</guid>
      <dc:creator>d6k5d3</dc:creator>
      <dc:date>2019-09-06T16:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: Which statistical test should I perform?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Which-statistical-test-should-I-perform/m-p/586813#M14580</link>
      <description>&lt;P&gt;This isn't a case where statistical testing is appropriate. The formulas used are different, so the results are mathematically different.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Statistics would be used only if sampling differences caused different results.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2019 16:48:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Which-statistical-test-should-I-perform/m-p/586813#M14580</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-09-06T16:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: Which statistical test should I perform?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Which-statistical-test-should-I-perform/m-p/586816#M14583</link>
      <description>&lt;P&gt;Yes, the two datasets are 2 different samples.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2019 16:51:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Which-statistical-test-should-I-perform/m-p/586816#M14583</guid>
      <dc:creator>d6k5d3</dc:creator>
      <dc:date>2019-09-06T16:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: Which statistical test should I perform?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Which-statistical-test-should-I-perform/m-p/586817#M14584</link>
      <description>And they are independent.</description>
      <pubDate>Fri, 06 Sep 2019 16:50:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Which-statistical-test-should-I-perform/m-p/586817#M14584</guid>
      <dc:creator>d6k5d3</dc:creator>
      <dc:date>2019-09-06T16:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: Which statistical test should I perform?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Which-statistical-test-should-I-perform/m-p/586819#M14586</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/239423"&gt;@d6k5d3&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Yes, the two datasets are 2 different samples.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;This is not clear to me based upon your original explanation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please explain further.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2019 16:53:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Which-statistical-test-should-I-perform/m-p/586819#M14586</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-09-06T16:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: Which statistical test should I perform?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Which-statistical-test-should-I-perform/m-p/586822#M14587</link>
      <description>First I have dataset X from where I calculate the conditional probability. Then from dataset X I create a subsample which has Nws_r=0. After creating dataset Y, I calculate the unconditional probability. Now I need to check whether they are different.</description>
      <pubDate>Fri, 06 Sep 2019 17:04:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Which-statistical-test-should-I-perform/m-p/586822#M14587</guid>
      <dc:creator>d6k5d3</dc:creator>
      <dc:date>2019-09-06T17:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: Which statistical test should I perform?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Which-statistical-test-should-I-perform/m-p/586824#M14588</link>
      <description>&lt;P&gt;I stick with my previous statement that this is not a case where statistical testing is appropriate.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have a sample of people, and you measure their heights in inches, and then you take an independent sample and measure their height in centimeters, you would not do a statistical test to determine if the average height in inches differ from the average height in centimeters. You would just assume they are different because a different measurement was used.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2019 19:36:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Which-statistical-test-should-I-perform/m-p/586824#M14588</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-09-06T19:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: Which statistical test should I perform?</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Which-statistical-test-should-I-perform/m-p/586877#M14595</link>
      <description>&lt;P&gt;So, all you need is dataset X. Run a Fisher test (proc freq) between jmp_o and nws_r. This will tell you wether the two vars are related in your sample.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2019 20:39:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Which-statistical-test-should-I-perform/m-p/586877#M14595</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2019-09-06T20:39:44Z</dc:date>
    </item>
  </channel>
</rss>

