This project has moved and is read-only. For the latest updates, please go here.

Noncentral StudentT.InvCDF

Nov 21, 2014 at 9:55 PM
I am attempting to calculate the Inverse CDF of the Student T distribution with a non-centrality parameter (I assume this is the location) of 5.202, a DF of 9 at a probability of 0.95. I am using this code:
double tA = StudentT.InvCDF(5.202, 1, 9, 0.95);
This results in tA value of 7.035. When I check this result in R using the following code:
I get a result of 9.206 (the correct answer). Any idea what I am doing wrong?
Jan 21, 2015 at 8:14 AM
StudentT implements the non-standardized but still central Student's-T distribution, generalized with location and scale. This is related but different to the Noncentral T-Distribution which I think you're looking for.