# ChiSquared Command

From GeoGebra Manual

- ChiSquared[ <Degrees of Freedom>, x ]
- Creates probability density function (pdf) of Chi squared distribution with the appropriate degrees of freedom.
- ChiSquared[ <Degrees of Freedom>, x, <Boolean Cumulative> ]
- If the logical value is
*true*, creates cumulative distribution function of Chi squared distribution, otherwise creates pdf of Chi squared distribution. - ChiSquared[ <Degrees of Freedom>, <Variable Value> ]
- Calculates the value of cumulative distribution function of Chi squared distribution at
*Variable Value**v*, i.e. the probability*P(X ≤ v)*where*X*is a random variable with Chi squared distribution with the appropriate degrees of freedom. **Note:**Returns the probability for a given*x*-coordinate's value (or area under the Chi squared distribution curve to the left of the given*x*-coordinate).**Example:**`ChiSquared[4, 3]`

yields , which is approximately*0.44*.