Skip to content

Action: TD_CHISQUARED

Module ves
Description Usage
Chi-squared distribution (static). used in 0 tutorialsused in 0 eggs

Details and examples

Chi-squared distribution (static).

Employ a target distribution given by a chi-squared distribution that is defined as

where is the minimum of the distribution that is defined on the interval , the parameter (given as a positive integer larger than 2) determines how far the peak of the distribution is from the minimum (known as the "degrees of freedom"), and the parameter determines the broadness of the distribution.

The minimum is given using the MINIMUM keyword, the parameter is given using the KAPPA keyword, and the parameter is given using the SIGMA keyword.

This target distribution action is only defined for one dimension, for multiple dimensions it should be used in combination with the TD_PRODUCT_DISTRIBUTION action.

Examples

Chi-squared distribution with , , and

Click on the labels of the actions for more information on what each action computes
tested on2.11
td: TD_CHISQUAREDChi-squared distribution (static). More details  MINIMUMThe minimum of the chi-squared distribution=-10.0  SIGMAThe sigma parameter of the chi-squared distribution given as a positive number=2.0  KAPPAThe k parameter of the chi-squared distribution given as positive integer larger than 2=2

The Chi-squared distribution is only defined for one dimension so for multiple dimensions we have to use it in combination with the TD_PRODUCT_DISTRIBUTION action as shown in the following example where we have a Chi-squared distribution for argument 1 and uniform distribution for argument 2

Click on the labels of the actions for more information on what each action computes
tested on2.11
td_chisq: TD_CHISQUAREDChi-squared distribution (static). More details  MINIMUMThe minimum of the chi-squared distribution=10.0  SIGMAThe sigma parameter of the chi-squared distribution given as a positive number=2.0  KAPPAThe k parameter of the chi-squared distribution given as positive integer larger than 2=2

td_uni: TD_UNIFORMUniform target distribution (static). More details

td_pd: TD_PRODUCT_DISTRIBUTIONTarget distribution given by a separable product of one-dimensional distributions (static or dynamic). More details DISTRIBUTIONSLabels of the one-dimensional target distribution actions for each argument to be used in the product distribution=td_chisq,td_uni

Full list of keywords

The following table describes the keywords and options that can be used with this action

Keyword Type Default Description
MINIMUM compulsory none The minimum of the chi-squared distribution
SIGMA compulsory none The sigma parameter of the chi-squared distribution given as a positive number
KAPPA compulsory none The k parameter of the chi-squared distribution given as positive integer larger than 2
WELLTEMPERED_FACTORThis keyword do not have examples optional not used Broaden the target distribution such that it is taken as [p(s)]^(1/gamma) where gamma is the well tempered factor given here
SHIFT_TO_ZEROThis keyword do not have examples optional false Shift the minimum value of the target distribution to zero
NORMALIZEThis keyword do not have examples optional false Renormalized the target distribution over the intervals on which it is defined to make sure that it is properly normalized to 1