OwenQ1 | R Documentation |
Evaluates the first Owen Q-function (integral from 0
to R
)
for an integer value of the degrees of freedom.
OwenQ1(nu, t, delta, R, algo = 2)
nu |
integer greater than |
t |
number, positive or negative, possibly infinite |
delta |
vector of finite numbers, with the same length as |
R |
(upper bound of the integral) vector of finite positive numbers,
with the same length as |
algo |
the algorithm, |
A vector of numbers between 0
and 1
, the values of the
integral from 0
to R
.
When the number of degrees of freedom is odd, the procedure resorts to
the Owen T-function (OwenT
).
Owen, D. B. (1965). A special case of a bivariate noncentral t-distribution. Biometrika 52, 437-446.
# As R goes to Inf, OwenQ1(nu, t, delta, R) goes to pt(t, nu, delta):
OwenQ1(nu=5, t=3, delta=2, R=100)
pt(q=3, df=5, ncp=2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.