powered by
Computes conditional mutual information I(x_1; x_2 | x_3, x_4) using the specified number of bins and spline order.
getCMIBiCondi(x_1, x_2, x_3, x_4, bin = 6, sp_order = 2)
A numeric value representing the bivariate conditional mutual information (CMI).
A numeric vector for the first variable.
A numeric vector for the second variable. Must match `x_1` length.
A numeric vector for the first condition variable. Must match `x_1` length.
A numeric vector for the second condition variable. Must match `x_1` length.
An integer specifying the number of bins. Default is 6.
An integer specifying the spline order. Must be less than `bin`. Default is 2.
x_1 <- rnorm(100) x_2 <- rnorm(100) x_3 <- rnorm(100) x_4 <- rnorm(100) getCMIBiCondi(x_1, x_2, x_3, x_4)
Run the code above in your browser using DataLab