Mar*_*ter 7 .net c# math statistics
可以从.NET中的T分数计算百分位数吗?你会怎么做?
例如,我得到了60分的T分数,根据下表给出了84分的百分位数.
是否有从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);
}
Run Code Online (Sandbox Code Playgroud)
这似乎产生与您提供的表相同的结果.
| 归档时间: |
|
| 查看次数: |
990 次 |
| 最近记录: |