User Tools

Site Tools


r:multiple_regression

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
r:multiple_regression [2021/11/04 08:14] – [Multiple Regression] hkimscilr:multiple_regression [2023/10/19 08:23] (current) hkimscil
Line 104: Line 104:
   * unemployment rate (UNEM) = 9%, 12%, 3%   * unemployment rate (UNEM) = 9%, 12%, 3%
   * spring high school graduating class (HGRAD) = 100000, 98000, 78000   * spring high school graduating class (HGRAD) = 100000, 98000, 78000
-  * a per capita income (INC) of $30,000, $2800, $36000+  * a per capita income (INC) of \$30000\$28000\$36000
   * 일 때, enrollment는 어떻게 predict할 수 있을까?   * 일 때, enrollment는 어떻게 predict할 수 있을까?
  
Line 218: Line 218:
 see also [[:sequential_regression#eg_3_college_enrollment_in_new_mexico_university|Sequential method]] regression modeling by hand see also [[:sequential_regression#eg_3_college_enrollment_in_new_mexico_university|Sequential method]] regression modeling by hand
 see also [[:statistical regression methods]] regression modeling by computing  see also [[:statistical regression methods]] regression modeling by computing 
 +
 +<code>
 +> fit <- three.predictor.model
 +> step <- stepAIC(fit, direction="both")
 +Start:  AIC=381.2
 +ROLL ~ UNEM + HGRAD + INC
 +
 +        Df Sum of Sq      RSS AIC
 +<none>               11237313 381
 +- UNEM     6522098 17759411 392
 +- HGRAD  1  12852039 24089352 401
 +- INC    1  33568255 44805568 419
 +
 +
 +</code>
 ====== Housing ====== ====== Housing ======
 {{housing.txt}} {{housing.txt}}
r/multiple_regression.1635981267.txt.gz · Last modified: 2021/11/04 08:14 by hkimscil

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki