qgchisq | R Documentation |
A function to produce a graph of a Chi Squared distribution with regions shaded according to a specified probability.
qgchisq(prob, df = 1)
prob |
The tail probability value to define the region to be shaded on the graph and the corresponding quantile to be displayed. |
df |
The |
Specifying extremely high or low probabilities may not yield visible shaded areas if the regions are beyond the limits of the X axis scale of the graph.
The scaling on plots of Chi Squared Distributions of varying degrees
of freedom requires considerable adjustment. When df=1, qgchisq
returns a two-paneled figure. The plot on the left is a fairly full scale
plot of the distribution without shading of a tail region. The plot on the
right has axes truncated so that scale expansion will permit visualization
of the relevant area under the curve.
Also note that the qgchisq
function only displays upper tail regions since
most inference with the Chi Squared distribution only requires upper tail
evaluation. The lower tail probability is 1 minus the returned value.
Bruce Dudek bruce.dudek@albany.edu
pgchisq
qgchisq(.05,df=1)
qgchisq(.05,df=2)
qgchisq(.05,df=25)
qgchisq(.05,df=250)
qgchisq(.01,df=1)
qgchisq(.01,df=2)
qgchisq(.01,df=25)
qgchisq(.01,df=250)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.