<?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: Problem with SAS code in Proc glm in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Problem-with-SAS-code-in-Proc-glm/m-p/311509#M16431</link>
    <description>&lt;P&gt;If you want QQPlot and&amp;nbsp;histogram of the residuals, you can get those plots directly from PROC GLM. For example, study the following code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods graphics on;&lt;/P&gt;
&lt;P&gt;proc glm data=sashelp.cars plots=DiagnosticsPanel;&lt;BR /&gt;class Origin Type ;&lt;BR /&gt;model Length=Origin Type /solution;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't understand your statement "&lt;SPAN&gt;all my response variables are the same with the same mean and standard deviation." &amp;nbsp;If the&amp;nbsp;Staplelength variable is continuous, then your code should produce the plots that you expect. &amp;nbsp;If not, I suggest you look at the data. For example, plot a histogram of&amp;nbsp;Staplelength. &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Nov 2016 20:24:35 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2016-11-14T20:24:35Z</dc:date>
    <item>
      <title>Problem with SAS code in Proc glm</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Problem-with-SAS-code-in-Proc-glm/m-p/311483#M16430</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a problem with SAS code in Proc glm!&lt;/P&gt;
&lt;P&gt;I want to test my residual normality but QQplot for all my response ariables are the same with the same mean and standard deviation, my main problem is with Proc univariate!&lt;/P&gt;
&lt;P&gt;I will send you my code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would be thankful if you tell me what should I do with the code!&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc glm;&lt;BR /&gt;class Sex Type ;&lt;BR /&gt;model Staplelength=Sex Type /solution;&lt;/P&gt;
&lt;P&gt;OUTPUT OUT=diagnost p=Ybar r=resid;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;PROC pLOT data=diagnost;&lt;/P&gt;
&lt;P&gt;PLOT resid*ybar/vref=0;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;PROC UNIVARIATE ;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Histogram resid/ normal;&lt;/P&gt;
&lt;P&gt;QQPLOT resid/normal;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2016 19:53:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Problem-with-SAS-code-in-Proc-glm/m-p/311483#M16430</guid>
      <dc:creator>an358</dc:creator>
      <dc:date>2016-11-14T19:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with SAS code in Proc glm</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Problem-with-SAS-code-in-Proc-glm/m-p/311509#M16431</link>
      <description>&lt;P&gt;If you want QQPlot and&amp;nbsp;histogram of the residuals, you can get those plots directly from PROC GLM. For example, study the following code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ods graphics on;&lt;/P&gt;
&lt;P&gt;proc glm data=sashelp.cars plots=DiagnosticsPanel;&lt;BR /&gt;class Origin Type ;&lt;BR /&gt;model Length=Origin Type /solution;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't understand your statement "&lt;SPAN&gt;all my response variables are the same with the same mean and standard deviation." &amp;nbsp;If the&amp;nbsp;Staplelength variable is continuous, then your code should produce the plots that you expect. &amp;nbsp;If not, I suggest you look at the data. For example, plot a histogram of&amp;nbsp;Staplelength. &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2016 20:24:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Problem-with-SAS-code-in-Proc-glm/m-p/311509#M16431</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2016-11-14T20:24:35Z</dc:date>
    </item>
  </channel>
</rss>

