【发布时间】:2011-09-09 22:35:48
【问题描述】:
可能重复:
R, correlation: is there a func that converts a vector of nums to a vector of standard units
通过阅读 stackoverflow 的 cmets,我发现 z-score 可能是用 Python 或 perl 计算的,但我还没有遇到任何 R 的。我错过了吗?可以用R来完成吗?
作为 (http://en.wikipedia.org/wiki/Standard_score.)
z-score = (x-μ)/σ
x is a raw score to be standardized;
μ is the mean of the population;
σ is the standard deviation of the population.
我相信有为此设计的 R 包?我们在哪里可以找到它们?或者类似的标准化包?
【问题讨论】:
-
Simon Blomberg:这是 R。没有如果。只有如何。 --
fortune("simon blomberg") -
为什么
pnorm( x, μ, σ )不是解决方案?
标签: r normalization