c:ma:2019:multiple_regression_exercise
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| c:ma:2019:multiple_regression_exercise [2021/11/09 10:33] – hkimscil | c:ma:2019:multiple_regression_exercise [2021/11/11 01:14] (current) – [Ex. 2] hkimscil | ||
|---|---|---|---|
| Line 32: | Line 32: | ||
| * load the tidyverse | * load the tidyverse | ||
| * '' | * '' | ||
| - | * '' | + | |
| - | * Use a dataset | + | * load the car and the carData |
| - | * describe the data set | + | |
| + | * '' | ||
| + | * explain what it is | ||
| + | | ||
| ---- | ---- | ||
| * Regress sex variable on salary variable | * Regress sex variable on salary variable | ||
| * Write the regression model | * Write the regression model | ||
| - | * Discuss the difference | + | * Discuss the difference |
| * Use rank variable for the same purpose | * Use rank variable for the same purpose | ||
| - | * -- | + | * Write the regression model |
| - | * Use yrs.service + rank + discipline | + | * Regress |
| - | * on salary | + | |
| * How do you interpret the result? | * How do you interpret the result? | ||
| + | * And regress rank + sex + rank:sex on salary | ||
| + | * How do you interpret this result? | ||
| + | * Do factorial ANOVA test with rank and sex on salary | ||
| + | * How do you interpret the result? | ||
| + | |||
| + | * Test regression model of your own choice | ||
| + | * Interpret the result | ||
| + | |||
| ----- | ----- | ||
| 위의 Salaries 데이터사용이 안 될 때 | 위의 Salaries 데이터사용이 안 될 때 | ||
c/ma/2019/multiple_regression_exercise.1636454029.txt.gz · Last modified: by hkimscil
