2017-02-13 114 views
6

是否可以從.NET中的T分數計算百分位數?你會怎麼做?從.NET中的t分數計算百分位數

例如,我收到T分數的60,根據下表,它給出的84

百分是否有一個公式來從T分數轉換爲百分?或者我是否總是需要使用這張表來查找它?

enter image description here

+2

也許這些答案之一將幫助:http://stackoverflow.com/questions/5246348/is-there-a-net-statistics-library-with-t-tests-and-p-values – gunnerone

+0

交叉發佈是皺起眉頭。 http://math.stackexchange.com/questions/2142716/calculate-percentile-from-t-score – Paparazzi

回答

5

根據Springer article on T-Score

T值具有50的平均和的10.標準z值可以被轉換爲使用下式T值的標準偏差。

T=10∗z+50

因此,使用MathNet.Numerics包,你可以簡單地做

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); 
    } 

這似乎產生的結果相同,您所提供的表格。