TFSurv: Survival function of truncated central F distribution

Description Usage Arguments Details Value References

View source: R/trunc_distr.R


This function returns the upper tail probability of a truncated central F distribution at quantile q.


TFSurv(q, df1, df2, E, approx = FALSE)



the quantile.

df1, df2

the degrees of freedom.


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


should the approximation algorithm be used? Default is FALSE, where the approximation is not used in the first place. But when the result is wacky, the approximation will be used.


Let X be a central F random variable with df1, df2 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.

Peizer, David B., and John W. Pratt. "A normal approximation for binomial, F, beta, and other common, related tail probabilities, I." Journal of the American Statistical Association 63.324 (1968): 1416-1456.

shuxiaoc/outference documentation built on Dec. 5, 2017, 3:48 a.m.