<?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: questions about the logistic regression in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/questions-about-the-logistic-regression/m-p/460095#M29666</link>
    <description>&lt;P&gt;PROC SQL;&lt;BR /&gt;CREATE VIEW WORK.SORTTempTableSorted AS&lt;BR /&gt;SELECT *&lt;BR /&gt;FROM WORK.QUERY_FOR_TELCODATA_EXTRACT_0002&lt;BR /&gt;;&lt;BR /&gt;QUIT;&lt;BR /&gt;TITLE;&lt;BR /&gt;TITLE1 "Logistic Regression Results";&lt;BR /&gt;FOOTNOTE;&lt;BR /&gt;FOOTNOTE1 "Generated by the SAS System (&amp;amp;_SASSERVERNAME, &amp;amp;SYSSCPL) on %TRIM(%QSYSFUNC(DATE(), NLDATE20.)) at %TRIM(%SYSFUNC(TIME(), TIMEAMPM12.))";&lt;BR /&gt;PROC LOGISTIC DATA=WORK.SORTTempTableSorted&lt;BR /&gt;PLOTS(ONLY)=NONE&lt;BR /&gt;;&lt;BR /&gt;MODEL churn (Event = '0')= /&lt;BR /&gt;SELECTION=NONE&lt;BR /&gt;INFLUENCE&lt;BR /&gt;LINK=LOGIT&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;OUTPUT OUT=BIGDATA.PREDLOGREGPREDICTIONS(LABEL="Logistic regression predictions and statistics for WORK.QUERY_FOR_TELCODATA_EXTRACT_0002")&lt;BR /&gt;PREDPROBS=INDIVIDUAL&lt;BR /&gt;UPPER=upper_churn&lt;BR /&gt;LOWER=lower_churn ;&lt;BR /&gt;RUN;&lt;BR /&gt;QUIT;&lt;/P&gt;&lt;P&gt;/* -------------------------------------------------------------------&lt;BR /&gt;End of task code&lt;BR /&gt;------------------------------------------------------------------- */&lt;BR /&gt;RUN; QUIT;&lt;BR /&gt;%_eg_conditional_dropds(WORK.SORTTempTableSorted);&lt;BR /&gt;TITLE; FOOTNOTE;&lt;BR /&gt;ODS GRAPHICS OFF;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and the target variable is churn. the value is 0,1.&lt;/P&gt;&lt;P&gt;For the explanatory variables, they are income(just the normal money),and other charges.But the separate logistic regression for these three, Analysis of Maximum Likelihood for estimate. standard error and chi are the same. I do not know where goes wrong.&lt;/P&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 04 May 2018 16:28:02 GMT</pubDate>
    <dc:creator>relish</dc:creator>
    <dc:date>2018-05-04T16:28:02Z</dc:date>
    <item>
      <title>questions about the logistic regression</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/questions-about-the-logistic-regression/m-p/460092#M29664</link>
      <description>&lt;P&gt;I am using the sas enterprise guide to analyze the relationship between three numerical variables(explanatory ones) and one binary variable(response one), while by using the logistic regression, all the result shows these three variables having the same p value and intercept and standard error, so I do not know why this goes wrong?&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2018 16:03:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/questions-about-the-logistic-regression/m-p/460092#M29664</guid>
      <dc:creator>relish</dc:creator>
      <dc:date>2018-05-04T16:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: questions about the logistic regression</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/questions-about-the-logistic-regression/m-p/460093#M29665</link>
      <description>&lt;P&gt;Any chance that you can share some of your data, and the MODEL code that you're generated using the Logistic Regression task?&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2018 16:06:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/questions-about-the-logistic-regression/m-p/460093#M29665</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2018-05-04T16:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: questions about the logistic regression</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/questions-about-the-logistic-regression/m-p/460095#M29666</link>
      <description>&lt;P&gt;PROC SQL;&lt;BR /&gt;CREATE VIEW WORK.SORTTempTableSorted AS&lt;BR /&gt;SELECT *&lt;BR /&gt;FROM WORK.QUERY_FOR_TELCODATA_EXTRACT_0002&lt;BR /&gt;;&lt;BR /&gt;QUIT;&lt;BR /&gt;TITLE;&lt;BR /&gt;TITLE1 "Logistic Regression Results";&lt;BR /&gt;FOOTNOTE;&lt;BR /&gt;FOOTNOTE1 "Generated by the SAS System (&amp;amp;_SASSERVERNAME, &amp;amp;SYSSCPL) on %TRIM(%QSYSFUNC(DATE(), NLDATE20.)) at %TRIM(%SYSFUNC(TIME(), TIMEAMPM12.))";&lt;BR /&gt;PROC LOGISTIC DATA=WORK.SORTTempTableSorted&lt;BR /&gt;PLOTS(ONLY)=NONE&lt;BR /&gt;;&lt;BR /&gt;MODEL churn (Event = '0')= /&lt;BR /&gt;SELECTION=NONE&lt;BR /&gt;INFLUENCE&lt;BR /&gt;LINK=LOGIT&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;OUTPUT OUT=BIGDATA.PREDLOGREGPREDICTIONS(LABEL="Logistic regression predictions and statistics for WORK.QUERY_FOR_TELCODATA_EXTRACT_0002")&lt;BR /&gt;PREDPROBS=INDIVIDUAL&lt;BR /&gt;UPPER=upper_churn&lt;BR /&gt;LOWER=lower_churn ;&lt;BR /&gt;RUN;&lt;BR /&gt;QUIT;&lt;/P&gt;&lt;P&gt;/* -------------------------------------------------------------------&lt;BR /&gt;End of task code&lt;BR /&gt;------------------------------------------------------------------- */&lt;BR /&gt;RUN; QUIT;&lt;BR /&gt;%_eg_conditional_dropds(WORK.SORTTempTableSorted);&lt;BR /&gt;TITLE; FOOTNOTE;&lt;BR /&gt;ODS GRAPHICS OFF;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and the target variable is churn. the value is 0,1.&lt;/P&gt;&lt;P&gt;For the explanatory variables, they are income(just the normal money),and other charges.But the separate logistic regression for these three, Analysis of Maximum Likelihood for estimate. standard error and chi are the same. I do not know where goes wrong.&lt;/P&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 04 May 2018 16:28:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/questions-about-the-logistic-regression/m-p/460095#M29666</guid>
      <dc:creator>relish</dc:creator>
      <dc:date>2018-05-04T16:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: questions about the logistic regression</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/questions-about-the-logistic-regression/m-p/460096#M29667</link>
      <description>&lt;P&gt;There’s no variables in your model statement?&lt;/P&gt;
&lt;P&gt;Did you add variables to your model?&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2018 16:31:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/questions-about-the-logistic-regression/m-p/460096#M29667</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-05-04T16:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: questions about the logistic regression</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/questions-about-the-logistic-regression/m-p/460098#M29668</link>
      <description>&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;Yes, I used the automatic function of SAS enterprise guide, the task----regression---logistic regression, than select the dependent variable and independent variable. while the result for three x is all the same.&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2018 16:34:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/questions-about-the-logistic-regression/m-p/460098#M29668</guid>
      <dc:creator>relish</dc:creator>
      <dc:date>2018-05-04T16:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: questions about the logistic regression</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/questions-about-the-logistic-regression/m-p/460099#M29669</link>
      <description>&lt;P&gt;You might need to visit the Model-&amp;gt;Effects page and add those vars as main effects.&amp;nbsp; This will add them to your MODEL statement.&amp;nbsp; There are also many options to nest/combine these effects if you need to analyze those.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Should result in code like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;	MODEL __RESPONSE=Horsepower MPG_City MPG_Highway		/
		SELECTION=NONE
		LINK=LOGIT&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;[Disclaimer: not a statistician -- just familiar with this how these task options work &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; ]&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2018 16:40:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/questions-about-the-logistic-regression/m-p/460099#M29669</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2018-05-04T16:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: questions about the logistic regression</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/questions-about-the-logistic-regression/m-p/460102#M29670</link>
      <description>&lt;P&gt;Thanks a lot for your reply.&lt;/P&gt;&lt;PRE class=" language-sas"&gt;&lt;CODE class="  language-sas"&gt;&lt;SPAN class="token procnames"&gt;MODEL&lt;/SPAN&gt; Churn&lt;SPAN class="token operator"&gt;=household_income&lt;/SPAN&gt;		&lt;SPAN class="token operator"&gt;/&lt;/SPAN&gt;
		SELECTION&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;NONE
		LINK&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;LOGIT&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This is the new code, while it can not work. I can not find the reason.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2018 16:58:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/questions-about-the-logistic-regression/m-p/460102#M29670</guid>
      <dc:creator>relish</dc:creator>
      <dc:date>2018-05-04T16:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: questions about the logistic regression</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/questions-about-the-logistic-regression/m-p/460107#M29671</link>
      <description>&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#ff0000"&gt;"&lt;/FONT&gt;&lt;FONT color="#ff0000"&gt;It can not work"&lt;/FONT&gt;&lt;/STRONG&gt;&amp;nbsp;is awful vague.&lt;BR /&gt;&lt;BR /&gt;Are there errors in the log?: Post the code and log in a code box opened with the {i} to maintain formatting of error messages.&lt;BR /&gt;&lt;BR /&gt;No output? Post any log in a code box.&lt;BR /&gt;&lt;BR /&gt;Unexpected output? Provide input data in the form of data step code pasted into a code box, the actual results and the expected results. Instructions here: &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-dat" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-dat&lt;/A&gt;... will show how to turn an existing SAS data set into data step code that can be pasted into a forum code box using the {i} icon or attached as text to show exactly what you have and that we can test code against.&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2018 17:15:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/questions-about-the-logistic-regression/m-p/460107#M29671</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-05-04T17:15:14Z</dc:date>
    </item>
  </channel>
</rss>

