f21hyper | R Documentation |
Computes the value of a Gaussian hypergeometric function F(a,b,c,z) for -1 ≤q z ≤q 1 and a,b,c ≥q 0
f21hyper(a, b, c, z)
a |
The parameter |
b |
The parameter |
c |
The parameter |
z |
The parameter |
The function f21hyper
complements the analysis of the 'hyper-g prior'
introduced by Liang et al. (2008).
For parameter values, compare cf.
https://en.wikipedia.org/wiki/Hypergeometric_function.
The value of the Gaussian hypergeometric function F(a,b,c,z)
This function is a simple wrapper function of sped-up code that is
intended for sporadic application by the user; it is neither efficient nor
general; for a more general version cf. the package 'hypergeo
'
Liang F., Paulo R., Molina G., Clyde M., Berger J.(2008): Mixtures of g-priors for Bayesian variable selection. J. Am. Statist. Assoc. 103, p. 410-423
https://en.wikipedia.org/wiki/Hypergeometric_function
package hypergeo
for a more proficient implementation.
Check http://bms.zeugner.eu for additional help.
f21hyper(30,1,20,.8) #returns about 165.8197 f21hyper(30,10,20,0) #returns one f21hyper(10,15,20,-0.1) # returns about 0.4872972
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.