multiple_regression
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
multiple_regression [2019/05/21 22:40] – [Why overall model is significant while IVs are not?] hkimscil | multiple_regression [2019/05/21 22:41] – [Why overall model is significant while IVs are not?] hkimscil | ||
---|---|---|---|
Line 334: | Line 334: | ||
> LSS = rnorm(RSS, RSS, 0.1) #Left shoe size - similar to RSS | > LSS = rnorm(RSS, RSS, 0.1) #Left shoe size - similar to RSS | ||
> cor(LSS, RSS) # | > cor(LSS, RSS) # | ||
- | [1] 0.9983294 | + | [1] 0.9994836 |
> | > | ||
> weights = 120 + rnorm(RSS, 10*RSS, 10) | > weights = 120 + rnorm(RSS, 10*RSS, 10) | ||
Line 348: | Line 348: | ||
Residuals: | Residuals: | ||
- | 1 | + | 1 |
- | 4.6231 -4.8706 1.3063 | + | 4.8544 |
- | 8 | + | |
- | 2.7536 | + | |
Coefficients: | Coefficients: | ||
Estimate Std. Error t value Pr(> | Estimate Std. Error t value Pr(> | ||
- | (Intercept) | + | (Intercept) |
- | LSS -27.546 | + | LSS -14.162 |
- | RSS 39.299 | + | RSS 26.305 |
--- | --- | ||
Signif. codes: | Signif. codes: | ||
- | Residual standard error: | + | Residual standard error: |
- | Multiple R-squared: | + | Multiple R-squared: |
- | F-statistic: | + | F-statistic: |
> | > | ||
Line 373: | Line 371: | ||
Residuals: | Residuals: | ||
- | | + | Min |
- | -11.044 | + | -6.055 -4.930 -2.925 4.886 11.854 |
Coefficients: | Coefficients: | ||
Estimate Std. Error t value Pr(> | Estimate Std. Error t value Pr(> | ||
- | (Intercept) | + | (Intercept) |
- | LSS 11.401 1.115 | + | LSS 12.440 1.097 |
--- | --- | ||
Signif. codes: | Signif. codes: | ||
- | Residual standard error: 7.282 on 6 degrees of freedom | + | Residual standard error: 7.026 on 6 degrees of freedom |
- | Multiple R-squared: | + | Multiple R-squared: |
- | F-statistic: | + | F-statistic: |
> | > |
multiple_regression.txt · Last modified: 2023/10/19 08:39 by hkimscil