multiple_regression_exercise
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
multiple_regression_exercise [2021/11/26 06:21] – [개인과제 2] hkimscil | multiple_regression_exercise [2023/12/10 21:41] (current) – old revision restored (2022/11/02 23:41) hkimscil | ||
---|---|---|---|
Line 151: | Line 151: | ||
< | < | ||
+ | # install.packages(" | ||
+ | library(ISLR) | ||
+ | |||
head(Carseats) | head(Carseats) | ||
str(Carseats) | str(Carseats) | ||
Line 389: | Line 392: | ||
아래는 설명을 하지 않고 코드만 적었었는데 이는 아래 둘의 model이 동일한 것임을 보여주기 위한 것입니다. | 아래는 설명을 하지 않고 코드만 적었었는데 이는 아래 둘의 model이 동일한 것임을 보여주기 위한 것입니다. | ||
< | < | ||
- | lm.2 <- lm(Sales ~ Advertising: | + | lm.2 <- lm(Sales ~ Advertising: |
- | lm.1 <- lm(Sales ~ Advertising + Advertising: | + | lm.1 <- lm(Sales ~ Advertising + Advertising: |
</ | </ | ||
Line 469: | Line 472: | ||
Coefficients: | Coefficients: | ||
Estimate Std. Error t value Pr(> | Estimate Std. Error t value Pr(> | ||
- | (Intercept) | + | (Intercept) |
- | ShelveLocGood | + | ShelveLocGood |
- | ShelveLocMedium | + | ShelveLocMedium |
- | ShelveLocBad: | + | ShelveLocBad: |
- | ShelveLocGood: | + | ShelveLocGood: |
- | ShelveLocMedium: | + | ShelveLocMedium: |
--- | --- | ||
Signif. codes: | Signif. codes: | ||
Line 799: | Line 802: | ||
</ | </ | ||
+ | --> | ||
+ | [[: | ||
====== Making Questionnaire ====== | ====== Making Questionnaire ====== | ||
[[https:// | [[https:// |
multiple_regression_exercise.1637875316.txt.gz · Last modified: 2021/11/26 06:21 by hkimscil