# qchisqAppr

From DPQ v0.4-2
0th

Percentile

##### Compute Approximate Quantiles of the Chi-Squared Distribution

Compute quantiles (inverse distribution values) for the chi-squared distribution. using Johnson,Kotz,.. ............TODO.......

Keywords
distribution
##### Usage

qchisqKG    (p, df, lower.tail = TRUE, log.p = FALSE)
qchisqWH    (p, df, lower.tail = TRUE, log.p = FALSE)
qchisqAppr  (p, df, lower.tail = TRUE, log.p = FALSE, tol = 5e-7)
qchisqAppr.R(p, df, lower.tail = TRUE, log.p = FALSE, tol = 5e-07,
maxit = 1000, verbose = getOption("verbose"), kind = NULL)
##### Arguments
p

vector of probabilities.

df

degrees of freedom $$> 0$$, maybe non-integer; must have length 1.

lower.tail, log.p

logical, see, e.g., qchisq(); must have length 1.

tol

non-negative number, the convergence tolerance

maxit

the maximal number of iterations

verbose

logical indicating if the algorithm should produce “monitoring” information.

kind

the kind of approximation; if NULL, the default, the approximation chosen depends on the arguments; notably it is chosen separately for each p. Otherwise, it must be a character string. The main approximations are Wilson-Hilferty versions, when the string contains "WH". More specifically, it must be one of the strings

"chi.small"

particularly useful for small chi-squared values p;... ...

"WH"

... ...

"p1WH"

... ...

"WHchk"

... ...

"df.small"

particularly useful for small degrees of freedom df... ...

##### Value

...

qchisq. Further, our approximations to the non-central chi-squared quantiles, qnchisqAppr

• qchisqKG
• qchisqWH
• qchisqAppr
• qchisqAppr.R
##### Examples
# NOT RUN {
## TODO
# }

Documentation reproduced from package DPQ, version 0.4-2, License: GPL (>= 2)

### Community examples

Looks like there are no examples yet.