<?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 PROC Logistic, removing a variable, keeping coefficients the same? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/PROC-Logistic-removing-a-variable-keeping-coefficients-the-same/m-p/79144#M22805</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let's say i do a binary logistic regression with 3 independent variables, and i store predicted probabilities. After that i want to remove one of the independent variables and i want to keep to coefficients for the other variables the same, and get new predicted probabilities. So as to be able to compare the predicted probabilities when the effect of this variable is included or excluded. Is this possible? My code when all 3 independent variables are included is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc logistic data=sasuser.outdata descending;&lt;/P&gt;&lt;P&gt;&amp;nbsp; class var1 var2 var3 / param=ref ;&lt;/P&gt;&lt;P&gt;&amp;nbsp; model dep_var = var1 var2 var3;&lt;/P&gt;&lt;P&gt;&amp;nbsp; output out=sasuser.out_pred predprobs=individual;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 19 May 2013 14:46:30 GMT</pubDate>
    <dc:creator>SvenCrona</dc:creator>
    <dc:date>2013-05-19T14:46:30Z</dc:date>
    <item>
      <title>PROC Logistic, removing a variable, keeping coefficients the same?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-Logistic-removing-a-variable-keeping-coefficients-the-same/m-p/79144#M22805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let's say i do a binary logistic regression with 3 independent variables, and i store predicted probabilities. After that i want to remove one of the independent variables and i want to keep to coefficients for the other variables the same, and get new predicted probabilities. So as to be able to compare the predicted probabilities when the effect of this variable is included or excluded. Is this possible? My code when all 3 independent variables are included is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc logistic data=sasuser.outdata descending;&lt;/P&gt;&lt;P&gt;&amp;nbsp; class var1 var2 var3 / param=ref ;&lt;/P&gt;&lt;P&gt;&amp;nbsp; model dep_var = var1 var2 var3;&lt;/P&gt;&lt;P&gt;&amp;nbsp; output out=sasuser.out_pred predprobs=individual;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 May 2013 14:46:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-Logistic-removing-a-variable-keeping-coefficients-the-same/m-p/79144#M22805</guid>
      <dc:creator>SvenCrona</dc:creator>
      <dc:date>2013-05-19T14:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: PROC Logistic, removing a variable, keeping coefficients the same?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-Logistic-removing-a-variable-keeping-coefficients-the-same/m-p/79145#M22806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;with just three variable, the easiest thing might be to compute the expected probabilities for both models in a DATA step.&amp;nbsp; It's a bit brute force, but is more bulletproof than using the ODS output datasets in IML.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 18:32:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-Logistic-removing-a-variable-keeping-coefficients-the-same/m-p/79145#M22806</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2013-05-20T18:32:57Z</dc:date>
    </item>
  </channel>
</rss>

