<?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: Proc Logisitic/Not reading y from dataset in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Proc-Logisitic-Not-reading-y-from-dataset/m-p/688412#M24603</link>
    <description>&lt;P&gt;no thanks, that is where I was incorrect there because I took the code from an example and I thought y was used as part of an equation. I actually needed to use&amp;nbsp;proc genmod too.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 02 Oct 2020 00:45:21 GMT</pubDate>
    <dc:creator>K_Wils15</dc:creator>
    <dc:date>2020-10-02T00:45:21Z</dc:date>
    <item>
      <title>Proc Logisitic/Not reading y from dataset</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Proc-Logisitic-Not-reading-y-from-dataset/m-p/688404#M24601</link>
      <description>&lt;P&gt;Here is what I am trying to solve for:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Using the data set HW4D1, fit a log-linear negative-binomial regression modeling the number of home runs a player hit in the 1986 season (i.e. variable nhome), with the explanatory variable salary.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here is my code:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;PROC IMPORT OUT= WORK.BASEBALL&lt;BR /&gt;DATAFILE= "C:\Users\kpwil\Downloads\HW4D1 (4).xlsx"&lt;BR /&gt;DBMS=EXCEL REPLACE;&lt;BR /&gt;RANGE="'HW4D1 (4)$'";&lt;BR /&gt;GETNAMES=YES;&lt;BR /&gt;MIXED=NO;&lt;BR /&gt;SCANTEXT=YES;&lt;BR /&gt;USEDATE=YES;&lt;BR /&gt;SCANTIME=YES;&lt;BR /&gt;RUN;&lt;BR /&gt;proc print data= Baseball;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc logistic data=baseball desc;&lt;BR /&gt;model y = nHome ;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The output has an error: ERROR: VARIABLE Y NOT FOUND&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It reads the data because I did a proc print and it came out fine, what should I do?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Oct 2020 00:09:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Proc-Logisitic-Not-reading-y-from-dataset/m-p/688404#M24601</guid>
      <dc:creator>K_Wils15</dc:creator>
      <dc:date>2020-10-02T00:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Logisitic/Not reading y from dataset</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Proc-Logisitic-Not-reading-y-from-dataset/m-p/688410#M24602</link>
      <description>&lt;P&gt;Is the variable really named "Y"?&lt;/P&gt;</description>
      <pubDate>Fri, 02 Oct 2020 00:42:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Proc-Logisitic-Not-reading-y-from-dataset/m-p/688410#M24602</guid>
      <dc:creator>CurtisMackWSIPP</dc:creator>
      <dc:date>2020-10-02T00:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Logisitic/Not reading y from dataset</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Proc-Logisitic-Not-reading-y-from-dataset/m-p/688412#M24603</link>
      <description>&lt;P&gt;no thanks, that is where I was incorrect there because I took the code from an example and I thought y was used as part of an equation. I actually needed to use&amp;nbsp;proc genmod too.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Oct 2020 00:45:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Proc-Logisitic-Not-reading-y-from-dataset/m-p/688412#M24603</guid>
      <dc:creator>K_Wils15</dc:creator>
      <dc:date>2020-10-02T00:45:21Z</dc:date>
    </item>
  </channel>
</rss>

