Calculate Non-Intersection Distance

calculate_distance(variable_old, variable_new, bins = 20)

Arguments

variable_old

variable from `old` data

variable_new

variable from `new` data

bins

continuous variables are discretized to `bins` intervals of equal size

Value

Non-Intersection Distance

Examples

calculate_distance(rnorm(1000), rnorm(1000))
#> [1] 0.064
calculate_distance(rnorm(1000), runif(1000))
#> [1] 0.626