[英]TIBCO Spotfire Standard Deviation
I have a data frame that has Percentages 我有一个包含百分比的数据框
Column1,Column2,Column3 列1,列2,栏3
5%,4%,3% 5%,4%,3%
1%,2%,10% 1%,2%,10%
I want to create an aggregated column, which calculates the standard deviation for each row of data (in my case, the standard deviation between 5%,4% and 3%, etc) using the stdev function on Spotfire. 我想创建一个聚合列,该列使用Spotfire上的stdev函数计算每行数据的标准偏差(在我的情况下,为5%,4%和3%之间的标准偏差,等等)。 I have tried the formula input of :
我已经尝试过的公式输入:
StdDev([Column1],[Column2],[Column3]) STDDEV([列1],[列2],[栏3])
This does not work. 这是行不通的。 Any help will be appreciated
任何帮助将不胜感激
That function is a column aggregation, meaning it will calculate some value over an entire column. 该函数是列聚合,这意味着它将在整个列上计算一些值。 You can create a calculated column with the formula for standard deviation.
您可以使用标准偏差的公式创建一个计算列。 Another option would be to use TERR.
另一种选择是使用TERR。 See this question's top answer for how you do this in R: Calculating standard deviation of each row
有关如何在R中执行此操作,请参见此问题的最佳答案: 计算每行的标准偏差
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.