File:Half normal cdf.svg

Original file (SVG file, nominally 640 × 360 pixels, file size: 39 KB)

Summary

Description
English: Cumulative distribution function (cdf) of a half-normal random variable with $sigma=1$
Date
Source Own work
Author Nagelum
# requires gnuplot 5 or higher

set terminal svg enhanced size 640 360
set samples 1001  # high quality
set border 31 linewidth .3 # thin border
set output "half_normal_cdf.svg"

set notitle
set xrange [-5:5]
set yzeroaxis
set xtics 1

cdf_normal(x,m,s)=0.5+0.5*erf((x-m)/s/sqrt(2.0))

sigma=1.0
mu=0.0

cdf_fn(x)= (x<0) ? 0 : cdf_normal(x,mu,sigma)-cdf_normal(-x,mu,sigma)

plot    cdf_fn(x) title "half-normal cdf"  with l lt 2 lw 3 , \
	cdf_normal(x,mu,sigma) title "normal cdf" with l lt 4 lw 2 dt "-"

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
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.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

30 April 2017

File history

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

Date/TimeThumbnailDimensionsUserComment
current11:49, 30 April 2017Thumbnail for version as of 11:49, 30 April 2017640 × 360 (39 KB)NagelumUser created page with UploadWizard

The following page uses this file:

Global file usage

The following other wikis use this file:

Metadata