condi_indep_sim

hyppo.tools.condi_indep_sim(sim, n, p, random_state=None, **kwargs)

Conditional independence simulation generator.

Takes a simulation and the required parameters, and outputs the simulated data matrices.

Parameters
  • sim (str) -- The name of the simulation (from the hyppo.tools module) that is to be rotated.

  • n (int) -- The number of samples desired by the simulation (>= 5).

  • p (int) -- The number of dimensions desired by the simulation (>= 1).

  • **kwargs -- Additional keyword arguements for the desired simulation.

Returns

x,y, z (ndarray of float) -- Simulated data matrices.