From Wikipedia, the free encyclopedia
Original file (SVG file, nominally 640 × 360 pixels, file size: 39 KB)
Summary
# 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_pdf.svg"
set no title
set xrange [ -5 : 5 ]
set yzeroaxis
set xtics 1
sigma = 1.0
# normal density
n ( x) = 1.0 / ( sqrt ( 2.0 * pi ) * sigma ) * exp ( - x ** 2 / ( 2.0 * sigma ** 2 ) )
# half-normal density
hn ( x) = ( x < -0 .01 ) ? 0 : ( x < 0 ) ? 1 / 0 : ( n ( x ) + n ( - x ))
plot hn ( x ) title "half-normal density" with l lt 2 lw 3 , \
n ( x ) title "normal density" with l lt 4 lw 2 dt "-"
Licensing
I, the copyright holder of this work, hereby publish it under the following 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. https://creativecommons.org/licenses/by-sa/4.0 CC BY-SA 4.0 Creative Commons Attribution-Share Alike 4.0 true true English Add a one-line explanation of what this file represents
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time Thumbnail Dimensions User Comment
current 11:49, 30 April 2017 640 × 360 (39 KB) Nagelum User created page with UploadWizard
File usage
The following page uses this file:
Global file usage
The following other wikis use this file:
Usage on ca.wikipedia.org
Usage on fa.wikipedia.org
Usage on sw.wiktionary.org
This file contains additional information, probably added from the digital camera or scanner used to create or digitize it.
If the file has been modified from its original state, some details may not fully reflect the modified file.