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?
So this person's T-Score of 45 means that the person is in the middle 34% of the population.
For ease of communication in clinical reports, T scores can be converted to percentile ranks. The percentile rank represents the percentage of scores in a frequency distribution that are lower than the obtained score (e.g., the 50th percentile means that 50% of scores are lower).
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With