Numerical Inversion of an incomplete beta function expressed as gauss hypergeometric function using Mathematica

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I am currently working with this hypergeometric function $_2F_1$,



$rho(r)=frac2b1-q(1-(fracbr)^1-q)^frac12_2F_1(frac12,1-frac1q-1,frac32,1-(fracbr)^1-q)$



I have just started learning and using Mathematica and I just want to ask if I can use Mathematica to construct and implement a simple routine to numerically invert the function $rho(r)$ into $r(rho)$? Note that $-infty<q<1$, and $r,b>0$. Thanks in advance







share|cite|improve this question


















  • 1




    This might be better suited for the Mathematica Stack Exchange. Please note that they generally require that you make an attempt and add whatever code you have tried.
    – Moo
    Aug 21 at 12:47






  • 1




    Yes, ask at Mathematica.Stackexchange. A start could be reference.wolfram.com/language/ref/InverseFunction.html or stackoverflow.com/questions/5306450/…
    – gammatester
    Aug 21 at 12:54











  • A good start would be to show some effort and give the expression right away in Mathematica syntax. Moreover, there are several constants b and q in your formular. Without specifying them, a numerical solutions might not possible. The actual inversion, look up InverseFunction or FindRoot in the documentation. There are also already plenty of good answer to similar questions in Mathematica SE, some of them can also deal with parameters.
    – Henrik Schumacher
    Aug 21 at 16:22














up vote
0
down vote

favorite












I am currently working with this hypergeometric function $_2F_1$,



$rho(r)=frac2b1-q(1-(fracbr)^1-q)^frac12_2F_1(frac12,1-frac1q-1,frac32,1-(fracbr)^1-q)$



I have just started learning and using Mathematica and I just want to ask if I can use Mathematica to construct and implement a simple routine to numerically invert the function $rho(r)$ into $r(rho)$? Note that $-infty<q<1$, and $r,b>0$. Thanks in advance







share|cite|improve this question


















  • 1




    This might be better suited for the Mathematica Stack Exchange. Please note that they generally require that you make an attempt and add whatever code you have tried.
    – Moo
    Aug 21 at 12:47






  • 1




    Yes, ask at Mathematica.Stackexchange. A start could be reference.wolfram.com/language/ref/InverseFunction.html or stackoverflow.com/questions/5306450/…
    – gammatester
    Aug 21 at 12:54











  • A good start would be to show some effort and give the expression right away in Mathematica syntax. Moreover, there are several constants b and q in your formular. Without specifying them, a numerical solutions might not possible. The actual inversion, look up InverseFunction or FindRoot in the documentation. There are also already plenty of good answer to similar questions in Mathematica SE, some of them can also deal with parameters.
    – Henrik Schumacher
    Aug 21 at 16:22












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I am currently working with this hypergeometric function $_2F_1$,



$rho(r)=frac2b1-q(1-(fracbr)^1-q)^frac12_2F_1(frac12,1-frac1q-1,frac32,1-(fracbr)^1-q)$



I have just started learning and using Mathematica and I just want to ask if I can use Mathematica to construct and implement a simple routine to numerically invert the function $rho(r)$ into $r(rho)$? Note that $-infty<q<1$, and $r,b>0$. Thanks in advance







share|cite|improve this question














I am currently working with this hypergeometric function $_2F_1$,



$rho(r)=frac2b1-q(1-(fracbr)^1-q)^frac12_2F_1(frac12,1-frac1q-1,frac32,1-(fracbr)^1-q)$



I have just started learning and using Mathematica and I just want to ask if I can use Mathematica to construct and implement a simple routine to numerically invert the function $rho(r)$ into $r(rho)$? Note that $-infty<q<1$, and $r,b>0$. Thanks in advance









share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Aug 21 at 12:55









gammatester

15.9k21529




15.9k21529










asked Aug 21 at 12:45









user583893

214




214







  • 1




    This might be better suited for the Mathematica Stack Exchange. Please note that they generally require that you make an attempt and add whatever code you have tried.
    – Moo
    Aug 21 at 12:47






  • 1




    Yes, ask at Mathematica.Stackexchange. A start could be reference.wolfram.com/language/ref/InverseFunction.html or stackoverflow.com/questions/5306450/…
    – gammatester
    Aug 21 at 12:54











  • A good start would be to show some effort and give the expression right away in Mathematica syntax. Moreover, there are several constants b and q in your formular. Without specifying them, a numerical solutions might not possible. The actual inversion, look up InverseFunction or FindRoot in the documentation. There are also already plenty of good answer to similar questions in Mathematica SE, some of them can also deal with parameters.
    – Henrik Schumacher
    Aug 21 at 16:22












  • 1




    This might be better suited for the Mathematica Stack Exchange. Please note that they generally require that you make an attempt and add whatever code you have tried.
    – Moo
    Aug 21 at 12:47






  • 1




    Yes, ask at Mathematica.Stackexchange. A start could be reference.wolfram.com/language/ref/InverseFunction.html or stackoverflow.com/questions/5306450/…
    – gammatester
    Aug 21 at 12:54











  • A good start would be to show some effort and give the expression right away in Mathematica syntax. Moreover, there are several constants b and q in your formular. Without specifying them, a numerical solutions might not possible. The actual inversion, look up InverseFunction or FindRoot in the documentation. There are also already plenty of good answer to similar questions in Mathematica SE, some of them can also deal with parameters.
    – Henrik Schumacher
    Aug 21 at 16:22







1




1




This might be better suited for the Mathematica Stack Exchange. Please note that they generally require that you make an attempt and add whatever code you have tried.
– Moo
Aug 21 at 12:47




This might be better suited for the Mathematica Stack Exchange. Please note that they generally require that you make an attempt and add whatever code you have tried.
– Moo
Aug 21 at 12:47




1




1




Yes, ask at Mathematica.Stackexchange. A start could be reference.wolfram.com/language/ref/InverseFunction.html or stackoverflow.com/questions/5306450/…
– gammatester
Aug 21 at 12:54





Yes, ask at Mathematica.Stackexchange. A start could be reference.wolfram.com/language/ref/InverseFunction.html or stackoverflow.com/questions/5306450/…
– gammatester
Aug 21 at 12:54













A good start would be to show some effort and give the expression right away in Mathematica syntax. Moreover, there are several constants b and q in your formular. Without specifying them, a numerical solutions might not possible. The actual inversion, look up InverseFunction or FindRoot in the documentation. There are also already plenty of good answer to similar questions in Mathematica SE, some of them can also deal with parameters.
– Henrik Schumacher
Aug 21 at 16:22




A good start would be to show some effort and give the expression right away in Mathematica syntax. Moreover, there are several constants b and q in your formular. Without specifying them, a numerical solutions might not possible. The actual inversion, look up InverseFunction or FindRoot in the documentation. There are also already plenty of good answer to similar questions in Mathematica SE, some of them can also deal with parameters.
– Henrik Schumacher
Aug 21 at 16:22















active

oldest

votes











Your Answer




StackExchange.ifUsing("editor", function ()
return StackExchange.using("mathjaxEditing", function ()
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
);
);
, "mathjax-editing");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "69"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2889821%2fnumerical-inversion-of-an-incomplete-beta-function-expressed-as-gauss-hypergeome%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2889821%2fnumerical-inversion-of-an-incomplete-beta-function-expressed-as-gauss-hypergeome%23new-answer', 'question_page');

);

Post as a guest













































































這個網誌中的熱門文章

How to combine Bézier curves to a surface?

Mutual Information Always Non-negative

Why am i infinitely getting the same tweet with the Twitter Search API?