# Author: Ika
# Date: 08/16/2014
# Note that Inkscape may be applied to address the display problem of the Greek letters in the legend.
set term svg size 800,600 enhanced font 'Arial, 24'
set output 'balding_nichols_cdf.svg'
set samples 500
set xrange [0:1.0]
set yrange [0:1.0]
set xtics 0.1
set ytics 0.2
set xzeroaxis lt -1 lc rgb "black" lw 1
set yzeroaxis lt -1 lc rgb "black" lw 1
# Draw the Balding-Nichols Model's pdf
set key left top
F(x,a,b) = ibeta(a,b,x)
plot F(x, 1.0, 1.0) t "a=1, b=1" lc rgb "purple" lw 5,\
F(x, 1.0, 2.0) t "a=1, b=2" lc rgb "red" lw 5,\
F(x, 2.0, 1.0) t "a=2, b=1" lc rgb "black" lw 5,\
F(x, 3.0, 2.0) t "a=10, b=2" lc rgb "blue" lw 5,\
F(x,4.0, 1.0) t "a=20, b=1" lc rgb "green" lw 5,\
F(x,4.0, 4.0) t "a=20, b=20" lc rgb "grey" lw 5
set term x11
set output
Licensing
I, the copyright holder of this work, hereby publish it under the following license:
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.