title | description | keywords | author | ms.author | manager | ms.date | ms.topic | ms.service | ms.assetid | ROBOTS | audience | ms.devlang | ms.reviewer | ms.suite | ms.tgt_pltfrm | ms.custom |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
rxChiSquaredTest function (revoAnalytics) | Microsoft Docs |
Chi-squared Test, Fisher's Exact Test, and Kendall's Tau Rank Correlation Coefficient |
(revoAnalytics), rxChiSquaredTest, rxFisherTest, rxKendallCor, htest |
chuckheinzelman |
charlhe |
cgronlun |
07/15/2019 |
reference |
mlserver |
rxChiSquaredTest: Chi-squared Test, Fisher's Exact Test, and Kendall's Tau Rank Correlation Coefficient
Chi-squared Test, Fisher's Exact Test, and Kendall's Tau Rank Correlation Coefficient
rxChiSquaredTest(x, ...)
rxFisherTest(x, ...)
rxKendallCor(x, type = "b", seed = NULL, ...)
an object of class xtabs, rxCrossTabs, or rxCube.
character string specifying the version of Kendall's correlation. Supported types are "a"
, "b"
or "c"
.
seed for random number generator. If NULL
, the seed is not set.
additional arguments to the underlying function.
an object of class rxMultiTest.
Microsoft Corporation Microsoft Technical Support
rxMultiTest, rxPairwiseCrossTab, rxRiskRatio, rxOddsRatio.
# Create a data frame with admissions data
Admit <- factor(c(rep('Admitted', 46), rep('Rejected', 668)))
Gender <- factor(c(rep('M', 22), rep('F', 24), rep('M', 351), rep('F', 317)))
Admissions <- data.frame(Admit, Gender)
# For most efficient computations, return an xtabs object from rxCrossTabs
adminXtabs <- rxCrossTabs(~Admit:Gender, data = Admissions, returnXtabs = TRUE)
rxChiSquaredTest(adminXtabs)
rxFisherTest(adminXtabs)
rxKendallCor(adminXtabs, type = "b")