ChiSquareRandomVariable - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

All Products    Maple    MapleSim


Student[Statistics]

  

ChiSquareRandomVariable

  

Chi-square random variable

 

Calling Sequence

Parameters

Description

Examples

References

Compatibility

Calling Sequence

ChiSquareRandomVariable(nu)

Parameters

nu

-

first parameter

Description

• 

The chi-square random variable is a continuous probability random variable with probability density function given by:

ft=0t<0tν21&ExponentialE;t22ν2Γν2otherwise

  

subject to the following conditions:

0<ν

• 

The ChiSquare variate with nu degrees of freedom is equivalent to the Gamma variate with scale 2 and shape nu/2:  ChiSquare(nu) ~ Gamma(2,nu/2).

• 

The ChiSquare variate is related to the FRatio variate by the formula FRatio(nu,omega) ~ (ChiSquare(nu)*omega)/(ChiSquare(omega)*nu)

• 

The ChiSquare variate is related to the Normal variate and the StudentT variate by the formula StudentT(nu) ~ Normal(0,1)/sqrt(ChiSquare(nu)/nu)

Examples

withStudentStatistics&colon;

XChiSquareRandomVariableν&colon;

PDFX&comma;u

0u<0uν21&ExponentialE;u22ν2Γν2otherwise

(1)

PDFX&comma;0.5

0.77880078310.50.5000000000ν1.2.0.5000000000νΓ0.5000000000ν

(2)

MeanX

ν

(3)

VarianceX

2ν

(4)

YChiSquareRandomVariable3&colon;

PDFY&comma;x&comma;output=plot

CDFY&comma;x

0x<0122x&ExponentialE;x22+πerfc2x22πotherwise

(5)

CDFY&comma;6&comma;output=plot

References

  

Evans, Merran; Hastings, Nicholas; and Peacock, Brian. Statistical Distributions. 3rd ed. Hoboken: Wiley, 2000.

  

Johnson, Norman L.; Kotz, Samuel; and Balakrishnan, N. Continuous Univariate Distributions. 2nd ed. 2 vols. Hoboken: Wiley, 1995.

  

Stuart, Alan, and Ord, Keith. Kendall's Advanced Theory of Statistics. 6th ed. London: Edward Arnold, 1998. Vol 1: Distribution Theory.

Compatibility

• 

The Student[Statistics][ChiSquareRandomVariable] command was introduced in Maple 18.

• 

For more information on Maple 18 changes, see Updates in Maple 18.

See Also

Student

Student[Statistics]

Student[Statistics][ChiSquareRandomVariable]

Student[Statistics][RandomVariable]