<?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: Hourly Rate Not Showing Up in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/Hourly-Rate-Not-Showing-Up/m-p/342175#M2148</link>
    <description>&lt;P&gt;Your data contains three fields in apparently gender grade and pay&lt;/P&gt;
&lt;P&gt;So when&amp;nbsp; you use&lt;/P&gt;
&lt;P&gt;input HourlyPay Gender$; SAS has been told to read the first column as pay and the second as gender.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try&lt;/P&gt;
&lt;P&gt;input gender $ grade $ Hourlypay;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the following code refere to gender only. The $ in the input says "read gender as a character varaible" it is not part of the actual variable name.&lt;/P&gt;</description>
    <pubDate>Fri, 17 Mar 2017 22:21:41 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2017-03-17T22:21:41Z</dc:date>
    <item>
      <title>Hourly Rate Not Showing Up</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Hourly-Rate-Not-Showing-Up/m-p/342172#M2146</link>
      <description>&lt;P&gt;Hi, I'm working on computing two sample test (ttest), I'm VERY&amp;nbsp;new to SAAS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code I entered below, is not reading or finding the hourlypay column. &amp;nbsp;What should I do?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the support!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data HourlyPay;&lt;BR /&gt;infile '/folders/myfolders/ST513_pay_survey.txt';&lt;BR /&gt;input HourlyPay Gender$;&lt;BR /&gt;run;&lt;BR /&gt;proc print data=hourlyPay;&lt;BR /&gt;run;&lt;BR /&gt;proc ttest data=heights;&lt;BR /&gt;class Gender$;&lt;BR /&gt;var HourlyPay;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2017 22:15:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Hourly-Rate-Not-Showing-Up/m-p/342172#M2146</guid>
      <dc:creator>CristinaAl</dc:creator>
      <dc:date>2017-03-17T22:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: Hourly Rate Not Showing Up</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Hourly-Rate-Not-Showing-Up/m-p/342173#M2147</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/128623"&gt;@CristinaAl&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Hi, I'm working on computing two sample test (ttest), I'm VERY&amp;nbsp;new to SAAS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The code I entered below, is not reading or finding the hourlypay column. &amp;nbsp;What should I do?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for the support!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data HourlyPay;&lt;BR /&gt;infile '/folders/myfolders/ST513_pay_survey.txt';&lt;BR /&gt;input HourlyPay Gender$;&lt;BR /&gt;run;&lt;BR /&gt;proc print data=hourlyPay;&lt;BR /&gt;run;&lt;BR /&gt;proc ttest data=heights;&lt;BR /&gt;class Gender$;&lt;BR /&gt;var HourlyPay;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your input statement needs to reflect the variables in the data set, in the order they appear.&lt;/P&gt;
&lt;P&gt;Your dataset has 3 variables, two character one numeric.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your input statement has two variables listed and not in the same order as your text file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Fix the INPUT statement.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2017 22:20:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Hourly-Rate-Not-Showing-Up/m-p/342173#M2147</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-03-17T22:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: Hourly Rate Not Showing Up</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Hourly-Rate-Not-Showing-Up/m-p/342175#M2148</link>
      <description>&lt;P&gt;Your data contains three fields in apparently gender grade and pay&lt;/P&gt;
&lt;P&gt;So when&amp;nbsp; you use&lt;/P&gt;
&lt;P&gt;input HourlyPay Gender$; SAS has been told to read the first column as pay and the second as gender.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try&lt;/P&gt;
&lt;P&gt;input gender $ grade $ Hourlypay;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the following code refere to gender only. The $ in the input says "read gender as a character varaible" it is not part of the actual variable name.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2017 22:21:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Hourly-Rate-Not-Showing-Up/m-p/342175#M2148</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-03-17T22:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: Hourly Rate Not Showing Up</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Hourly-Rate-Not-Showing-Up/m-p/342181#M2149</link>
      <description>&lt;P&gt;Thank you! That makes sense!&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2017 22:35:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Hourly-Rate-Not-Showing-Up/m-p/342181#M2149</guid>
      <dc:creator>CristinaAl</dc:creator>
      <dc:date>2017-03-17T22:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: Hourly Rate Not Showing Up</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Hourly-Rate-Not-Showing-Up/m-p/342182#M2150</link>
      <description>&lt;P&gt;Balardw!!! THANK YOU!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This resolved my issue and it worked!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have a great weekend!&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2017 22:36:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Hourly-Rate-Not-Showing-Up/m-p/342182#M2150</guid>
      <dc:creator>CristinaAl</dc:creator>
      <dc:date>2017-03-17T22:36:57Z</dc:date>
    </item>
  </channel>
</rss>

