Loglogisticcdf.svg
Size of this PNG preview of this SVG file:
485 × 425 pixels
.
Other resolutions:
274 × 240 pixels
|
548 × 480 pixels
|
876 × 768 pixels
|
1,169 × 1,024 pixels
|
2,337 × 2,048 pixels
.
Summary
Description Loglogisticcdf.svg |
English:
log-logistic distribution function.
|
Date |
13 February 2008 (original upload date) ( Original text: 2008-02-09 ) |
Source | Own work ( Original text: self-made ) |
Author | Qwfp ( talk ) |
Source code using en:gnuplot 4.2.2: |
---|
cdf(x,a,b) = (x/a)**b/(1+(x/a)**(b))
set samples 1001
set terminal svg enhanced size 1300 975 linewidth 5 font "Times,36"
set output "loglogisticcdf.svg"
#set terminal windows color enhanced
set ytics 0.5
f(x,y,z) = cdf(x,y,z)
set key top left reverse Left
plot [0:2] [0:1] \
f(x, 1, .5) title "1/2", \
f(x, 1, 1) title "1", \
f(x, 1, 2) title "2", \
f(x, 1, 4) title "4", \
f(x, 1, 8) title "8"
set output
|
Source code for python : |
---|
from numpy import *
from matplotlib.pyplot import *
from mpl_toolkits.axes_grid.axislines import SubplotZero
cdf = lambda a,b,x: 1./ (1. + (x/a)**(-b) )
fig = figure(figsize=(6,5))
ax = SubplotZero(fig,111)
fig.add_subplot(ax)
ax.grid(True)
ax.minorticks_on()
x = linspace(0,2)
B = [1.,2.,4.,8.]
ax.plot(x,cdf(1.,.5,x),lw=1.5,label=r'$\beta=1/2$')
for b in B:
ax.plot(x,cdf(1.,b,x),lw=1.5,label=r'$\beta=%d$'%b)
ax.set_ylim(0,1)
ax.set_xlim(0,2)
ax.legend(loc='upper left',frameon=False)
ax.set_yticks(arange(0,1.1,.25))
ax.set_yticklabels((r'0',r'0.25',r'0.5',r'0.75',r'1'))
ax.set_xticks((0,.5,1,1.5,2))
ax.set_xticklabels((r'0',r'0.5',r'1',r'1.5',r'2'))
ax.set_xlabel(r'x $-\!\rightarrow$')
fig.savefig("Loglogisticcdf.svg",bbox_inches="tight",pad_inches=.15)
|
Licensing
Qwfp
at
English Wikipedia
, the copyright holder of this work, hereby publishes it under the following licenses:
This file is licensed under the
Creative Commons
Attribution-Share Alike 3.0 Unported
license.
Attribution:
Qwfp
at
English Wikipedia
-
You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
-
Under the following conditions:
- attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
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.html GFDL GNU Free Documentation License true true |
You may select the license of your choice.
Original upload log
The original description page was
here
. All following user names refer to en.wikipedia.
- 2008-02-13 12:15 Qwfp 1300×975× (74524 bytes) {{Information |Description=log-logistic distribution function |Source=self-made |Date=2008-02-13 |Location= |Author=~~~ |Permission= |other_versions= }}
- 2008-02-09 18:30 Qwfp 600×480× (73664 bytes) {{Information |Description=log-logistic distribution function |Source=self-made |Date=2008-02-09 |Location= |Author=~~~ |Permission= |other_versions= }}