- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我想将方法2、3、4的排名结果与方法1进行比较。在这方面,我想使用Spearman Rho系数。我还想知道方法2、3、4的结果与方法1是否有显着关系。那么该怎么做呢?
database<-structure(list(
Method1 = c(1L, 10L, 7L, 8L, 9L, 6L, 5L, 3L, 4L, 2L), Method2 = c(1L,
8L, 6L, 7L, 10L, 9L, 4L, 2L, 5L, 3L), Method3 = c(1L,
10L, 7L, 8L, 9L, 6L, 4L, 2L, 3L, 5L), Method4 = c(1L,
9L, 6L, 7L, 10L, 8L, 5L, 3L, 2L, 4L)), class = "data.frame", row.names = c(NA,
10L))
> database
Method1 Method2 Method3 Method4
1 1 1 1 1
2 10 8 10 9
3 7 6 7 6
4 8 7 8 7
5 9 10 9 10
6 6 9 6 8
7 5 4 4 5
8 3 2 2 3
9 4 5 3 2
10 2 3 5 4
最佳答案
也许您想要这样的东西,使用“spearman”方法
提取cor.test
的估计值:
library(dplyr)
database %>%
summarise_each(funs(cor.test(., database$Method1, method = "spearman")$estimate))
输出:
Method1 Method2 Method3 Method4
1 1 0.8787879 0.9272727 0.9030303
对于 p 值:
library(dplyr)
database %>%
summarise_each(funs(cor.test(., database$Method1, method = "spearman")$p.value))
输出:
Method1 Method2 Method3 Method4
1 0 0.001977059 0.0001301624 0.000880225
关于r - 使用 Spearman Rho 系数比较排名,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/72848824/
我正在尝试使用 Pandas 读取带分隔符的文件。分隔符是希腊字符,小写 rho (þ)。 我正在努力定义正确的 read_table 参数,以便正确格式化生成的数据框。 有没有人对此有任何经验或建议
这是我为图像中的线条创建hough 累加器 的代码: void hough_lines_acc(cv::Mat img_a_edges, std::vector > &hough_acc) { f
因此,我尝试使用 BigInteger 类在 Java 中创建 Pollard 的 Rho 因子分解算法以支持非常大的整数。该代码大部分有效,但找不到 4 或 8(应该是 2)的因数。目前,我已将其限
我最近偶然发现了 a paper关于 Pollard's Rho algorithm 的并行化,考虑到我的具体应用,除了我没有达到所需的数学水平这一事实之外,我想知道这种特殊的并行化方法是否有助于我的
我实现了 wikipedia 上给出的 Pollard Rho 算法 x ← 2; y ← 2; d ← 1 while d = 1: x ← g(x) y ← g(g(y))
我正在尝试实现 Pollard 的 Rho 算法来查找整数 n 的因数。我有一个通常有效的实现,但现在遇到了一些问题。在这种情况下,我的 n = 262063。 这是我的 Rho 算法,以及引用的 g
我在 Saurabh Kr Vats 在此 http://www.careercup.com/question?id=14990323 上提出的解决方案中遇到了这个问题 他说: # Finally,
我正在尝试根据我在维基百科上找到的伪代码来实现 Pollard Rho,但它似乎不适用于数字 4、8 和 25,而且我不知道为什么。 这是我的代码: long long x = initXY;
Pollard Rho factorization method uses a function generator f(x) = x^2-a(mod n) or f(x) = x^2+a(mod n
每次我使用 Pollard Rho 因式分解方法对一个数进行因式分解时,是否有必要在 Pollard Rho 因式分解之前检查其素数?如果是,那么每次我想对任何数字进行因式分解时,我都必须实现 Mil
我正在尝试在 C/C++ 中实现 Pollard Rho 整数分解。Google 为我提供了问题的 Java 实现 here . 我不太了解 Java,所以我想出了什么 this .我在 C++ 中的
已创建 Hough 变换的 C++ 实现,用于检测图像中的线条。找到的线使用 rho、theta 表示,如维基百科上所述: "The parameter r represents the distan
我想将方法2、3、4的排名结果与方法1进行比较。在这方面,我想使用Spearman Rho系数。我还想知道方法2、3、4的结果与方法1是否有显着关系。那么该怎么做呢? database datab
我想将方法2、3、4的排名结果与方法1进行比较。在这方面,我想使用Spearman Rho系数。我还想知道方法2、3、4的结果与方法1是否有显着关系。那么该怎么做呢? database datab
我使用 Keras 框架来实现循环神经网络。我在优化器(RMSprop)参数中找到了 RHO 参数,并且我知道它是超参数,但我找不到该参数的描述。 RHO是什么意思? 文档链接 https://ker
#include #include typedef unsigned long long int ULL; ULL gcd(ULL a, ULL b) { for(; b >0 ;)
为了尝试解决 Euler 项目的第三个问题 (https://projecteuler.net/problem=3),我决定实现 Pollard 的 Rho 算法(至少是其中的一部分,我计划稍后包括循
我有以下功能。我从两个站点获得它并尝试将其改编成我自己的,但效果不佳。 当我测试 unsigned long int max - 2 或 to 但它作为一个数字 4294967293 时,它会将以下代
我对生成相关随机变量有疑问...有没有一种方法可以生成 x1(0, 1)、x2(0, 1),它们通常具有 rho = 0;或生成x3(0, 1), x4(0, 1) 有 rho = 0.75 还是其他
我试图将新的 RHO 单应性算法与 perspectiveTransform 结合使用,但似乎 RHO 计算的单应性矩阵大小错误,因此与该方法不兼容。 见下面的代码: H = findHomograp
我是一名优秀的程序员,十分优秀!