File:Probit plot.svg

Summary

 The source code of this SVG is invalid due to 1+ errors.
 This W3C-invalid vector image was created with Python.
Category:Invalid SVG created with Python#2222Probit%20plot.svg
Description
English: Example plot of a probit function
Date
Source Own work based on: Probit plot.png:  by Coffee2theorems at English Wikipedia
Author Ixfd64

Source code

from matplotlib.pylab import *
from scipy.special import erfinv


def probit(p):
    return sqrt(2) * erfinv(2 * p - 1)


x_i = arange(0.0001, 0.9999, 0.001)
plot(x_i, probit(x_i), 'r')
xlabel('probability')
ylabel('probit')
grid(True)
xticks(arange(0, 11) / 10.0)
savefig('image.svg', dpi=80)

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.

Category:CC-Zero#Probit%20plot.svgCategory:Self-published work
Category:Probit function
Category:CC-Zero Category:Invalid SVG created with Python Category:Probit function Category:Self-published work