Jump to content

File:Reciprocal cdf.svg

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia

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

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 license:
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 neighboring 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

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
current18:41, 28 June 2019Thumbnail for version as of 18:41, 28 June 2019360 × 288 (22 KB)BscanUser created page with UploadWizard

The following page uses this file:

Global file usage

The following other wikis use this file:

Metadata