File:VaR graph.png
From Wikimedia Commons, the free media repository
Jump to navigation
Jump to search
Size of this preview: 800 × 449 pixels. Other resolutions: 320 × 179 pixels | 640 × 359 pixels | 1,223 × 686 pixels.
Original file (1,223 × 686 pixels, file size: 6 KB, MIME type: image/png)
File information
Structured data
Captions
DescriptionVaR graph.png | Illustration of the 10% Value at Risk with normally distibuted portfoliovalue |
Date | |
Source | Created with GNU R, see source below |
Author | Thomas Steiner |
Permission (Reusing this file) |
Thomas Steiner put it under the GFDL |
This diagram image could be re-created using vector graphics as an SVG file. This has several advantages; see Commons:Media for cleanup for more information. If an SVG form of this image is available, please upload it and afterwards replace this template with
{{vector version available|new image name}} .
It is recommended to name the SVG file “VaR graph.svg”—then the template Vector version available (or Vva) does not need the new image name parameter. |
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.http://www.gnu.org/copyleft/fdl.htmlGFDLGNU Free Documentation Licensetruetrue |
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license. | ||
| ||
This licensing tag was added to this file as part of the GFDL licensing update.http://creativecommons.org/licenses/by-sa/3.0/CC BY-SA 3.0Creative Commons Attribution-Share Alike 3.0truetrue |
R-source code
#value at risk graph quant=0.10 min=-1.7 max=4.6 mean=2.1 s=seq(min,max,length=10000) d=dnorm(s,mean=mean) q=qnorm(quant,mean=mean) sq=c(s[s<q],q,min) dq=c(d[s<q],0,0) png(filename = "VaR_graph.png", width=1300, height=800, pointsize=12) par(bg="whitesmoke") plot(s,d,type="n",xlab="Portfoliowert [in Mio. EUR]",ylab="Wahrscheinlichkeit",main="Value at Risk",xlim=range(s)*0.935) abline(h=0,col="grey") polygon(x=c(s,max,min),y=c(d,0,0),col="snow3") polygon(x=sq,y=dq,col="skyblue") text(x=(q-min)*0.93+min,y=dnorm(q,mean=mean)*0.3,label=paste(format(100*quant),"%",sep=""),col="blue",cex=1.7) lines(x=c(q,q),y=c(0,dnorm(q,mean=mean)*1.35),col="red",lwd=3) text(x=(q-min)*0.9+min,y=dnorm(q,mean=mean)*1.4,label=paste("VaR=",format(q, digits=2)," Mio EUR",sep=""),col="red",cex=1.6) lines(x=c(mean,mean)*0.9,y=c(0,dnorm(mean,mean=mean)*0.95),col="darkgrey",lwd=2) text(x=mean*0.87,y=dnorm(mean*0.9,mean=mean)*0.66,label=paste("Portfoliowert heute: ",mean*0.9," Mio EUR",sep=""),col="black",srt=90) dev.off()
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 18:37, 12 October 2007 | 1,223 × 686 (6 KB) | Skies (talk | contribs) | {{Information| |Description = illustration of the 10% Value at Risk with normally distibuted portfoliovalue |Source = craeted with GNU R, see source below |Date = 27 may 2006 |Author = Thomas Steiner |Permission = [[:de:Benutzer:Thi | |
11:29, 27 May 2006 | 1,300 × 800 (10 KB) | Thire (talk | contribs) | {{Information| |Description = illustration of the 10% Value at Risk with normally distibuted portfoliovalue |Source = craeted with GNU R, see source below |Date = 27 may 2006 |Author = Thomas Steiner |Permission = [[:de:Benutzer:Thi |
You cannot overwrite this file.
File usage on Commons
The following page uses this file:
File usage on other wikis
The following other wikis use this file:
- Usage on de.wikibooks.org
- Usage on ga.wikipedia.org