gpt4 book ai didi

c# - 从 .NET 中的 t 分数计算百分位数

转载 作者:太空狗 更新时间:2023-10-29 20:23:06 24 4
gpt4 key购买 nike

是否可以根据 .NET 中的 T 分数计算百分位数?你会怎么做?

例如,我得到的 T 分数是 60,根据下表,百分位数是 84。

是否有从 T 分数转换为百分位数的公式?还是我总是需要使用这个表来查找它?

enter image description here

最佳答案

根据 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

所以使用 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);
}

这似乎产生与您提供的表格相同的结果。

关于c# - 从 .NET 中的 t 分数计算百分位数,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42209102/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com