select_variables_stepwise | R Documentation |
단계적 선택방법을 통해 독립변수를 선택한다.
select_variables_stepwise( .data, .yvar, .xvar, .alpha_in = 0.05, .alpha_out = 0.1, .maxit = 100L, .verbose = TRUE )
.data |
관측 데이터 프레임. |
.yvar |
종속변수. |
.xvar |
완전모형에 속할 독립변수. 독립변수가 여러 개일 때는 벡터 형태로 제공한다. (e.g. |
.alpha_in |
변수 선택 단계에서 적용할 유의수준. Default: 0.05 |
.alpha_out |
변수 제거 단계에서 적용할 유의수준. |
.maxit |
최대 iteration 수. Default: 100. |
.verbose |
각 단계의 선택/제거 변수를 화면에 출력할 지 여부. Default: |
최종 선택된 독립변수 이름 벡터.
data(biometric, package = "dmtr") select_variables_stepwise(biometric, weight, c(age, height))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.