using_dummy_variables
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| using_dummy_variables [2026/06/09 23:42] – hkimscil | using_dummy_variables [2026/06/14 23:15] (current) – [Regression with two Catogorical IVs] hkimscil | ||
|---|---|---|---|
| Line 1137: | Line 1137: | ||
| > | > | ||
| > | > | ||
| + | </ | ||
| + | {{pasted: | ||
| + | |||
| + | < | ||
| > # 1. 평균을 빼준 값을 새로운 변인으로 저장 | > # 1. 평균을 빼준 값을 새로운 변인으로 저장 | ||
| > df$meals_centered <- | > df$meals_centered <- | ||
| Line 1180: | Line 1184: | ||
| > | > | ||
| > | > | ||
| + | </ | ||
| + | {{pasted: | ||
| + | |||
| + | < | ||
| > # Install the package if you do not have it | > # Install the package if you do not have it | ||
| > # install.packages(" | > # install.packages(" | ||
| Line 1189: | Line 1197: | ||
| > | > | ||
| > | > | ||
| + | </ | ||
| + | {{pasted: | ||
| + | |||
| + | < | ||
| > m.ellyr_rnd <- lm(api00~ell+yr_rnd, | > m.ellyr_rnd <- lm(api00~ell+yr_rnd, | ||
| > summary(m.ellyr_rnd) | > summary(m.ellyr_rnd) | ||
| Line 1289: | Line 1301: | ||
| > | > | ||
| </ | </ | ||
| + | {{pasted: | ||
| + | |||
| </ | </ | ||
| - | {{pasted: | ||
| - | {{pasted: | ||
| - | {{pasted: | ||
| - | {{pasted: | ||
| ===== Regression with a categorical and a continuous IV: e.g. 2 ===== | ===== Regression with a categorical and a continuous IV: e.g. 2 ===== | ||
using_dummy_variables.1781048547.txt.gz · Last modified: by hkimscil
