Chi-Squared (Non-Central) Moments VI
- Updated2025-07-30
- 2 minute(s) read
Returns the expected mean and variance of the random variate X, where X describes the selected distribution type. You must manually select the polymorphic instance to use.

Inputs/Outputs
k
—
k specifies the number of degrees of freedom and must be greater than 0.
d
—
d specifies the noncentrality parameter, which must be greater than 0.
mean
—
mean is the expected mean of a chi-squared variate with the given parameter k.
variance
—
variance is the expected variance of a chi-squared variate with the given parameter k.
error
—
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster. |
Examples
Refer to the following example files included with LabVIEW.
- labview\examples\Mathematics\Probability and Statistics\Display Continuous Probability Distributions.vi
k
—
d
—
mean
—
error
—