statsmodels.distributions.copula.api.FrankCopula.plot_scatter#
- FrankCopula.plot_scatter(sample=None, nobs=500, rng=None, ax=None)#
Sample the copula and plot.
- Parameters:
- samplearray_like,
optional The sample to plot. If not provided (the default), a sample is generated.
- nobs
int,optional Number of samples to generate from the copula.
- rng{
None,int, array_like[int],numpy.random.Generator,numpy.random.RandomState},optional If rng is None, a new
Generatoris created using fresh entropy from the operating system. If rng is an int or array of ints, a newGeneratoris created, seeded with rng. If rng is already aGeneratororRandomStateinstance, that instance is used.- ax
AxesSubplot,optional If given, this subplot is used to plot in instead of a new figure being created.
- samplearray_like,
- Returns:
- fig
Figure If ax is None, the created figure. Otherwise the figure to which ax is connected.
- samplearray_like (
n,d) Sample from the copula.
- fig