<?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 GLM incomplete results in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-GLM-incomplete-results/m-p/415913#M21822</link>
    <description>&lt;P&gt;How many observations do you have?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And can you include your log.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/178832"&gt;@finlsa01&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;SAS Community,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm trying to run a proc&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;glm&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to analysis a data set of the following (using SAS Studio 3.6):&lt;/P&gt;
&lt;P&gt;Dependent variable: temperature (continuous variable)&lt;/P&gt;
&lt;P&gt;Independent variables:&lt;/P&gt;
&lt;P&gt;time (continuous variable)&lt;/P&gt;
&lt;P&gt;treatment (categorical variable with 0-3)&lt;/P&gt;
&lt;P&gt;length (continuous variable).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The following is the code I was using:&lt;/P&gt;
&lt;P&gt;proc&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;glm; class time treatment length;&lt;BR /&gt;model temperature= time length time*length treatment time*treatment length*treatment time*length*treatment;&lt;BR /&gt;means time length treatment/tukey;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The results table for the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;glm&amp;nbsp;does not display values for the treatment or any of the interaction variables:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2017-11-24 at 12.45.50 PM.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/16826i11A6FE66D00C7BF5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2017-11-24 at 12.45.50 PM.png" alt="Screen Shot 2017-11-24 at 12.45.50 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;--(I know that the final treatment in the interaction of time*treatment*length is spelled wrong, it's spelled correctly in the code. There are no other spelling issues in the coding)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One last issue:&lt;/P&gt;
&lt;P&gt;I have some data points that don't have a length value but have all the other variables and I'm not sure how to leave that variable blank and still have SAS read the code correctly for the other data points.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help would be greatly appreciated,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 24 Nov 2017 02:55:09 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2017-11-24T02:55:09Z</dc:date>
    <item>
      <title>PROC GLM incomplete results</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-GLM-incomplete-results/m-p/415912#M21821</link>
      <description>&lt;P&gt;SAS Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to run a proc&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;glm&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to analysis a data set of the following (using SAS Studio 3.6):&lt;/P&gt;&lt;P&gt;Dependent variable: temperature (continuous variable)&lt;/P&gt;&lt;P&gt;Independent variables:&lt;/P&gt;&lt;P&gt;time (continuous variable)&lt;/P&gt;&lt;P&gt;treatment (categorical variable with 0-3)&lt;/P&gt;&lt;P&gt;length (continuous variable).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The following is the code I was using:&lt;/P&gt;&lt;P&gt;proc&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;glm; class time treatment length;&lt;BR /&gt;model temperature= time length time*length treatment time*treatment length*treatment time*length*treatment;&lt;BR /&gt;means time length treatment/tukey;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The results table for the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;glm&amp;nbsp;does not display values for the treatment or any of the interaction variables:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2017-11-24 at 12.45.50 PM.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/16826i11A6FE66D00C7BF5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2017-11-24 at 12.45.50 PM.png" alt="Screen Shot 2017-11-24 at 12.45.50 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;--(I know that the final treatment in the interaction of time*treatment*length is spelled wrong, it's spelled correctly in the code. There are no other spelling issues in the coding)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One last issue:&lt;/P&gt;&lt;P&gt;I have some data points that don't have a length value but have all the other variables and I'm not sure how to leave that variable blank and still have SAS read the code correctly for the other data points.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Nov 2017 02:52:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-GLM-incomplete-results/m-p/415912#M21821</guid>
      <dc:creator>finlsa01</dc:creator>
      <dc:date>2017-11-24T02:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GLM incomplete results</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-GLM-incomplete-results/m-p/415913#M21822</link>
      <description>&lt;P&gt;How many observations do you have?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And can you include your log.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/178832"&gt;@finlsa01&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;SAS Community,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm trying to run a proc&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;glm&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to analysis a data set of the following (using SAS Studio 3.6):&lt;/P&gt;
&lt;P&gt;Dependent variable: temperature (continuous variable)&lt;/P&gt;
&lt;P&gt;Independent variables:&lt;/P&gt;
&lt;P&gt;time (continuous variable)&lt;/P&gt;
&lt;P&gt;treatment (categorical variable with 0-3)&lt;/P&gt;
&lt;P&gt;length (continuous variable).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The following is the code I was using:&lt;/P&gt;
&lt;P&gt;proc&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;glm; class time treatment length;&lt;BR /&gt;model temperature= time length time*length treatment time*treatment length*treatment time*length*treatment;&lt;BR /&gt;means time length treatment/tukey;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The results table for the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;glm&amp;nbsp;does not display values for the treatment or any of the interaction variables:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2017-11-24 at 12.45.50 PM.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/16826i11A6FE66D00C7BF5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2017-11-24 at 12.45.50 PM.png" alt="Screen Shot 2017-11-24 at 12.45.50 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;--(I know that the final treatment in the interaction of time*treatment*length is spelled wrong, it's spelled correctly in the code. There are no other spelling issues in the coding)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One last issue:&lt;/P&gt;
&lt;P&gt;I have some data points that don't have a length value but have all the other variables and I'm not sure how to leave that variable blank and still have SAS read the code correctly for the other data points.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help would be greatly appreciated,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Nov 2017 02:55:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-GLM-incomplete-results/m-p/415913#M21822</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-11-24T02:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GLM incomplete results</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-GLM-incomplete-results/m-p/415916#M21823</link>
      <description>&lt;P&gt;47 observations (11 of those are missing a value for the length variable like I mentioned)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is the log:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2017-11-24 at 1.09.44 PM.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/16827iE76C3945530809AB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2017-11-24 at 1.09.44 PM.png" alt="Screen Shot 2017-11-24 at 1.09.44 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Nov 2017 03:10:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-GLM-incomplete-results/m-p/415916#M21823</guid>
      <dc:creator>finlsa01</dc:creator>
      <dc:date>2017-11-24T03:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GLM incomplete results</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-GLM-incomplete-results/m-p/415919#M21824</link>
      <description>&lt;P&gt;Ok...please post it as text directly in the future. That's very, very hard to read.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't think you have enough data to run the model you want.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need more observations. Treatment has 4 levels which is the equivalent of 3 variables and then you have 2 continuous variables before you even deal with the interactions. The general rule of thumb for regression is 25 obs per variable, I think this is based on the concept of the Central Limit Theorem where n=25 was considered enough to approximate normality. You have 36 observations, since SAS excludes the entire&amp;nbsp;observations if any variable is missing.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/178832"&gt;@finlsa01&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;47 observations (11 of those are missing a value for the length variable like I mentioned)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;this is the log:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2017-11-24 at 1.09.44 PM.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/16827iE76C3945530809AB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2017-11-24 at 1.09.44 PM.png" alt="Screen Shot 2017-11-24 at 1.09.44 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Nov 2017 03:19:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-GLM-incomplete-results/m-p/415919#M21824</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-11-24T03:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GLM incomplete results</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-GLM-incomplete-results/m-p/415921#M21825</link>
      <description>&lt;P&gt;That makes sense. Do you know what test I should be looking to run instead?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Nov 2017 03:26:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-GLM-incomplete-results/m-p/415921#M21825</guid>
      <dc:creator>finlsa01</dc:creator>
      <dc:date>2017-11-24T03:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: PROC GLM incomplete results</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/PROC-GLM-incomplete-results/m-p/416159#M21841</link>
      <description>&lt;P&gt;In your original message you write that both TIME and LENGTH are continuous-scale variables. But by including TIME and LENGTH in the CLASS statement, you have told the MIXED procedure to incorporate these two variables as if they are categorical. Consequently, the model attempts to estimate 23 parameters for TIME and 21 parameters for LENGTH and then it quits because it's run out of degrees of freedom. As&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;notes, you have only 36 observations for analysis because those with missing LENGTH data will be deleted. I agree with her: you don't have nearly enough data for the model as you've specified it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But you may not have correctly specified the model you intended to fit.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 25 Nov 2017 19:29:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/PROC-GLM-incomplete-results/m-p/416159#M21841</guid>
      <dc:creator>sld</dc:creator>
      <dc:date>2017-11-25T19:29:42Z</dc:date>
    </item>
  </channel>
</rss>

