User Tools

Site Tools


c:ma:2019:multiple_regression_exercise

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
c:ma:2019:multiple_regression_exercise [2021/11/09 19:33] hkimscilc:ma:2019:multiple_regression_exercise [2021/11/11 10:14] (current) – [Ex. 2] hkimscil
Line 32: Line 32:
   * load the tidyverse   * load the tidyverse
   * ''%%install.packages("car")%%''   * ''%%install.packages("car")%%''
-  * ''%%data("Salaries", package = "car")%%'' +  * ''%%install.packages("carData")%%'' 
-  * Use a dataset Salaries  +  * load the car and the carData  
-  * describe the data set+  * ''%%data("Salaries", package = "carData")%%'' 
 +  * ''%%?Salaries%%'' 
 +    * explain what it is 
 +    * describe the data set
 ---- ----
   * 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 male and female (sex)
  
   * Use rank variable for the same purpose   * Use rank variable for the same purpose
-  * --+  * Write the regression model 
  
-  * Use yrs.service + rank + discipline + sex  +  * Regress rank + sex on salary
-  * 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: 2021/11/09 19:33 by hkimscil

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki