statsmodels.distributions.copula.api.IndependenceCopula.tau_simulated#

IndependenceCopula.tau_simulated(nobs=1024, rng=None)#

Kendall’s tau based on simulated samples.

Parameters:
nobsint, optional

Number of samples to generate from the copula.

rngint, array_like of int, numpy.random.Generator, or numpy.random.RandomState, optional

If rng is None, a new Generator is created using fresh entropy from the operating system. If rng is an int or array of ints, a new Generator is created, seeded with rng. If rng is already a Generator or RandomState instance, that instance is used.

Returns:
taufloat

Kendall’s tau.