View source: R/cor.pearson.r.twosample.independent.simple.R
cor.pearson.r.twosample.independent | R Documentation |
Calculate test of significance difference for Pearson's Correlation Coefficient between four samples. Null hypothesis: No significant difference between correlation coefficient between x1 and x2 vs. correlation coefficient between x3 and x4. Significant result: Low p value indicates that a statistically significant difference exists between correlation coefficient between x1 and x2 vs. correlation coefficient between x3 and x4.
cor.pearson.r.twosample.independent(
x1,
x2,
x3,
x4,
alternative = c("two.sided", "less", "greater"),
conf.level = 0.95
)
cor.pearson.r.twosample.independent.simple(
sample.r.g1.g2,
sample.size.g1.g2,
sample.r.g3.g4,
sample.size.g3.g4,
alternative = c("two.sided", "less", "greater"),
conf.level = 0.95
)
x1 |
Vector - Variable 1 values |
x2 |
Vector - Variable 2 values |
x3 |
Vector - Variable 4 values |
alternative |
The alternative hypothesis to use for the test computation. |
conf.level |
The confidence level for this test, between 0 and 1. |
sample.r.g1.g2 |
Scalar - Sample correlation coefficient between x1 and x2. |
sample.size.g1.g2 |
Scalar - Sample size for correlation between x1 and x2. |
sample.r.g3.g4 |
Scalar - Sample correlation coefficient between x3 and x4. |
sample.size.g3.g4 |
Scalar - Sample size for correlation between x3 and x4. |
Hypothesis test result showing results of test.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.