File:Skew normal cdfs.svg

From Wikimedia Commons, the free media repository

Jump to: navigation, search

Skew_normal_cdfs.svg(SVG file, nominally 720 × 540 pixels, file size: 95 KB)

[edit] Summary

Description
English: Plots of the cumulative distribution functions for several members of the skew normal family of probability distributions.
Date

1 March 2009(2009-03-01)

Source

Own work

Author

Skbkekas

Permission
(Reusing this image)

See below.

[edit] Licensing

I, the copyright holder of this work, hereby publish it under the following licenses:
GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".

Afrikaans | Alemannisch | Aragonés | العربية | Asturianu | Беларуская | Беларуская (тарашкевіца) | Български | বাংলা | ইমার ঠার/বিষ্ণুপ্রিয়া মণিপুরী | Brezhoneg | Bosanski | Català | Cebuano | Česky | Dansk | Deutsch | Ελληνικά | English | Esperanto | Español | Eesti | Euskara | فارسی | Suomi | Français | Gaeilge | Galego | עברית | Hrvatski | Magyar | Հայերեն | Bahasa Indonesia | Ido | Íslenska | Italiano | 日本語 | ქართული | ភាសាខ្មែរ | 한국어 | Kurdî / كوردی | Latina | Lëtzebuergesch | Lietuvių | 文言 | Македонски | Bahasa Melayu | Malti | Nnapulitano | Plattdüütsch | Nederlands | ‪Norsk (nynorsk)‬ | ‪Norsk (bokmål)‬ | Occitan | Polski | Português | Română | Русский | Slovenčina | Slovenščina | Shqip | Српски / Srpski | Svenska | Kiswahili | తెలుగు | ไทย | Tagalog | Türkçe | Українська | اردو | Vèneto | Tiếng Việt | Volapük | Yorùbá | 中文 | ‪中文(简体)‬ | ‪中文(繁體)‬ | +/−

Creative Commons license
Creative Commons Attribution Creative Commons Share Alike
This file is licensed under the Creative Commons Attribution ShareAlike 3.0 License. In short: you are free to share and make derivative works of the file under the conditions that you appropriately attribute it, and that you distribute it only under a license identical to this one. Official license

This licensing tag was added to this file as part of the GFDL licensing update.


Alemannisch | Беларуская (тарашкевіца) | Català | Česky | Deutsch | Deutsch (Sie-Form) | Ελληνικά | English | Español | Eesti | Suomi | Français | Hrvatski | Հայերեն | Italiano | 한국어 | Lietuvių | Македонски | Polski | Português | Português do Brasil | Русский | Svenska | ไทย | Vèneto | Tiếng Việt | +/−

Copyleft Copyleft: This work of art is free; you can redistribute it and/or modify it according to terms of the Free Art License.
You will find a specimen of this license on the site Copyleft Attitude http://artlibre.org/licence/lal/en/ as well as on other sites.

العربية | Asturianu | Беларуская (тарашкевіца) | Български | Català | Deutsch | Ελληνικά | English | Español | Eesti | Suomi | Français | Gaeilge | Galego | हिन्दी | Magyar | Հայերեն | Italiano | 日本語 | 한국어 | Kurdî / كوردی | Lietuvių | Македонски | Plattdüütsch | Nederlands | Occitan | Polski | Português | Русский | ไทย | Türkçe | Українська | Vèneto | ‪中文(简体)‬ | ‪中文(繁體)‬ | +/−

You may select the license of your choice.
##
## Python code used to generate this plot.
## Requires matplotlib, numpy, and the special functions module of scipy.
##
 
import matplotlib.pyplot as plt
import numpy as np
import scipy.special as sp
 
def dens(X, a):
    Y = 2*np.exp(-X**2/2)/np.sqrt(2*np.pi)
    Y *= sp.ndtr(a*X)
    return Y
 
def cdf(X, a):
    Y = dens(X, a)
    Y = np.cumsum(Y)*(X[1]-X[0])
    return Y
 
w = 1.5
 
X = np.arange(-3, 3, 0.01)
 
plt.clf()
 
colors = ['aqua', 'lime', 'deeppink', 'darkorange', 'blue']
B = [-4, -1, 0, 1, 4]
 
F = []
for c,b in zip(colors, B):
    Y = dens(X, b)
    f = plt.plot(X, Y, '-', color=c, lw=w)
    F.append(f)
    plt.hold(True)
 
s = ["$\\alpha=%s$" % str(b) for b in B]
 
b = plt.legend(tuple(F), tuple(s), 'upper left')
plt.ylabel("Density")
b.draw_frame(False)
 
plt.savefig("skew_normal_densities.svg")
plt.savefig("skew_normal_densities.png")
 
 
plt.clf()
 
F = []
for c,b in zip(colors, B):
    Y = cdf(X, b)
    f = plt.plot(X, Y, '-', color=c, lw=w)
    F.append(f)
    plt.hold(True)
 
b = plt.legend(tuple(F), tuple(s), 'upper left')
plt.ylabel("Cumulative probability")
b.draw_frame(False)
plt.ylim(0,1)
 
plt.savefig("skew_normal_cdfs.svg")
plt.savefig("skew_normal_cdfs.png")

File history

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

Date/TimeThumbnailDimensionsUserComment
current06:10, 1 March 2009Thumbnail for version as of 06:10, 1 March 2009720×540 (95 KB)Skbkekas (talk | contribs) ({{Information |Description={{en|1=Plots of the cumulative distributions for several members of the skew normal family of probability distributions.}} |Source=Own work by uploader |Author=Skbkekas |Date=2009-03-01 |Permission= |other_vers)

There are no pages that link to this file.

Global file usage

The following other wikis use this file: