Description Usage Arguments Details Value References

This function returns the upper tail probability of a truncated central chi-squared distribution
at quantile `q`

.

1 | ```
TChisqSurv(q, df, E, approx = FALSE)
``` |

`q` |
the quantile. |

`df` |
the degree of freedom. |

`E` |
the truncation set, an "Intervals" object or a matrix where rows represents a union of disjoint intervals. |

`approx` |
should the approximation algorithm be used? Default is |

Let *X* be a central chi-squared random variable with `df`

degrees of freedom. Truncating
*X* to the set *E* is equivalent to conditioning on *{X \in E}*. So this function
returns *P(X ≥ q | X \in E)*.

This function returns the value of the survival function evaluated at quantile `q`

.

Bryc, Wlodzimierz. "A uniform approximation to the right normal tail integral." Applied mathematics and computation 127.2 (2002): 365-374.

Canal, Luisa. "A normal approximation for the chi-square distribution." Computational statistics & data analysis 48.4 (2005): 803-808.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.