Help for this page
Select Code to Download
Select
or
download this
sub expit { my $x = shift; 1.0/(1.0 + exp(-$x)); }