Calculate percentiles from t-score in .NET.

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

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

Is there a formula for converting from T-score to percentiles? Or do I always need to use this table to search?

enter image description here

+6
source share
1 answer

According to Springer's T-Score article

The T scores have an average of 50 and a standard deviation of 10. The standard z values ​​can be converted to T-scores using the formula below.

T=10βˆ—z+50

Thus, using the 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 give results identical to the table below.

+5
source

Source: https://habr.com/ru/post/1014944/


All Articles