Jump to content

File:Chi-Squared-(nonCentral)-cdf.png

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

Original file (750 × 750 pixels, file size: 10 KB, MIME type: image/png)

Description cummulative distribution functions of non central-chi squared distributed random variables with different degrees of freedom and different non-centrality parameters.
Date
Source created with R, see source below
Author Thomas Steiner
Permission
(Reusing this file)
Thomas Steiner put it under the CC-by-SA 2.5.
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 2.5 Generic 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.

R-source code:

 df=c(2,2,2,4,4,4)
 ncp=c(1,2,3,1,2,3)
 cols=c(terrain.colors(length(df))[1:3],heat.colors(length(df))[1:3] )
 lw=4
 x=seq(0,7.8,length=700)
 png(filename="Chi-Squared-(nonCentral)-cdf.png", width=750, height=750, pointsize=12)
 plot(x,pchisq(q=x,df=df[1],ncp=ncp[1]),type="l",lwd=lw,col=cols[1],xlab="",ylab="",ylim=c(0,1),cex.axis=1.5)
 lines(x,pchisq(q=x,df=df[2],ncp=ncp[2]),col=cols[2],lwd=lw)
 lines(x,pchisq(q=x,df=df[3],ncp=ncp[3]),col=cols[3],lwd=lw)
 lines(x,pchisq(q=x,df=df[4],ncp=ncp[4]),col=cols[4],lwd=lw)
 lines(x,pchisq(q=x,df=df[5],ncp=ncp[5]),col=cols[5],lwd=lw)
 lines(x,pchisq(q=x,df=df[6],ncp=ncp[6]),col=cols[6],lwd=lw)
 legend(x="bottomright",inset=0.01,
   legend=c(expression(list(k==2, lambda==1)),
            expression(list(k==2, lambda==2)),
            expression(list(k==2, lambda==3)),
            expression(list(k==4, lambda==1)),
            expression(list(k==4, lambda==2)),
            expression(list(k==4, lambda==3))),
   col=cols,lwd=lw+2)
 dev.off()
 
This chart was created with R.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

January 2007

image/png

07d84d386f05c1355aaead658f56d510e071e8ad

9,947 byte

750 pixel

750 pixel

File history

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

Date/TimeThumbnailDimensionsUserComment
current16:42, 3 January 2007Thumbnail for version as of 16:42, 3 January 2007750 × 750 (10 KB)Thire{{Information| |Description = cummulative distribution functions of non central-chi squared distributed random variables with different degrees of freedom and different non-centrality parameters. |Source = created with R, see source below |Date = jan 200

The following page uses this file:

Global file usage

The following other wikis use this file: