<?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: Testing significance of change in R^2 values between models in multiple linear regression in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Testing-significance-of-change-in-R-2-values-between-models-in/m-p/409862#M21399</link>
    <description>&lt;P&gt;Ah, that makes sense. Thank you!&lt;/P&gt;</description>
    <pubDate>Thu, 02 Nov 2017 15:19:27 GMT</pubDate>
    <dc:creator>abarnett313</dc:creator>
    <dc:date>2017-11-02T15:19:27Z</dc:date>
    <item>
      <title>Testing significance of change in R^2 values between models in multiple linear regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Testing-significance-of-change-in-R-2-values-between-models-in/m-p/408405#M21260</link>
      <description>&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am conducting an analysis using multiple linear regression in which variables are entered into the model in five blocks, and I would like to determine if the change in R^2 values between the blocks is significant (similar to a likelihood-ratio test for logistic regression). The model are as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Model 1: pcr = g1 g2 race&lt;/P&gt;&lt;P&gt;Model 2: pcr = g1 g2 race x1 x2&lt;/P&gt;&lt;P&gt;Model 3:&amp;nbsp;&lt;SPAN&gt;pcr = g1 g2 race x1 x2 x3 x4 x5&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Model 4:&amp;nbsp;pcr = g1 g2 race x1 x2 x3 x4 x5 x6&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Model 5:&amp;nbsp;pcr = g1 g2 race x1 x2 x3 x4 x5 x6 x7&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;g1, g2, and g3 are categorical variables. x1-7 are continuous variables. Here's the code I'm using:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;glm&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;data=scales;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;class&amp;nbsp; g2 g1&amp;nbsp; race;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;model&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;pcr=race g1 g2 /solution&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;title&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;'Block 1';&lt;STRONG&gt;run&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;glm&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;data=scales;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;class&amp;nbsp; g2 g1 race;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;model&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;pcr=x1 x2 race g1 g2 /solution&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;title&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;'Block 2';&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;glm&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;data=scales;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;class&amp;nbsp; g2 g1 race;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;model&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;pcr=x1 x2 x3 x4 x5&amp;nbsp; race g1 g2 /solution&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;;&amp;nbsp;title&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;'Block 3';&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;glm&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;data=scales;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;class&amp;nbsp; g2 g1 race;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;model&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;pcr=x1 x2 x3 x4 x5 x6&amp;nbsp; race g1 g2 /solution&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;;&amp;nbsp;title&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;'Block 4';&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;glm&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;data=scales;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;class&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;g2 g1 race;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;model&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;pcr=x1 x2 x3 x4 x5 x6 x7&amp;nbsp; race g1 g2 /solution;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;title&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;'Block 5';&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried to use proc glmselect, too, but the issue that I am having is that I do not want the program to select and report the best model only, and I only want the variables to enter the model in the order specified above. I'm using SAS Enterprise Guide v4.3.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help in terms of how to test the significance of the change in R^2 values (or confirmation that it is not possible to do so in SAS) would be much appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;abarnett313&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 29 Oct 2017 20:23:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Testing-significance-of-change-in-R-2-values-between-models-in/m-p/408405#M21260</guid>
      <dc:creator>abarnett313</dc:creator>
      <dc:date>2017-10-29T20:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: Testing significance of change in R^2 values between models in multiple linear regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Testing-significance-of-change-in-R-2-values-between-models-in/m-p/408407#M21261</link>
      <description>&lt;P&gt;You want to use the "Extra Sum of Squares" method, which is explained here:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.jerrydallal.com/LHSP/extra.htm" target="_blank"&gt;http://www.jerrydallal.com/LHSP/extra.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is relatively easy to do in SAS.&lt;/P&gt;</description>
      <pubDate>Sun, 29 Oct 2017 20:47:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Testing-significance-of-change-in-R-2-values-between-models-in/m-p/408407#M21261</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2017-10-29T20:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: Testing significance of change in R^2 values between models in multiple linear regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Testing-significance-of-change-in-R-2-values-between-models-in/m-p/409526#M21372</link>
      <description>&lt;P&gt;Thank you -- this is exactly what I was seeking! Is there a way to have SAS calculate the extra sum of squares, or does it need to be done by hand?&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2017 16:03:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Testing-significance-of-change-in-R-2-values-between-models-in/m-p/409526#M21372</guid>
      <dc:creator>abarnett313</dc:creator>
      <dc:date>2017-11-01T16:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: Testing significance of change in R^2 values between models in multiple linear regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Testing-significance-of-change-in-R-2-values-between-models-in/m-p/409600#M21374</link>
      <description>&lt;P&gt;You have your PROC GLM or PROC REG or whatever output the sum of squares to SAS data sets, using ODS OUTPUT.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then it should be relatively simple to combine the SS from each model into a single data step, and do the math in the data step.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2017 19:26:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Testing-significance-of-change-in-R-2-values-between-models-in/m-p/409600#M21374</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2017-11-01T19:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: Testing significance of change in R^2 values between models in multiple linear regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Testing-significance-of-change-in-R-2-values-between-models-in/m-p/409862#M21399</link>
      <description>&lt;P&gt;Ah, that makes sense. Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2017 15:19:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Testing-significance-of-change-in-R-2-values-between-models-in/m-p/409862#M21399</guid>
      <dc:creator>abarnett313</dc:creator>
      <dc:date>2017-11-02T15:19:27Z</dc:date>
    </item>
  </channel>
</rss>

