Information value and likelihood ratio chi square test for initial variable/predictor selection. Currently avialable for categorical predictors only.
blr_bivariate_analysis(data, response, ...) # S3 method for default blr_bivariate_analysis(data, response, ...)
data | A |
---|---|
response | Response variable; column in |
... | Predictor variables; columns in |
A tibble with the following columns:
Variable name
Information value
Likelihood ratio statisitc
Likelihood ratio degrees of freedom
Likelihood ratio p value
Other bivariate analysis procedures:
blr_segment_dist()
,
blr_segment_twoway()
,
blr_segment()
,
blr_woe_iv_stats()
,
blr_woe_iv()
blr_bivariate_analysis(hsb2, honcomp, female, prog, race, schtyp) #> Bivariate Analysis #> --------------------------------------------------------------------- #> Variable Information Value LR Chi Square LR DF LR p-value #> --------------------------------------------------------------------- #> female 0.10 3.9350 1 0.0473 #> prog 0.43 16.1450 2 3e-04 #> race 0.33 11.3694 3 0.0099 #> schtyp 0.00 0.0445 1 0.8330 #> ---------------------------------------------------------------------