<?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 fixed effect in logistic regression in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/sas-fixed-effect-in-logistic-regression/m-p/803546#M39501</link>
    <description>&lt;P&gt;If you only care about X1 and X2, then create a model that contains only those variables:&lt;BR /&gt;&lt;STRONG&gt;model y = x1 x2;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Mar 2022 12:30:57 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2022-03-23T12:30:57Z</dc:date>
    <item>
      <title>sas fixed effect in logistic regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/sas-fixed-effect-in-logistic-regression/m-p/626621#M30140</link>
      <description>&lt;P&gt;I tried to run&amp;nbsp;fixed effect in logistic regression, fixed effects are industry and year.&lt;/P&gt;&lt;P&gt;code are as following, I think there is some syntax error for model.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/////&lt;/P&gt;&lt;P&gt;PROC LOGISTIC DATA=ipo;&lt;BR /&gt;strata industry year;&lt;BR /&gt;model y = x1 x2 industry year / rsquare link=logit;&lt;BR /&gt;run;&lt;BR /&gt;quit;&lt;/P&gt;&lt;P&gt;/////&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way to solve this?&lt;/P&gt;</description>
      <pubDate>Sat, 22 Feb 2020 08:45:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/sas-fixed-effect-in-logistic-regression/m-p/626621#M30140</guid>
      <dc:creator>spasico</dc:creator>
      <dc:date>2020-02-22T08:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: sas fixed effect in logistic regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/sas-fixed-effect-in-logistic-regression/m-p/626624#M30141</link>
      <description>&lt;P&gt;Hard to say without seeing the log. Are you intentionally trying to perform stratified (conditional) regression? If not, use the CLASS statement instead. The doc says "&lt;SPAN&gt;The STRATA statement in PROC LOGISTIC is used to define variables that identify matched sets of observations so that these matched sets can be analyzed using conditional logistic regression, not the usual unconditional logistic regression."&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have many years and many industries, the stratified regression is probably taking a long time.&lt;/P&gt;</description>
      <pubDate>Sat, 22 Feb 2020 11:51:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/sas-fixed-effect-in-logistic-regression/m-p/626624#M30141</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2020-02-22T11:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: sas fixed effect in logistic regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/sas-fixed-effect-in-logistic-regression/m-p/626638#M30146</link>
      <description>&lt;P&gt;I see. Thanks a lot!&lt;/P&gt;</description>
      <pubDate>Sat, 22 Feb 2020 16:42:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/sas-fixed-effect-in-logistic-regression/m-p/626638#M30146</guid>
      <dc:creator>spasico</dc:creator>
      <dc:date>2020-02-22T16:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: sas fixed effect in logistic regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/sas-fixed-effect-in-logistic-regression/m-p/803543#M39500</link>
      <description>sorry if we use CLASS, is it takes a long time and output a long list of result?&lt;BR /&gt;what if we only care about the coefficients of x1 and x2 ?&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Mar 2022 12:23:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/sas-fixed-effect-in-logistic-regression/m-p/803543#M39500</guid>
      <dc:creator>Xiyuan</dc:creator>
      <dc:date>2022-03-23T12:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: sas fixed effect in logistic regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/sas-fixed-effect-in-logistic-regression/m-p/803546#M39501</link>
      <description>&lt;P&gt;If you only care about X1 and X2, then create a model that contains only those variables:&lt;BR /&gt;&lt;STRONG&gt;model y = x1 x2;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 12:30:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/sas-fixed-effect-in-logistic-regression/m-p/803546#M39501</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2022-03-23T12:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: sas fixed effect in logistic regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/sas-fixed-effect-in-logistic-regression/m-p/803589#M39505</link>
      <description>but what if I want to control the fixed effect ,like industry (format is char) and year (format is numerical), as well as cluster the standard error? can you give a complete code for me? thanks a lot</description>
      <pubDate>Wed, 23 Mar 2022 15:56:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/sas-fixed-effect-in-logistic-regression/m-p/803589#M39505</guid>
      <dc:creator>Xiyuan</dc:creator>
      <dc:date>2022-03-23T15:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: sas fixed effect in logistic regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/sas-fixed-effect-in-logistic-regression/m-p/803596#M39506</link>
      <description>&lt;P&gt;This thread is from 2020. If you have a new question, you can start a new thread in which you post your data, any code you are using, and specify what you are trying to achieve.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 16:28:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/sas-fixed-effect-in-logistic-regression/m-p/803596#M39506</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2022-03-23T16:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: sas fixed effect in logistic regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/sas-fixed-effect-in-logistic-regression/m-p/804525#M39594</link>
      <description>thanks i got it</description>
      <pubDate>Mon, 28 Mar 2022 14:56:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/sas-fixed-effect-in-logistic-regression/m-p/804525#M39594</guid>
      <dc:creator>Xiyuan</dc:creator>
      <dc:date>2022-03-28T14:56:10Z</dc:date>
    </item>
  </channel>
</rss>

