File:Skew normal densities.svg
From Wikimedia Commons, the free media repository
Jump to navigation
Jump to search
Size of this PNG preview of this SVG file: 720 × 540 pixels. Other resolutions: 320 × 240 pixels | 640 × 480 pixels | 1,024 × 768 pixels | 1,280 × 960 pixels | 2,560 × 1,920 pixels.
Original file (SVG file, nominally 720 × 540 pixels, file size: 91 KB)
File information
Structured data
Captions
Summary
[edit]DescriptionSkew normal densities.svg |
English: Plot of densities for several members of the skew normal family. |
Date | |
Source | Own work |
Author | Skbkekas |
SVG development InfoField | This plot was created with Matplotlib. |
Source code InfoField | Python code##
## Python code to generate this plot.
## Requires numpy, matplotlib, and the special functions module from 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$" % 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")
|
Licensing
[edit]I, the copyright holder of this work, hereby publish it under the following licenses:
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.http://www.gnu.org/copyleft/fdl.htmlGFDLGNU Free Documentation Licensetruetrue |
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license. | ||
| ||
This licensing tag was added to this file as part of the GFDL licensing update.http://creativecommons.org/licenses/by-sa/3.0/CC BY-SA 3.0Creative Commons Attribution-Share Alike 3.0truetrue |
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 Copyleft Attitude site as well as on other sites. http://artlibre.org/licence/lal/enFALFree Art Licensefalsetrue |
You may select the license of your choice.
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 06:05, 1 March 2009 | 720 × 540 (91 KB) | Skbkekas (talk | contribs) | {{Information |Description={{en|1=Plot of densities for several members of the skew normal family.}} |Source=Own work by uploader |Author=Skbkekas |Date=2009-03-01 |Permission= |other_versions= }} <!--{{ImageUpload|full}}--> |
You cannot overwrite this file.
File usage on Commons
There are no pages that use this file.
File usage on other wikis
The following other wikis use this file:
- Usage on ca.wikipedia.org
- Usage on en.wikipedia.org
- Usage on es.wikipedia.org
- Usage on fr.wikipedia.org
- Usage on pt.wikipedia.org
- Distribuição normal
- Usuário(a):MCarrera (NeuroMat)/Distribuição de probabilidade
- Usuário(a):Gildemar Felix/Distribuição de probabilidade
- Usuário(a):MCarrera (NeuroMat)/Distribuição de probabilidade(leitura de fórmulas)
- Usuário(a):MCarrera (NeuroMat)/Testes/Distribuição de probabilidade
- Usuário(a):MCarrera (NeuroMat)/Testes/Distribuição de probabilidade (fórmulas)
- Usuário(a):MCarrera (NeuroMat)/Testes/Distribuição normal (fórmulas)
- Usuário:Gildemar Felix/Testes/Distribuição de probabilidade
- Usage on te.wikipedia.org
Metadata
This file contains additional information such as Exif metadata which may have been added by the digital camera, scanner, or software program used to create or digitize it. If the file has been modified from its original state, some details such as the timestamp may not fully reflect those of the original file. The timestamp is only as accurate as the clock in the camera, and it may be completely wrong.
Width | 576pt |
---|---|
Height | 432pt |