<?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 to create prior probabilities without using SAS EM in SAS Data Science</title>
    <link>https://communities.sas.com/t5/SAS-Data-Science/How-to-create-prior-probabilities-without-using-SAS-EM/m-p/77267#M481</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think where &lt;A __default_attr="255172" __jive_macro_name="user" class="jive_macro jive_macro_user" data-objecttype="3" href="https://communities.sas.com/"&gt;&lt;/A&gt; was going was that you really cannot calculate priors from logistic regression in Base SAS--you will need SAS/STAT to access one of the procs capable of logistic regression (LOGISTIC, GENMOD, GLIMMIX, CATMOD).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Jul 2013 13:11:49 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2013-07-25T13:11:49Z</dc:date>
    <item>
      <title>How to create prior probabilities without using SAS EM</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/How-to-create-prior-probabilities-without-using-SAS-EM/m-p/77263#M477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to create prior probabilities exactly like we can do it in SAS EM. However, I would like to run everything in SAS Base, so I was wondering if I need to create a specific code for that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jul 2013 17:26:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/How-to-create-prior-probabilities-without-using-SAS-EM/m-p/77263#M477</guid>
      <dc:creator>StephanieB</dc:creator>
      <dc:date>2013-07-12T17:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to create prior probabilities without using SAS EM</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/How-to-create-prior-probabilities-without-using-SAS-EM/m-p/77264#M478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote" modifiedtitle="true"&gt;
&lt;P&gt;StephanieB wrote:&lt;/P&gt;
&lt;P&gt;"create prior probabilities exactly like we can do it in SAS EM"&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;Where in SAS EM are you creating prior probabilities that you'd like to replicate?&amp;nbsp; Logistic Regression or something else?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jul 2013 17:38:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/How-to-create-prior-probabilities-without-using-SAS-EM/m-p/77264#M478</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-07-12T17:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to create prior probabilities without using SAS EM</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/How-to-create-prior-probabilities-without-using-SAS-EM/m-p/77265#M479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes sorry I should have precised. I am using a logistic regression.&lt;/P&gt;&lt;P&gt;My training sample is 50/50, although my event is less than 2% in my whole population.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to add that in SAS base.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In SAS EM, I just precise the prior probabilities by right clicking on the dataset &amp;gt;&amp;gt; Prior probabilities.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jul 2013 18:30:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/How-to-create-prior-probabilities-without-using-SAS-EM/m-p/77265#M479</guid>
      <dc:creator>StephanieB</dc:creator>
      <dc:date>2013-07-12T18:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to create prior probabilities without using SAS EM</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/How-to-create-prior-probabilities-without-using-SAS-EM/m-p/77266#M480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should check what the prior probability default is in EM, but I think what you're looking for is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1/p and 1/(1-p) where p is the probability of your event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please do double check, because it really depends on what your question is and other situations. It would help if you provided more details, and I also don't have time today to dig into this. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jul 2013 21:31:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/How-to-create-prior-probabilities-without-using-SAS-EM/m-p/77266#M480</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-07-12T21:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to create prior probabilities without using SAS EM</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/How-to-create-prior-probabilities-without-using-SAS-EM/m-p/77267#M481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think where &lt;A __default_attr="255172" __jive_macro_name="user" class="jive_macro jive_macro_user" data-objecttype="3" href="https://communities.sas.com/"&gt;&lt;/A&gt; was going was that you really cannot calculate priors from logistic regression in Base SAS--you will need SAS/STAT to access one of the procs capable of logistic regression (LOGISTIC, GENMOD, GLIMMIX, CATMOD).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jul 2013 13:11:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/How-to-create-prior-probabilities-without-using-SAS-EM/m-p/77267#M481</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2013-07-25T13:11:49Z</dc:date>
    </item>
  </channel>
</rss>

