The function generates an interactive HTML report using Standard Person Query data as an input. The report contains a full Information Value analysis, a data exploration technique that helps determine which columns in a data set have predictive power or influence on the value of a specified dependent variable.
IV_report(
data,
predictors = NULL,
outcome,
bins = 5,
max_var = 9,
path = "IV report",
timestamp = TRUE
)
A Standard Person Query dataset in the form of a data frame.
A character vector specifying the columns to be used as predictors. Defaults to NULL, where all numeric vectors in the data will be used as predictors.
A string specifying a binary variable, i.e. can only contain the values 1 or 0.
Number of bins to use in Information::create_infotables()
,
defaults to 10.
Numeric value to represent the maximum number of variables to show on plots.
Pass the file path and the desired file name, excluding the file
extension. For example, "IV report"
.
Logical vector specifying whether to include a timestamp in the file name. Defaults to TRUE.
An HTML report with the same file name as specified in the arguments is generated in the working directory. No outputs are directly returned by the function.
Below is an example on how to run the report.
Other Reports:
capacity_report()
,
coaching_report()
,
collaboration_report()
,
connectivity_report()
,
generate_report()
,
meeting_tm_report()
,
read_preamble()
,
subject_validate_report()
,
validation_report()
,
workpatterns_report()
Other Variable Association:
IV_by_period()
,
create_IV()
,
plot_WOE()
Other Information Value:
IV_by_period()
,
create_IV()
,
plot_WOE()