File:TnormCDF.svg
Appearance
Size of this PNG preview of this SVG file: 360 × 360 pixels. Other resolutions: 240 × 240 pixels | 480 × 480 pixels | 768 × 768 pixels | 1,024 × 1,024 pixels | 2,048 × 2,048 pixels.
Original file (SVG file, nominally 360 × 360 pixels, file size: 47 KB)
✓ The source code of this SVG is valid.
Summary
[edit]Description |
The cumulative distribution function of the truncated normal distribution |
---|---|
Source | |
Date |
00:44, 31 July 2010 (UTC) |
Author | |
Permission (Reusing this file) |
See below.
|
Licensing
[edit]I, the copyright holder of this work, hereby publish it under the following license:
| This work is licensed under the Creative Commons Attribution 3.0 License. |
Source
[edit]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) svg(file="tnormCDF.svg",width=4,height=4,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()
This file is a candidate to be copied to Wikimedia Commons.
Any user may perform this transfer; refer to Wikipedia:Moving files to Commons for details. If this file has problems with attribution, copyright, or is otherwise ineligible for Commons, then remove this tag and DO NOT transfer it; repeat violators may be blocked from editing. Other Instructions
| |||
|
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 20:57, 26 November 2011 | 360 × 360 (47 KB) | O18 (talk | contribs) | == Summary == {{Information |Description = The cumulative distribution function of the truncated normal distribution |Source = I (0<sup>18</sup> (talk)) created this work entirely by myself. |Date = 0 |
You cannot overwrite this file.
File usage
The following page uses this file: