File:Loglogisticcdf.svg

Original file(SVG file, nominally 485 × 425 pixels, file size: 64 KB)

Captions

Captions

Add a one-line explanation of what this file represents

Summary edit

Description
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)
 
W3C-validity not checked.
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 edit

Qwfp at English Wikipedia, the copyright holder of this work, hereby publishes it under the following licenses:
w:en:Creative Commons
attribution share alike
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.
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.
You may select the license of your choice.

Original upload log edit

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= }}

File history

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

Date/TimeThumbnailDimensionsUserComment
current17:06, 25 September 2011Thumbnail for version as of 17:06, 25 September 2011485 × 425 (64 KB)Krishnavedala (talk | contribs)created using python, with valid SVG, corrected characters.
13:36, 4 March 2009Thumbnail for version as of 13:36, 4 March 20091,300 × 975 (73 KB)BotMultichill (talk | contribs) {{BotMoveToCommons|en.wikipedia|year={{subst:CURRENTYEAR}}|month={{subst:CURRENTMONTHNAME}}|day={{subst:CURRENTDAY}}}} {{Information |Description={{en|log-logistic distribution function<br/> == Source code == Made in en:gnuplot 4.2.2: cdf(x,a,b)

There are no pages that use this file.

File usage on other wikis

The following other wikis use this file: