Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

hypergeometric1F1

Confluent hypergeometric2F1 function


Description

Compute the Confluent Hypergeometric function: 1F1(a,b,c,t) = Gamma(b)/(Gamma(b-a)Gamma(a)) Int_0^1 t^(b-1) (1 - t)^(b-a-1) exp(c t) dt

Usage

hypergeometric1F1(a, b, c, laplace = FALSE, log = TRUE)

Arguments

a

arbitrary

b

Must be greater 0

c

arbitrary

laplace

The default is to use the Cephes library; for large a or s this may return an NA, Inf or negative values,, in which case you should use the Laplace approximation.

log

if TRUE, return log(1F1)

Author(s)

Merlise Clyde (clyde@stat.duke.edu)

References

Cephes library hyp1f1.c

See Also

Other special functions: hypergeometric2F1(), phi1()

Examples

hypergeometric1F1(11.14756, 0.5, 0.00175097)

BAS

Bayesian Variable Selection and Model Averaging using Bayesian Adaptive Sampling

v1.5.5
GPL (>= 3)
Authors
Merlise Clyde [aut, cre, cph] (ORCID=0000-0002-3595-1872), Michael Littman [ctb], Quanli Wang [ctb], Joyee Ghosh [ctb], Yingbo Li [ctb], Don van de Bergh [ctb]
Initial release
2020-1-24

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.