User Tools

Site Tools


r:dummy_variable

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:dummy_variable [2023/06/07 08:32] – [인터액션에 대한 해석] hkimscilr:dummy_variable [2023/06/07 08:49] (current) – [output] hkimscil
Line 494: Line 494:
 [[:r:dummy variables with significant interaction|다른 예]] [[:r:dummy variables with significant interaction|다른 예]]
  
 +<code>
 +> summ(mod4)
 +MODEL INFO:
 +Observations: 400
 +Dependent Variable: api00
 +Type: OLS linear regression 
 +
 +MODEL FIT:
 +F(5,394) = 261.61, p = 0.00
 +R² = 0.77
 +Adj. R² = 0.77 
 +
 +Standard errors: OLS
 +--------------------------------------------------------------------
 +                                        Est.    S.E.   t val.      p
 +---------------------------------- --------- ------- -------- ------
 +(Intercept)                           809.69    6.18   130.91   0.00
 +yr_rndno_break                        -74.26   26.76    -2.78   0.01
 +mealcat47-80                         -164.41    8.88   -18.52   0.00
 +mealcat81-100                        -288.19   10.44   -27.60   0.00
 +yr_rndno_break:mealcat47-80            22.52   32.75     0.69   0.49
 +yr_rndno_break:mealcat81-100           40.76   29.23     1.39   0.16
 +--------------------------------------------------------------------
 +
 +</code>
 <code> <code>
 cat_plot(mod4, pred=yr_rnd, modx=mealcat) cat_plot(mod4, pred=yr_rnd, modx=mealcat)
Line 726: Line 751:
 </code> </code>
 {{:r:pasted:20230531-085237.png}} {{:r:pasted:20230531-085237.png}}
 +<code> 
 +> interact_plot(mod6, pred=some_col, modx=yr_rnd, geom = "line", plot.points = TRUE) 
 +</code> 
 +{{:r:pasted:20230607-084836.png}}
r/dummy_variable.txt · Last modified: 2023/06/07 08:49 by hkimscil

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki