<?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: How to test effect of adding an independent variable to an existing variable in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/How-to-test-effect-of-adding-an-independent-variable-to-an/m-p/638658#M21590</link>
    <description>&lt;P&gt;Thanks PaigeMiler. It looks like the "Extra Sum of Squares Principle" compares the two models, not exact what I was asking.&lt;/P&gt;&lt;P&gt;In My question, first I have a simple regression model&lt;/P&gt;&lt;P&gt;Dep_var = Indept_var1&lt;/P&gt;&lt;P&gt;I can model this with glm and get the slope of Indept_var1, and a p value&lt;/P&gt;&lt;P&gt;Then I can do another model with glm&lt;/P&gt;&lt;P&gt;Dep_var = Indept_var1 + Indept_var2&lt;/P&gt;&lt;P&gt;I get the slope and p values of Indept_var1. Of course, I also solve that for Indept_var2 too, but that's not quite the concern here.&lt;/P&gt;&lt;P&gt;I want to know if there is a statistical test to see if the slope and p values for &lt;STRONG&gt;Indept_var1&lt;/STRONG&gt; are different between the two models.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Thu, 09 Apr 2020 13:23:59 GMT</pubDate>
    <dc:creator>csharper</dc:creator>
    <dc:date>2020-04-09T13:23:59Z</dc:date>
    <item>
      <title>How to test effect of adding an independent variable to an existing variable</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-test-effect-of-adding-an-independent-variable-to-an/m-p/638498#M21575</link>
      <description>&lt;P&gt;I used glm procedure to test dep_var = independ_var1, and get the coefficient and p value of&amp;nbsp;independ_var1.&lt;/P&gt;&lt;P&gt;Now I want to add another independ_var2 to the linear model. Is there a test to see if adding this new variable alters the correlation between&amp;nbsp;&amp;nbsp;independ_var1 and&amp;nbsp;dep_var? By altering, I mean the magnitude of correlation and significant level (p value).&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2020 21:15:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-test-effect-of-adding-an-independent-variable-to-an/m-p/638498#M21575</guid>
      <dc:creator>csharper</dc:creator>
      <dc:date>2020-04-08T21:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to test effect of adding an independent variable to an existing variable</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-test-effect-of-adding-an-independent-variable-to-an/m-p/638502#M21576</link>
      <description>&lt;P&gt;This is the "Extra Sum of Squares Principle"&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;</description>
      <pubDate>Wed, 08 Apr 2020 21:23:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-test-effect-of-adding-an-independent-variable-to-an/m-p/638502#M21576</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-04-08T21:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to test effect of adding an independent variable to an existing variable</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-test-effect-of-adding-an-independent-variable-to-an/m-p/638658#M21590</link>
      <description>&lt;P&gt;Thanks PaigeMiler. It looks like the "Extra Sum of Squares Principle" compares the two models, not exact what I was asking.&lt;/P&gt;&lt;P&gt;In My question, first I have a simple regression model&lt;/P&gt;&lt;P&gt;Dep_var = Indept_var1&lt;/P&gt;&lt;P&gt;I can model this with glm and get the slope of Indept_var1, and a p value&lt;/P&gt;&lt;P&gt;Then I can do another model with glm&lt;/P&gt;&lt;P&gt;Dep_var = Indept_var1 + Indept_var2&lt;/P&gt;&lt;P&gt;I get the slope and p values of Indept_var1. Of course, I also solve that for Indept_var2 too, but that's not quite the concern here.&lt;/P&gt;&lt;P&gt;I want to know if there is a statistical test to see if the slope and p values for &lt;STRONG&gt;Indept_var1&lt;/STRONG&gt; are different between the two models.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2020 13:23:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-test-effect-of-adding-an-independent-variable-to-an/m-p/638658#M21590</guid>
      <dc:creator>csharper</dc:creator>
      <dc:date>2020-04-09T13:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to test effect of adding an independent variable to an existing variable</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-test-effect-of-adding-an-independent-variable-to-an/m-p/638670#M21593</link>
      <description>&lt;P&gt;I'll have to think about this. It's not clear to me that a statistical test to compare the slope of X1 from Model 1 is the same as the slope of X1 from Model 2 makes any logical sense. They will be different, by definition, since the models are different (unless all of the variables in the model are orthogonal to one another, in which case they will be identical, by definition). A statistical test would test to see if the numbers are different due to randomness, yet I claim they are different by definition, not due to randomness.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is a somewhat difficult philosophical point, I'm going to think about it more.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2020 14:04:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-test-effect-of-adding-an-independent-variable-to-an/m-p/638670#M21593</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-04-09T14:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to test effect of adding an independent variable to an existing variable</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-test-effect-of-adding-an-independent-variable-to-an/m-p/638676#M21594</link>
      <description>&lt;P&gt;The real question is "Does adding Indept_var2 into the model alter the relationship between Dept_var and Indept_var1?"&lt;/P&gt;&lt;P&gt;I kind of separated this into two Parts (1) does it change the slope of Indept_var1? (2) Does it change the significant of Indept_var1?&lt;/P&gt;&lt;P&gt;That is what I could come up to approach the "real question". Maybe there is a different (better) way to look at this.&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2020 14:20:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-test-effect-of-adding-an-independent-variable-to-an/m-p/638676#M21594</guid>
      <dc:creator>csharper</dc:creator>
      <dc:date>2020-04-09T14:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to test effect of adding an independent variable to an existing variable</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-to-test-effect-of-adding-an-independent-variable-to-an/m-p/638707#M21599</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/321671"&gt;@csharper&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;The real question is "Does adding Indept_var2 into the model alter the relationship between Dept_var and Indept_var1?"&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Yes, by definition, with mathematical certainty, the estimates of the slope of indep_var1 change (unless indep_var2 is orthogonal to indep_var1). No statistical test needed. I don't think your question is valid from a purely statistical point of view. I'm going to leave it there ... maybe someone else has some other opinion.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2020 15:29:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-to-test-effect-of-adding-an-independent-variable-to-an/m-p/638707#M21599</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-04-09T15:29:17Z</dc:date>
    </item>
  </channel>
</rss>

