<?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: how do I get all the date to be read in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/how-do-I-get-all-the-date-to-be-read/m-p/689356#M24647</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/351097"&gt;@mastersstudent1&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Was what I posted helpful at all?&amp;nbsp; I reconfigured the INPUT statement to get all the data.&amp;nbsp; See previous post.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jim&lt;/P&gt;</description>
    <pubDate>Tue, 06 Oct 2020 22:08:58 GMT</pubDate>
    <dc:creator>jimbarbour</dc:creator>
    <dc:date>2020-10-06T22:08:58Z</dc:date>
    <item>
      <title>how do I get all the date to be read</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-do-I-get-all-the-date-to-be-read/m-p/689337#M24643</link>
      <description>&lt;P&gt;I have been at this for a while and i am trying to code the SAS to read all the data I have imputed but it says that it is only reading 7 of the numbers. please help&lt;/P&gt;&lt;P&gt;below I have entered&amp;nbsp; the code that I have made and attached is the original question and data for context&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IMG_8207.JPG" style="width: 749px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/50238i1C5680FC571233F4/image-size/large?v=v2&amp;amp;px=999" role="button" title="IMG_8207.JPG" alt="IMG_8207.JPG" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&lt;DIV class="nH if"&gt;&lt;DIV class="nH aHU"&gt;&lt;DIV class="nH hx"&gt;&lt;DIV class="nH"&gt;&lt;DIV class="h7 ie nH oy8Mbf"&gt;&lt;DIV class="Bk"&gt;&lt;DIV class="G3 G2"&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV class="adn ads"&gt;&lt;DIV class="gs"&gt;&lt;DIV class=""&gt;&lt;DIV class="ii gt"&gt;&lt;DIV class="a3s aXjCH "&gt;&lt;DIV&gt;option ls=80;&lt;BR /&gt;&lt;BR /&gt;data example;&lt;BR /&gt;&lt;BR /&gt;input IGF female weight;&lt;BR /&gt;&lt;BR /&gt;cards;&lt;BR /&gt;&lt;BR /&gt;1 &amp;nbsp; &amp;nbsp; 24 &amp;nbsp; &amp;nbsp; 1.30 &amp;nbsp; &amp;nbsp; 1.20 &amp;nbsp; &amp;nbsp; 1.09 &amp;nbsp; &amp;nbsp; 1.27&lt;BR /&gt;&lt;BR /&gt;1 &amp;nbsp; &amp;nbsp; 22 &amp;nbsp; &amp;nbsp; 1.15 &amp;nbsp; &amp;nbsp; 1.18 &amp;nbsp; &amp;nbsp; 1.03 &amp;nbsp; &amp;nbsp; 1.10&lt;BR /&gt;&lt;BR /&gt;1 &amp;nbsp; &amp;nbsp; 19 &amp;nbsp; &amp;nbsp; 1.26 &amp;nbsp; &amp;nbsp; 1.24 &amp;nbsp; &amp;nbsp; 1.28 &amp;nbsp; &amp;nbsp; 1.20&lt;BR /&gt;&lt;BR /&gt;1 &amp;nbsp; &amp;nbsp; 10 &amp;nbsp; &amp;nbsp; 1.08 &amp;nbsp; &amp;nbsp; 1.19 &amp;nbsp; &amp;nbsp; 1.04 &amp;nbsp; &amp;nbsp; 0.98&lt;BR /&gt;&lt;BR /&gt;2 &amp;nbsp; &amp;nbsp; 57 &amp;nbsp; &amp;nbsp; 1.13 &amp;nbsp; &amp;nbsp; 1.11 &amp;nbsp; &amp;nbsp; 0.86 &amp;nbsp; &amp;nbsp; 0.91&lt;BR /&gt;&lt;BR /&gt;2 &amp;nbsp; &amp;nbsp; 61 &amp;nbsp; &amp;nbsp; 1.08 &amp;nbsp; &amp;nbsp; 0.94 &amp;nbsp; &amp;nbsp; 1.07 &amp;nbsp; &amp;nbsp; 1.10&lt;BR /&gt;&lt;BR /&gt;2 &amp;nbsp; &amp;nbsp; 52 &amp;nbsp; &amp;nbsp; 0.98 &amp;nbsp; &amp;nbsp; 0.96 &amp;nbsp; &amp;nbsp; 0.94 &amp;nbsp; &amp;nbsp; 1.01&lt;BR /&gt;&lt;BR /&gt;2 &amp;nbsp; &amp;nbsp; 53 &amp;nbsp; &amp;nbsp; 0.92 &amp;nbsp; &amp;nbsp; 0.89 &amp;nbsp; &amp;nbsp; 0.87 &amp;nbsp; &amp;nbsp; 1.07&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;/*these two commands can be used to start a new output file*/&lt;BR /&gt;&lt;BR /&gt;ods html close;&lt;BR /&gt;&lt;BR /&gt;ods html;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;/*these two commands turn the graphic output on and off*/&lt;BR /&gt;&lt;BR /&gt;ods graphics off;&lt;BR /&gt;&lt;BR /&gt;/*ods graphics on;*/&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;proc glm;&lt;BR /&gt;&lt;BR /&gt;class IGF weight;&lt;BR /&gt;&lt;BR /&gt;model female = IGF weight;&lt;BR /&gt;&lt;BR /&gt;lsmeans weight / stderr pdiff;&lt;BR /&gt;&lt;BR /&gt;run;&lt;DIV class="yj6qo"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="adL"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="adL"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="hi"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="ajx"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="gA gt acV"&gt;&lt;DIV class="gB xu"&gt;&lt;DIV class="ip iq"&gt;&lt;DIV&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;DIV class="nr wR"&gt;&lt;DIV class="amn"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="nH"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="nH"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="nH"&gt;&lt;DIV class="l2 pfiaof"&gt;&lt;DIV class="aeV"&gt;&lt;DIV&gt;&lt;DIV class="md mj"&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="aeW"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="aeU"&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV class="ma"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="ae3"&gt;&lt;DIV&gt;&lt;DIV class="l6"&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;TD&gt;&lt;DIV class="Bt"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="nH"&gt;&lt;DIV class="no"&gt;&lt;DIV class="nH nn"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Tue, 06 Oct 2020 20:47:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-do-I-get-all-the-date-to-be-read/m-p/689337#M24643</guid>
      <dc:creator>mastersstudent1</dc:creator>
      <dc:date>2020-10-06T20:47:17Z</dc:date>
    </item>
    <item>
      <title>Re: how do I get all the date to be read</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-do-I-get-all-the-date-to-be-read/m-p/689342#M24644</link>
      <description>&lt;P&gt;When you say "it is only reading 7 of the numbers," can you clarify what you mean?&amp;nbsp; Are you saying that seven of the eight &lt;EM&gt;observations&lt;/EM&gt;&amp;nbsp;are not showing up in your input dataset, or that they are not being used in the GLM procedure?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I run that code you provided, I see eight observations in&amp;nbsp;&lt;STRONG&gt;example&lt;/STRONG&gt;:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mklangley_0-1602018062204.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/50239iC772D58846DE7B3B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mklangley_0-1602018062204.png" alt="mklangley_0-1602018062204.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;...and eight observations read/used by the PROC GLM step:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mklangley_1-1602018103056.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/50240i00094CA75136611A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mklangley_1-1602018103056.png" alt="mklangley_1-1602018103056.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;(Side note: If you're looking at the "7" in the screenshot above, note that two of your observations have the same weight (1.08).&amp;nbsp; If you modify one of those (try 1.09), you'll see eight levels for that.)&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2020 21:06:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-do-I-get-all-the-date-to-be-read/m-p/689342#M24644</guid>
      <dc:creator>mklangley</dc:creator>
      <dc:date>2020-10-06T21:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: how do I get all the date to be read</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-do-I-get-all-the-date-to-be-read/m-p/689343#M24645</link>
      <description>&lt;P&gt;I think you may need to adjust your Input statement.&amp;nbsp; Your current input statement does not look like it will retrieve all the data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I might try recoding it like the following, below.&amp;nbsp; The results are below the code.&amp;nbsp; Is this more in line with what you'd like to have the data look like?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jim&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data example;
	input 
		Control_Nbr	$
		Female_Nbr	$
		weight1 - weight4
		;

cards;
1     24     1.30     1.20     1.09     1.27
1     22     1.15     1.18     1.03     1.10
1     19     1.26     1.24     1.28     1.20
1     10     1.08     1.19     1.04     0.98
2     57     1.13     1.11     0.86     0.91
2     61     1.08     0.94     1.07     1.10
2     52     0.98     0.96     0.94     1.01
2     53     0.92     0.89     0.87     1.07
;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Which results in the following:&lt;/P&gt;
&lt;PRE&gt;Control_Nbr	Female_Nbr	weight1	weight2	weight3	weight4
1	24	1.3	1.2	1.09	1.27
1	22	1.15	1.18	1.03	1.1
1	19	1.26	1.24	1.28	1.2
1	10	1.08	1.19	1.04	0.98
2	57	1.13	1.11	0.86	0.91
2	61	1.08	0.94	1.07	1.1
2	52	0.98	0.96	0.94	1.01
2	53	0.92	0.89	0.87	1.07
&lt;/PRE&gt;</description>
      <pubDate>Tue, 06 Oct 2020 21:12:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-do-I-get-all-the-date-to-be-read/m-p/689343#M24645</guid>
      <dc:creator>jimbarbour</dc:creator>
      <dc:date>2020-10-06T21:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: how do I get all the date to be read</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-do-I-get-all-the-date-to-be-read/m-p/689344#M24646</link>
      <description>&lt;P&gt;i am looking for it to read the 32 weights (g) so i can get the LSMEAN and the variance.&lt;/P&gt;&lt;P&gt;That is why I stated that I was only getting 7&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2020 21:14:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-do-I-get-all-the-date-to-be-read/m-p/689344#M24646</guid>
      <dc:creator>mastersstudent1</dc:creator>
      <dc:date>2020-10-06T21:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: how do I get all the date to be read</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-do-I-get-all-the-date-to-be-read/m-p/689356#M24647</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/351097"&gt;@mastersstudent1&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Was what I posted helpful at all?&amp;nbsp; I reconfigured the INPUT statement to get all the data.&amp;nbsp; See previous post.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jim&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2020 22:08:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-do-I-get-all-the-date-to-be-read/m-p/689356#M24647</guid>
      <dc:creator>jimbarbour</dc:creator>
      <dc:date>2020-10-06T22:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: how do I get all the date to be read</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-do-I-get-all-the-date-to-be-read/m-p/689366#M24648</link>
      <description>&lt;P&gt;yes this is helpful.&lt;/P&gt;&lt;P&gt;What would you do for the proc glm&lt;/P&gt;&lt;P&gt;I have&amp;nbsp;&lt;/P&gt;&lt;P&gt;class weight1 - weight4&amp;nbsp;&lt;/P&gt;&lt;P&gt;model Female_nbr = Control_nbr Weight1- weight4&lt;/P&gt;&lt;P&gt;LSMEAN weight1 - weight 4&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2020 22:52:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-do-I-get-all-the-date-to-be-read/m-p/689366#M24648</guid>
      <dc:creator>mastersstudent1</dc:creator>
      <dc:date>2020-10-06T22:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: how do I get all the date to be read</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-do-I-get-all-the-date-to-be-read/m-p/689368#M24649</link>
      <description>&lt;P&gt;Well, for one thing LSMEAN needs to be changed to LSMEAN&lt;STRONG&gt;S&lt;/STRONG&gt;.&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm a programmer not a statistician, so I would feel uncomfortable at this juncture to give you advice, particularly not knowing the full context.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can however say that the code did run once I made the above mentioned small correction.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data example;
	input 
		Control_Nbr	
		Female_Nbr	
		weight1 - weight4
		;

cards;
1     24     1.30     1.20     1.09     1.27
1     22     1.15     1.18     1.03     1.10
1     19     1.26     1.24     1.28     1.20
1     10     1.08     1.19     1.04     0.98
2     57     1.13     1.11     0.86     0.91
2     61     1.08     0.94     1.07     1.10
2     52     0.98     0.96     0.94     1.01
2     53     0.92     0.89     0.87     1.07
;
run;

proc glm	DATA=Example;
	class weight1 - weight4 ;
	model Female_nbr = Control_nbr Weight1- weight4;
		LSMEANS weight1 - weight4;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Jim&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2020 23:05:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-do-I-get-all-the-date-to-be-read/m-p/689368#M24649</guid>
      <dc:creator>jimbarbour</dc:creator>
      <dc:date>2020-10-06T23:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: how do I get all the date to be read</title>
      <link>https://communities.sas.com/t5/New-SAS-User/how-do-I-get-all-the-date-to-be-read/m-p/689373#M24650</link>
      <description>&lt;P&gt;What you might want to do, and this is just a thought, is to mark this post as "solved" and open a new thread with "Need help with Proc GLM" or something like that in the title.&amp;nbsp;&amp;nbsp;This post is entitled "how do I get all the date to be read" (which I think we have in fact solved) which will bring in people who are more inclined to programming but might not catch the attention of someone who is experienced with Proc GLM.&amp;nbsp; Just a suggestion.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jim&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2020 23:38:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/how-do-I-get-all-the-date-to-be-read/m-p/689373#M24650</guid>
      <dc:creator>jimbarbour</dc:creator>
      <dc:date>2020-10-06T23:38:36Z</dc:date>
    </item>
  </channel>
</rss>

