File:Probit plot.svg

Summary

Description
English: Example plot of a probit function
Date
Source Own work using code from File: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.svg
Category:Self-published work Category:Probit function
Category:CC-Zero Category:Pages using deprecated source tags Category:Probit function Category:Self-published work