Jump to content

File:TnormCDF.png

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia

Original file (1,200 × 1,200 pixels, file size: 17 KB, MIME type: image/png)

Summary

Description
English: The cumulative distribution function of the truncated normal distribution

Source

The following is R code:

ptnorm <- function(x,mu=0,sd=1,a=-Inf,b=Inf) {
  (pnorm(x,mu,sd) - pnorm(a,mu,sd)) / (pnorm(b,mu,sd) - pnorm(a,mu,sd))
}
x <- seq(-10,10,len=200)
y1 <- ptnorm(x,mu=-8,sd=2 ,a=-10,b=10)
y2 <- ptnorm(x,mu= 0,sd=2 ,a=-10,b=10)
y3 <- ptnorm(x,mu= 9,sd=10,a=-10,b=10)
y4 <- ptnorm(x,mu= 0,sd=10,a=-10,b=10)
bitmap(file="tnormCDF.png",type="png256",width=4,height=4,res=300,pointsize=12)
par(mar=c(3,3,1,1))
par(mgp=c(1.8,0.7,0))
plot(range(x),c(0,1.01),type="n",xlab="x",ylab="cumulative distribution function")
lines(x,y1,lwd=3,lty=1)
lines(x,y2,lwd=3,lty=2,col="blue")
lines(x,y3,lwd=3,lty=3,col="red")
lines(x,y4,lwd=3,lty=4,col="orange")
dev.off()
Date (UTC)
Source I (018 (talk)) created this work entirely by myself.
Author 018 (talk)

Licensing

O18 at English Wikipedia, the copyright holder of this work, hereby publishes it under the following license:
w:en:Creative Commons
attribution
This file is licensed under the Creative Commons Attribution 3.0 Unported license.
Attribution: O18 at English Wikipedia
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.

Original upload log

Transferred from en.wikipedia to Commons by FSII using CommonsHelper.

The original description page was here. All following user names refer to en.wikipedia.
  • 2011-11-22 17:43 O18 1200×1200× (17678 bytes)
  • 2011-11-22 17:37 O18 1200×1200× (17267 bytes)
  • 2010-07-31 00:44 O18 1200×1200× (17208 bytes) {{Information |Description = The cumulative density function of the truncated normal distribution |Source = I (~~~) created this work entirely by myself. |Date = ~~~~~ |Author = ~~~ |other_versions = }}

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

31 July 2010

File history

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

Date/TimeThumbnailDimensionsUserComment
current01:25, 30 November 2011Thumbnail for version as of 01:25, 30 November 20111,200 × 1,200 (17 KB)File Upload Bot (Magnus Manske) {{BotMoveToCommons|en.wikipedia|year={{subst:CURRENTYEAR}}|month={{subst:CURRENTMONTHNAME}}|day={{subst:CURRENTDAY}}}} {{Information |Description={{en|The cumulative distribution function of the truncated normal distribution<br/> == Source == The follow

Global file usage

The following other wikis use this file:

Metadata