logarithmic

hyppo.tools.logarithmic(n, p, noise=False)

Logarithmic simulation.

Logarithmic (X,Y)Rp×Rp: ϵN(0,Ip),

XN(0,Ip)Y|d|=2log2(|X|d||)+3κϵ|d| for d=1,...,p
Parameters
  • n (int) -- The number of samples desired by the simulation (>= 5).

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

  • noise (bool, default: False) -- Whether or not to include noise in the simulation.

Returns

x,y (ndarray) -- Simulated data matrices. x` and ``y have shapes (n, p) and (n, p) where n is the number of samples and p is the number of dimensions.