<?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 and coefficient estimate in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/proc-glm-and-coefficient-estimate/m-p/805066#M81690</link>
    <description>&lt;P&gt;here is the sample data&lt;/P&gt;</description>
    <pubDate>Wed, 30 Mar 2022 13:29:42 GMT</pubDate>
    <dc:creator>Xiyuan</dc:creator>
    <dc:date>2022-03-30T13:29:42Z</dc:date>
    <item>
      <title>proc glm and coefficient estimate</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-glm-and-coefficient-estimate/m-p/805037#M81686</link>
      <description>&lt;P&gt;how to output only one table including the coefficient estimates for each group?&lt;/P&gt;&lt;PRE&gt; proc glm;
      by group;
      class a;
      model y1-y5=a x(a);
      output out=pout predicted=py1-py5;
   run;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2022 12:43:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-glm-and-coefficient-estimate/m-p/805037#M81686</guid>
      <dc:creator>Xiyuan</dc:creator>
      <dc:date>2022-03-30T12:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: proc glm and coefficient estimate</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-glm-and-coefficient-estimate/m-p/805053#M81687</link>
      <description>&lt;P&gt;Try the /SOLUTION option in the MODEL Statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If that's not what you want then:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Explain further. What do you mean by "&lt;SPAN&gt;only one table including the coefficient estimates for each group"?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;What is wrong with the output that you get?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2022 13:17:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-glm-and-coefficient-estimate/m-p/805053#M81687</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-03-30T13:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: proc glm and coefficient estimate</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-glm-and-coefficient-estimate/m-p/805064#M81688</link>
      <description>thanks i find this code helps&lt;BR /&gt;ods output ParameterEstimates=test1;&lt;BR /&gt;</description>
      <pubDate>Wed, 30 Mar 2022 13:20:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-glm-and-coefficient-estimate/m-p/805064#M81688</guid>
      <dc:creator>Xiyuan</dc:creator>
      <dc:date>2022-03-30T13:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: proc glm and coefficient estimate</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-glm-and-coefficient-estimate/m-p/805065#M81689</link>
      <description>but i still have a problem&lt;BR /&gt;&lt;BR /&gt;when regressing y on x1 and x3 with fixed effect ID AND date, why the result is null:&lt;BR /&gt;proc glm data=test ;&lt;BR /&gt;absorb id date;&lt;BR /&gt;model y=x1 x3/ solution int;&lt;BR /&gt;quit;run;&lt;BR /&gt;&lt;BR /&gt;the data is uploading...</description>
      <pubDate>Wed, 30 Mar 2022 13:28:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-glm-and-coefficient-estimate/m-p/805065#M81689</guid>
      <dc:creator>Xiyuan</dc:creator>
      <dc:date>2022-03-30T13:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: proc glm and coefficient estimate</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-glm-and-coefficient-estimate/m-p/805066#M81690</link>
      <description>&lt;P&gt;here is the sample data&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2022 13:29:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-glm-and-coefficient-estimate/m-p/805066#M81690</guid>
      <dc:creator>Xiyuan</dc:creator>
      <dc:date>2022-03-30T13:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: proc glm and coefficient estimate</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-glm-and-coefficient-estimate/m-p/805067#M81691</link>
      <description>&lt;P&gt;Why is WHAT result null? SHOW US a screen capture of the problem.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2022 13:31:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-glm-and-coefficient-estimate/m-p/805067#M81691</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-03-30T13:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: proc glm and coefficient estimate</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-glm-and-coefficient-estimate/m-p/805069#M81692</link>
      <description>&lt;P&gt;here is the result&amp;nbsp; and this is stata 's result&lt;/P&gt;&lt;P&gt;y |&amp;nbsp; &amp;nbsp; &amp;nbsp;Coef.&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Std. Err.&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; t&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;P&amp;gt;|t|&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[95% Conf. Interval]&lt;BR /&gt;-------------+----------------------------------------------------------------&lt;BR /&gt;x1 |&amp;nbsp; &amp;nbsp;0.0498584&amp;nbsp; &amp;nbsp; 0.0502977&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0.99&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0.322&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -.0488068 .1485237&lt;BR /&gt;x3 |&amp;nbsp; &amp;nbsp;0.0241822&amp;nbsp; &amp;nbsp; 0.0540281&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0.45&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0.655&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-.0818006 .1301651&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2022 13:41:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-glm-and-coefficient-estimate/m-p/805069#M81692</guid>
      <dc:creator>Xiyuan</dc:creator>
      <dc:date>2022-03-30T13:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: proc glm and coefficient estimate</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-glm-and-coefficient-estimate/m-p/805070#M81693</link>
      <description>&lt;P&gt;Post screen captures in your reply by clicking on the "Insert Photos" icon.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Some of us cannot download attachments. Other people will not download attachments.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2022 13:44:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-glm-and-coefficient-estimate/m-p/805070#M81693</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-03-30T13:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: proc glm and coefficient estimate</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-glm-and-coefficient-estimate/m-p/805072#M81694</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="微信截图_20220330214659.jpg" style="width: 939px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/69978iF102060933B8F0C1/image-size/large?v=v2&amp;amp;px=999" role="button" title="微信截图_20220330214659.jpg" alt="微信截图_20220330214659.jpg" /&gt;&lt;/span&gt;what about this&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2022 13:47:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-glm-and-coefficient-estimate/m-p/805072#M81694</guid>
      <dc:creator>Xiyuan</dc:creator>
      <dc:date>2022-03-30T13:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: proc glm and coefficient estimate</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-glm-and-coefficient-estimate/m-p/805074#M81695</link>
      <description>&lt;P&gt;You have zero degrees of freedom for error. The model you have fit has the maximum number of parameters, and fits perfectly.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, without seeing the data (because I refuse to download files), I can't advise further. You need to provide A PORTION OF the data as SAS data step code in your message (not as a file that I should download), instructions are &lt;A href="https://blogs.sas.com/content/sastraining/2016/03/11/jedi-sas-tricks-data-to-data-step-macro/" target="_self"&gt;here&lt;/A&gt;. Probably the problem is due to the ABSORB statement, maybe you don't need both variables in there, maybe you should remove DATE, maybe you should eliminate that ABSORB statement, but I am guessing as I can't see the data.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2022 14:32:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-glm-and-coefficient-estimate/m-p/805074#M81695</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-03-30T14:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: proc glm and coefficient estimate</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-glm-and-coefficient-estimate/m-p/805323#M81696</link>
      <description>&lt;P&gt;Please include the NObs table. It is possible that you have no valid observations.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The problem could be that you read the data incorrectly. The data you attached seem to be invalid. They look like this:&lt;/P&gt;
&lt;TABLE width="253px"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="252px"&gt;31-Dec-03 77546 1 0 1 1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="252px"&gt;31-Dec-03 10104 1 0 1 1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="252px"&gt;31-Dec-03 77284 1 0 1 1&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;In your CSV file, there is only one column, which contains values like&lt;/P&gt;
&lt;P&gt;"31-Dec-03 77546 1 0 1 1"&lt;/P&gt;
&lt;P&gt;You need to make sure that those numbers are properly read into the variables in your program. Otherwise, the&amp;nbsp;y, x1, and x3 variables might contain missing values.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The other thing you can do is run the following and upload the results:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc print data=test(obs=5);
var id date y x1 x3;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 31 Mar 2022 14:59:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-glm-and-coefficient-estimate/m-p/805323#M81696</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2022-03-31T14:59:24Z</dc:date>
    </item>
  </channel>
</rss>

