<?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 How to run regressions with more than one class variable and save the res? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/How-to-run-regressions-with-more-than-one-class-variable-and/m-p/30523#M7256</link>
    <description>Hi, I'm trying to run a regreession with two dummy variables, and I need to save the residuals and the estimators to be used later. I have tried using proc glm, but it doesn't work using more than one class variable.. Please help mee...</description>
    <pubDate>Mon, 08 Nov 2010 21:04:53 GMT</pubDate>
    <dc:creator>Multipledummyvariables</dc:creator>
    <dc:date>2010-11-08T21:04:53Z</dc:date>
    <item>
      <title>How to run regressions with more than one class variable and save the res?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-run-regressions-with-more-than-one-class-variable-and/m-p/30523#M7256</link>
      <description>Hi, I'm trying to run a regreession with two dummy variables, and I need to save the residuals and the estimators to be used later. I have tried using proc glm, but it doesn't work using more than one class variable.. Please help mee...</description>
      <pubDate>Mon, 08 Nov 2010 21:04:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-run-regressions-with-more-than-one-class-variable-and/m-p/30523#M7256</guid>
      <dc:creator>Multipledummyvariables</dc:creator>
      <dc:date>2010-11-08T21:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to run regressions with more than one class variable and save the res?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-run-regressions-with-more-than-one-class-variable-and/m-p/30524#M7257</link>
      <description>hmmm&lt;BR /&gt;
REG does not use the CLASS statement.  So using dummy vars is an alternative.  GLM does use the CLASS statement and does support more than one class variable.  The OUTPUT statement is used to write out the individual estimates.  Past that I am not sure of the question (or the model).  Consider the following to see if it can start the discussion.&lt;BR /&gt;
&lt;BR /&gt;
[pre]proc glm data=sashelp.class;&lt;BR /&gt;
class age sex;&lt;BR /&gt;
model weight = age|sex height;&lt;BR /&gt;
output out=stat p=pred cookd=cooksd;&lt;BR /&gt;
run;&lt;BR /&gt;
[/pre]</description>
      <pubDate>Tue, 09 Nov 2010 03:11:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-run-regressions-with-more-than-one-class-variable-and/m-p/30524#M7257</guid>
      <dc:creator>ArtC</dc:creator>
      <dc:date>2010-11-09T03:11:33Z</dc:date>
    </item>
  </channel>
</rss>

