Skip to content

ChiSquare

Statistical diagnostics and sums of squared normal variations; rarely used for simulation times.
Param: df (degrees of freedom) >= 1.

Category: special. Arrival: no. Delay: no. Support lower bound: 0.0.

Parameters

Parameter Default Hint
df 1.0 degrees of freedom, >= 1

Draws

With df=4, 10,000 draws from a stream seeded 0:

Mean (formula) Mean of the draws Variance of the draws
4 4.04 8.05

ChiSquare: 10,000 draws

Example

In a model file, on any block or section that takes a duration:

{"distribution": "ChiSquare", "dist_params": {"df": 4}}

In the Python builder:

nb.ChiSquare(df=4)

Used in

Guides: How do I model a correction time that grows with a positioning error?.

See also