I am trying to program out a couple of statistical formulas with python. I am not concerned with efficiency or the fact that there already are tools to calculate the values, but I am doing it to increase my understanding of statistics.
I tried setting up the Student T CDF, but I have no clue how to even start programming this.
On wikipedia it states the studentt cdf as follows: $$ \frac{1}{2}+x\Gamma\left(\frac{\nu+1}{2}\right)\cdot\frac{_2F_1\left(\frac{1}{2},\frac{\nu+1}{2},\frac{3}{2},-\frac{x^2}{\nu}\right)}{\sqrt{\pi\nu}\Gamma\left(\frac{\nu}{2}\right)} $$ It is noted that 2F1 is the Hypergeometric Function I have no idea what it does, how it works or what it looks like. I can't figure out how to program this function or even read it, since there must be something mysterious about the 2F1 notion that I don't understand. I tried reading up on the topic but I can only find very thick and old books that make me feel very stupid. The wikipedia link does not really help me, since I don't understand it. I don't have a good understanding of function theory and have never encountered gamma, beta and so on.
My desire might be too reductive and limited: I think of a function as something that calculates a value for a given input, so f(x) = 2x can pre easily programmed and will return 2 for f(1), 4 for f(2) and so on. So my question is:
How do I even read this formula?
Update I am sorry to admit it, but I am really dependent on your patience here. I have really big problems understanding the formula's "code" to begin with. I feel that until I do, I will have no use for your answers - so please help me on a lower level, as if you were explaining it to your grandma.
2F1 - what is the 2 for, what is the F for, what is the 1 for? Where does the (q)n come from? 2F1(a,b;c;z)? Why are a and b separated with a comma, not a semicolon? How is 2F1 different from 3F8, or is there even such a thing? This is all hieroglyphs to me. How do I read it? My question is more based on a reading issue than on a logical or a lack of understanding. I feel like translating chinese without a dictionary!