View source: R/proportion.test.twosample.approximate.simple.R
proportion.test.twosample.approximate.simple | R Documentation |
Calculates a two-sample proportion test to determine if a samples come from different populations. Z test is used for test computation.
proportion.test.twosample.approximate.simple(
sample.proportion.g1,
sample.size.g1,
sample.proportion.g2,
sample.size.g2,
alternative = c("two.sided", "less", "greater"),
conf.level = 0.95,
continuity.correction = T
)
sample.proportion.g1 |
Scalar/numeric - Group 1 - sample proportion between 0 and 1 |
sample.size.g1 |
Scalar/numeric - Group 1 - sample size. |
sample.proportion.g2 |
Scalar/numeric - Group 2 - sample proportion between 0 and 1 |
sample.size.g2 |
Scalar/numeric - Group 2 - sample size. |
alternative |
The alternative hypothesis to use for the test computation. |
conf.level |
The confidence level for this test, between 0 and 1. |
continuity.correction |
Scalar/logical - if TRUE, use continuity correction for the test. |
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.