<?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: model market share with proc logistic? in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/model-market-share-with-proc-logistic/m-p/701054#M9524</link>
    <description>&lt;P&gt;I guess we cannot use the proc logistic than... we should obtain a marketshare instead of a binary outcome.&amp;nbsp;&lt;/P&gt;&lt;P&gt;As for the impossible outcomes: we had some very large odds ratio estimates (around 400).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The goal is to become the logistic model of form ln(marketshare/(1-marketshare))=B0 + B1X1 + B2X2 + ...&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can we obtain this? We changed the marketshare inputs to ln(marketshare/(1-marketshare)) inputs and used proc reg, could that be correct?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 23 Nov 2020 20:56:28 GMT</pubDate>
    <dc:creator>magalineven</dc:creator>
    <dc:date>2020-11-23T20:56:28Z</dc:date>
    <item>
      <title>model market share with proc logistic?</title>
      <link>https://communities.sas.com/t5/SAS-Studio/model-market-share-with-proc-logistic/m-p/700969#M9517</link>
      <description>&lt;P&gt;We need to model the market share of a certain brand in a certain store at a given time. According to what we have learned, logistic models are often used when the dependent variable is marketshare as the natural maximum is 100%. However, when we use proc logistic in sas, we get impossible outputs. The reason for this might be the fact that in order to use proc logistic, you need an event and a non-event.&lt;/P&gt;&lt;P&gt;Do you have any idea which sas procedure to use instead? Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 16:43:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/model-market-share-with-proc-logistic/m-p/700969#M9517</guid>
      <dc:creator>magalineven</dc:creator>
      <dc:date>2020-11-23T16:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: model market share with proc logistic?</title>
      <link>https://communities.sas.com/t5/SAS-Studio/model-market-share-with-proc-logistic/m-p/701012#M9523</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;However, when we use proc logistic in sas, we get impossible outputs. The reason for this might be the fact that in order to use proc logistic, you need an event and a non-event.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;Can you elaborate further here? What do you mean by impossible outputs?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Logistic regression takes two forms, where the Y is either 0/1 or a # of success/failures.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;&amp;lt;label:&amp;gt; MODEL variable&amp;lt;(variable_options)&amp;gt; = &amp;lt;effects&amp;gt; &amp;lt;/ options&amp;gt;;

&amp;lt;label:&amp;gt; MODEL events/trials = &amp;lt;effects&amp;gt; &amp;lt;/ options&amp;gt;;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;If you used the first method that wouldn't fit your data but the second may. You would need to provide more information on your data and design for more informative suggestions.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/358226"&gt;@magalineven&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;We need to model the market share of a certain brand in a certain store at a given time. According to what we have learned, logistic models are often used when the dependent variable is marketshare as the natural maximum is 100%. However, when we use proc logistic in sas, we get impossible outputs. The reason for this might be the fact that in order to use proc logistic, you need an event and a non-event.&lt;/P&gt;
&lt;P&gt;Do you have any idea which sas procedure to use instead? Thanks in advance!&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 19:02:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/model-market-share-with-proc-logistic/m-p/701012#M9523</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-11-23T19:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: model market share with proc logistic?</title>
      <link>https://communities.sas.com/t5/SAS-Studio/model-market-share-with-proc-logistic/m-p/701054#M9524</link>
      <description>&lt;P&gt;I guess we cannot use the proc logistic than... we should obtain a marketshare instead of a binary outcome.&amp;nbsp;&lt;/P&gt;&lt;P&gt;As for the impossible outcomes: we had some very large odds ratio estimates (around 400).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The goal is to become the logistic model of form ln(marketshare/(1-marketshare))=B0 + B1X1 + B2X2 + ...&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can we obtain this? We changed the marketshare inputs to ln(marketshare/(1-marketshare)) inputs and used proc reg, could that be correct?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 20:56:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/model-market-share-with-proc-logistic/m-p/701054#M9524</guid>
      <dc:creator>magalineven</dc:creator>
      <dc:date>2020-11-23T20:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: model market share with proc logistic?</title>
      <link>https://communities.sas.com/t5/SAS-Studio/model-market-share-with-proc-logistic/m-p/701204#M9525</link>
      <description>Try Possion Regression . &lt;BR /&gt;Possion and Logistic has very close relationship.&lt;BR /&gt;&lt;BR /&gt;Logistic model :   log(p/1-p) =&lt;BR /&gt;                           when p~0  log(p/1-p) ~ p&lt;BR /&gt;                            -&amp;gt;  log(p) -&amp;gt;  log(n/total) -&amp;gt; log(n)= log(total) + .......... (it is just a Possion model)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://support.sas.com/kb/24/188.html" target="_blank"&gt;http://support.sas.com/kb/24/188.html&lt;/A&gt; &lt;BR /&gt;</description>
      <pubDate>Tue, 24 Nov 2020 12:44:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/model-market-share-with-proc-logistic/m-p/701204#M9525</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2020-11-24T12:44:38Z</dc:date>
    </item>
  </channel>
</rss>

