<?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: Trying to figure out how to run a linear probability model on my data in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Trying-to-figure-out-how-to-run-a-linear-probability-model-on-my/m-p/904595#M44889</link>
    <description>Not necessarily predict it but give me the probability of it.&lt;BR /&gt;</description>
    <pubDate>Mon, 27 Nov 2023 04:16:16 GMT</pubDate>
    <dc:creator>crobinson58</dc:creator>
    <dc:date>2023-11-27T04:16:16Z</dc:date>
    <item>
      <title>Trying to figure out how to run a linear probability model on my data</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Trying-to-figure-out-how-to-run-a-linear-probability-model-on-my/m-p/904592#M44886</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm relatively new to SAS and I am trying to figure out how to run a linear probability model on my data. I keep seeing different answers on what the correct code is to run in order to achieve this so I would really appreciate any help! I can provide more information if needed as well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 01:01:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Trying-to-figure-out-how-to-run-a-linear-probability-model-on-my/m-p/904592#M44886</guid>
      <dc:creator>crobinson58</dc:creator>
      <dc:date>2023-11-27T01:01:03Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to figure out how to run a linear probability model on my data</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Trying-to-figure-out-how-to-run-a-linear-probability-model-on-my/m-p/904593#M44887</link>
      <description>&lt;P&gt;A linear probability model directly models binomial probabilities. An example can be seen in &lt;A href="http://support.sas.com/kb/37228" target="_self"&gt;this note&lt;/A&gt;&amp;nbsp;using PROC GENMOD by specifying DIST=BINOMIAL and LINK=IDENTITY in the MODEL statement. However, it is rarely a good idea unless the observed probabilities are all in the mid-range (such as 0.25 to 0.75). Otherwise, the model typically does not fit well and very often runs into estimation problems because this model allows predicted values to fall outside of the valid [0,1] range. That is why a link function such as the LOGIT or PROBIT link is typically used as they both restrict the predictions to the valid range. If your reason for wanting to fit a linear probability model is to use the model to predict probabilities or to estimate differences on the probability scale, this can still be easily done using a logit model that can fit well. The above note shows how that can be done using the Margins macro or using PROC LOGISTIC followed by the NLMeans macro.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 04:08:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Trying-to-figure-out-how-to-run-a-linear-probability-model-on-my/m-p/904593#M44887</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2023-11-27T04:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to figure out how to run a linear probability model on my data</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Trying-to-figure-out-how-to-run-a-linear-probability-model-on-my/m-p/904594#M44888</link>
      <description>&lt;P&gt;I'm looking to model a dataset that would be able to predict whether someone is having a heart stroke, where the dependent variable is just yes or no. Would the probit link function be the most ideal for this scenario?&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 04:15:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Trying-to-figure-out-how-to-run-a-linear-probability-model-on-my/m-p/904594#M44888</guid>
      <dc:creator>crobinson58</dc:creator>
      <dc:date>2023-11-27T04:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to figure out how to run a linear probability model on my data</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Trying-to-figure-out-how-to-run-a-linear-probability-model-on-my/m-p/904595#M44889</link>
      <description>Not necessarily predict it but give me the probability of it.&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Nov 2023 04:16:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Trying-to-figure-out-how-to-run-a-linear-probability-model-on-my/m-p/904595#M44889</guid>
      <dc:creator>crobinson58</dc:creator>
      <dc:date>2023-11-27T04:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to figure out how to run a linear probability model on my data</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Trying-to-figure-out-how-to-run-a-linear-probability-model-on-my/m-p/904597#M44890</link>
      <description>That sort of thing is most typically done using a logistic (or logit-linked) model. This is best done using PROC LOGISTIC. See the discussion and examples in the LOGISTIC documentation. The probability of the response event can be produced in various ways such as with the PRED= option in the OUTPUT statement or using the LSMEANS statement with the ILINK option. The LSMEANS statement is also shown in the note I referred to.</description>
      <pubDate>Mon, 27 Nov 2023 04:28:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Trying-to-figure-out-how-to-run-a-linear-probability-model-on-my/m-p/904597#M44890</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2023-11-27T04:28:39Z</dc:date>
    </item>
  </channel>
</rss>

