interaction_effects_in_regression_analysis
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
interaction_effects_in_regression_analysis [2017/11/30 12:33] – [Ex. 2] hkimscil | interaction_effects_in_regression_analysis [2023/06/06 03:11] – [E.g. 1 One category and one continuous] hkimscil | ||
---|---|---|---|
Line 86: | Line 86: | ||
Residual standard error: 0.4842 on 46 degrees of freedom | Residual standard error: 0.4842 on 46 degrees of freedom | ||
Multiple R-squared: | Multiple R-squared: | ||
- | F-statistic: | + | F-statistic: |
+ | </ | ||
+ | < | ||
+ | regression formula: | ||
+ | y hat ~ 1.35817 + 2.95059*x + -2.63301*f1High + 1.59598*x: | ||
+ | x: 질소 | ||
+ | f1: High | Low | ||
+ | </ | ||
+ | * when f1High = 0, | ||
+ | * '' | ||
+ | * x변인(질소)이 0인 상태일 때의 작물의 무게가 1.3g정도 된다는 것을 말한다. | ||
+ | * 다음의 x는 x변인(질소)의 단위가 1씩 증가할 때마다 작물의 무게는 2.9씩 증가한다는 것을 말한다. (일반적인 regression line 해석) | ||
+ | * when f1High = 1, | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * x:f1High는 온도가 High일경우에 x의 영향력이 1.59 더 많다는 것을 말한다 (1.59598*x: | ||
+ | * 즉, x의 기울기(slope)는 온도에 따라서 변하는데, | ||
+ | * 또한 온도가 높을 상태일 때의 절편은 -1.27493 가 된다. | ||
- | coefficient 해석 | ||
- | - 우선 f1High 라는 변인은 High 상태(온도가 높은 상태)를 의미. 따라서 default 값(제어된 값)은 온도가 낮은 상태 (low). | ||
- | - 절편 = 온도가 Low인 상태(제어상태)이며 x변인(질소)이 0인 상태일 때의 작물의 무게가 1.3g정도 된다는 것을 말한다. | ||
- | - 다음의 x는 x변인(질소)의 단위가 1씩 증가할 때마다 작물의 무게는 2.9씩 증가한다는 것을 말한다. (일반적인 regression line 해석) | ||
- | - 다음 x:f1High는 온도가 High일경우에 x의 영향력이 1.59 더 많다는 것을 말한다. 즉, x의 기울기(slope)는 온도에 따라서 변하는데, | ||
< | < | ||
library(jtools) # in case not loading, install.packages(" | library(jtools) # in case not loading, install.packages(" | ||
Line 680: | Line 693: | ||
* How do you interpret the result. | * How do you interpret the result. | ||
* Draw a plot to make your interpretation easy to understand | * Draw a plot to make your interpretation easy to understand | ||
- | * [[Answer_ex2]] | + | * [[: |
interaction_effects_in_regression_analysis.txt · Last modified: 2023/06/14 08:54 by hkimscil