File:Reciprocal cdf.svg

From Vigyanwiki

Original file(SVG file, nominally 360 × 288 pixels, file size: 22 KB)

This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.

Summary

Description
English: Graph showing the CDF of the reciprocal distribution for two different sets of parameters
Date
Source Own work
Author Bscan

Licensing

I, the copyright holder of this work, hereby publish it under the following licence:
Creative Commons CC-Zero This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication.
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighbouring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

import numpy as np
import matplotlib.pyplot as plt
from scipy import stats

X = np.arange(7)

plt.clf()
plt.figure(figsize=(4,3.2))
plt.axes([0.17,0.13,0.79,0.8])
ax = plt.gca()
col = {0: 'orange', 1: 'purple', 2: 'lightblue'}

a_vals = [1,2]
b_vals = [4,6]

for i,a,b in zip(range(a_vals.__len__()),a_vals,b_vals):
    X = np.arange(0, 7, 0.01)
    P = stats.reciprocal.cdf(X, a=a, b=b)
    a = plt.plot(X, P, '-', color=col[i], lw=2.5, label="a={}, b={}".format(a,b))

plt.xlabel("x")
plt.ylabel(u"P(X\N{Less-THAN OR EQUAL TO}x)")
plt.xlim(0,7)
plt.legend(frameon=False, loc='lower right')
plt.savefig("/dbfs/FileStore/Wikipedia/reciprocal_cdf.svg")

display()

Captions

Add a one-line explanation of what this file represents
Graph of the CDF of the Reciprocal distribution

Items portrayed in this file

depicts

28 June 2019

22,627 byte

288 pixel

360 pixel

image/svg+xml

8b809bd6cc9d581d1ebabfc34f9ba24b7c907d32

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current00:11, 29 June 2019Thumbnail for version as of 00:11, 29 June 2019360 × 288 (22 KB)wikimediacommons>BscanUser created page with UploadWizard

The following page uses this file:

Metadata