8

Is it possible to calculate the percentile from a T-score in .NET? How would you do it?

For example, I received a T-score of 60, which according to the table below gives a percentile of 84.

Is there a formula to convert from T-score to percentile? Or do I always need to use this table to look it up?

enter image description here

Martin de Ruiter
  • 515
  • 1
  • 6
  • 25
  • 2
    Maybe one of these answers will help: http://stackoverflow.com/questions/5246348/is-there-a-net-statistics-library-with-t-tests-and-p-values – gunnerone Feb 13 '17 at 17:05
  • Cross posting is frowned upon. http://math.stackexchange.com/questions/2142716/calculate-percentile-from-t-score – paparazzo Feb 13 '17 at 17:18

1 Answers1

7

According to Springer article on T-Score

T scores have a mean of 50 and a standard deviation of 10. Standard z scores can be converted to T scores using the formula below.

T=10∗z+50

So using MathNet.Numerics package you can simply do

    static double PercintileFromTScore(double tScore)
    {
        var normalDistribution = new MathNet.Numerics.Distributions.Normal(50, 10); // shoulbe be shorten "using" in the real life
        return normalDistribution.CumulativeDistribution(tScore);
    }

This seems to produce results identical to the table you provided.

Community
  • 1
  • 1
SergGr
  • 23,570
  • 2
  • 30
  • 51