pdfChiSquare

Syntax

pdfChiSquare(df, X)

Arguments

df is a numeric scalar representing the degrees of freedom.

X is a numeric scalar or vector representing the points at which to compute the probability density.

Details

Calculate the probability density of the specified chi-square distribution at X.

Its functionality and usage are the same as scipy.stats.chi2.pdf.

Examples

pdfChiSquare(df=3, X=[1,2,3])
// output: [0.241970724519143,0.207553748710297,0.154180329803769]