indep_sim¶
-
hyppo.tools.
indep_sim
(sim, n, p, **kwargs)¶ 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 :mod:`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 (
ndarray
) -- Simulated data matrices.