# pdfChiSquare {#pdfChiSquare}

## Syntax {#Syntax.1 .section}

`pdfChiSquare(df, X)`

## Arguments {#Arguments.1 .section}

**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 {#Details.1 .section}

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 {#Examples.1 .section}

``` {#codeblock_dsl_5qr_z1c}
pdfChiSquare(df=3, X=[1,2,3])
// output: [0.241970724519143,0.207553748710297,0.154180329803769]
```

**Parent topic:**[Functions](../../Functions/category.md)

