User Tools

Site Tools


r:multiple_regression

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
r:multiple_regression [2019/11/08 09:21] – [Partial, Semi-partial Correlation and R squared value] hkimscilr:multiple_regression [2019/11/08 09:28] hkimscil
Line 403: Line 403:
  
 이 둘의 합은 ''1.726415562'' 로 1을 넘는다. 즉, 각 독립변인의 영향력은 중복 (독립변인 간의 상관관계) 되어 있다는 뜻.  이 둘의 합은 ''1.726415562'' 로 1을 넘는다. 즉, 각 독립변인의 영향력은 중복 (독립변인 간의 상관관계) 되어 있다는 뜻. 
 +
 +{{20191108_092352.jpg?400}}
 +
  
 <code>install.packages("ppcor") <code>install.packages("ppcor")
Line 482: Line 485:
 > </code> > </code>
  
-<code> +<code>> anova(lm.stock.int, lm.stock)
-> anova(lm.stock.int, lm.stock.unemp) +
-Analysis of Variance Table +
- +
-Model 1: Stock_Index_Price ~ Interest_Rate +
-Model 2: Stock_Index_Price ~ Unemployment_Rate +
-  Res.Df    RSS Df Sum of Sq F Pr(>F) +
-1     22 126953                       +
-2     22 152491  0    -25538          +
-</code> +
- +
-<code> +
-> anova(lm.stock.int, lm.stock)+
 Analysis of Variance Table Analysis of Variance Table
  
Line 504: Line 495:
 --- ---
 Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1 Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
-anova(lm.stock.enemp, lm.stock) + 
-Error in anova(lm.stock.enemp, lm.stock) :  +</code
-  object 'lm.stock.enemp' not found+ 
 +<code>
 > anova(lm.stock.unemp, lm.stock) > anova(lm.stock.unemp, lm.stock)
 Analysis of Variance Table Analysis of Variance Table
r/multiple_regression.txt · Last modified: 2023/10/19 08:23 by hkimscil

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki