ttest_linear_regression.Rd
추정된 회귀모형을 이용하여 각 회귀계수의 유의성을 검정한다.
ttest_linear_regression(.fit)
.fit | 회귀모형 추정 결과. |
---|
회귀계수 검정 데이터프레임.
data(biometric, package = "dmtr") fit <- fit_linear_regression(biometric, weight, c(age, height)) ttest_linear_regression(fit)#> # A tibble: 3 × 5 #> term estimate std_error t_statistic p_value #> <chr> <dbl> <dbl> <dbl> <dbl> #> 1 (Intercept) -108. 42.1 -2.57 0.0372 #> 2 age 0.329 0.0692 4.75 0.00208 #> 3 height 0.955 0.244 3.91 0.00580