<?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: number of observations read by SAS in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/number-of-observations-read-by-SAS/m-p/622651#M77292</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/310149"&gt;@marline&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It seems that the values are separated by a tab.&lt;/P&gt;
&lt;P&gt;You can specify it by adding an INFILE statement. Dlm = "09"x means that the delimiter is a tab (not as space or a comma for example).&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data sickdays;
	infile datalines dlm="09"x;
	input days @@;
	datalines;
8	10	5	0	6	9	5	15		
5	4	3	2	0	4	15
;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 06 Feb 2020 10:35:10 GMT</pubDate>
    <dc:creator>ed_sas_member</dc:creator>
    <dc:date>2020-02-06T10:35:10Z</dc:date>
    <item>
      <title>number of observations read by SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/number-of-observations-read-by-SAS/m-p/621806#M77255</link>
      <description>&lt;P&gt;I inserted my data into the SAS, but it is not reading my total number of observations?&lt;/P&gt;&lt;P&gt;sorry, I am a beginner.&lt;/P&gt;&lt;P&gt;what could be the reason?&lt;/P&gt;</description>
      <pubDate>Sun, 02 Feb 2020 20:27:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/number-of-observations-read-by-SAS/m-p/621806#M77255</guid>
      <dc:creator>marline</dc:creator>
      <dc:date>2020-02-02T20:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: number of observations read by SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/number-of-observations-read-by-SAS/m-p/621832#M77256</link>
      <description>&lt;P&gt;What kind of data, and how did you "insert" it? Please post the log from the code you ran, using the {i} button.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2020 01:41:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/number-of-observations-read-by-SAS/m-p/621832#M77256</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-02-03T01:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: number of observations read by SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/number-of-observations-read-by-SAS/m-p/622649#M77291</link>
      <description>&lt;PRE&gt;data sickdays;
input days@@;
datalines;

8	10	5	0	6	9	5	15		
5	4	3	2	0	4	15
;
run
;
proc means n mean std stderr clm ; var days;
run;
proc ttest  h0=&amp;lt;9.4; var days ; run;



 
 &lt;/PRE&gt;</description>
      <pubDate>Thu, 06 Feb 2020 10:31:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/number-of-observations-read-by-SAS/m-p/622649#M77291</guid>
      <dc:creator>marline</dc:creator>
      <dc:date>2020-02-06T10:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: number of observations read by SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/number-of-observations-read-by-SAS/m-p/622651#M77292</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/310149"&gt;@marline&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It seems that the values are separated by a tab.&lt;/P&gt;
&lt;P&gt;You can specify it by adding an INFILE statement. Dlm = "09"x means that the delimiter is a tab (not as space or a comma for example).&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data sickdays;
	infile datalines dlm="09"x;
	input days @@;
	datalines;
8	10	5	0	6	9	5	15		
5	4	3	2	0	4	15
;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 06 Feb 2020 10:35:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/number-of-observations-read-by-SAS/m-p/622651#M77292</guid>
      <dc:creator>ed_sas_member</dc:creator>
      <dc:date>2020-02-06T10:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: number of observations read by SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/number-of-observations-read-by-SAS/m-p/622652#M77293</link>
      <description>&lt;P&gt;in the note section I get the following: 2 observations are read from your data.&lt;/P&gt;&lt;P&gt;Although all my friends get the result without any problem on their SAS 9.4, is the sas university edition needs a different coding especially in entering the data ?&lt;/P&gt;&lt;P&gt;because I faced the same problem with a set of data copied and pasted from the excel sheet, it was 30 observations and I got only 4 read ?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2020 10:35:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/number-of-observations-read-by-SAS/m-p/622652#M77293</guid>
      <dc:creator>marline</dc:creator>
      <dc:date>2020-02-06T10:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: number of observations read by SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/number-of-observations-read-by-SAS/m-p/622653#M77294</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/310149"&gt;@marline&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think there is also an issue in the PROC TTEST. Indeed, you can't specify an operator other than equal in H0.&lt;/P&gt;
&lt;P&gt;However, you can tell SAS that you conduct an unilateral test by using the SIDE option:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc ttest data=sickdays h0=9.4 side=u;
	var days;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;SIDE = U :&amp;nbsp;&lt;SPAN&gt;Specifies upper one-sided tests, in which the alternative hypothesis indicates a mean greater than the null value&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;SIDE = L :&amp;nbsp;&lt;SPAN&gt;Specifies lower one-sided tests, in which the alternative hypothesis indicates a mean less than the null value&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;SIDE = 2 : Bilateral&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2020 10:40:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/number-of-observations-read-by-SAS/m-p/622653#M77294</guid>
      <dc:creator>ed_sas_member</dc:creator>
      <dc:date>2020-02-06T10:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: number of observations read by SAS</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/number-of-observations-read-by-SAS/m-p/622654#M77295</link>
      <description>&lt;P&gt;thanks a lot, I appreciate it but why it read 17 observations while I have 15 ?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2020 10:45:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/number-of-observations-read-by-SAS/m-p/622654#M77295</guid>
      <dc:creator>marline</dc:creator>
      <dc:date>2020-02-06T10:45:04Z</dc:date>
    </item>
  </channel>
</rss>

