Learn R Programming

biogram (version 1.0)

criterion_distribution: Compute criterion distribution

Description

Computes criterion distribution for feature, target under null hypothesis

Usage

criterion_distribution(target, feature, graphical.output = FALSE,
  criterion = "ig")

Arguments

target
{0,1}-valued target vector. See Details.
feature
{0,1}-valued feature vector. See Details.
graphical.output
default value is FALSE, if TRUE probability density function is plotted
criterion
the criterion used for calculations of distribution. See list of possible criterions.

Value

  • A matrix of 3 rows: [object Object],[object Object],[object Object]

Details

both target and feature vectors may contain only 0 and 1.

See Also

criterions.

Examples

Run this code
target_feature <- create_feature_target(10, 375, 15, 600)
criterion_distribution(target = target_feature[,1], feature = target_feature[,2],
graphical.output = TRUE)

Run the code above in your browser using DataLab