internal.prop2.test {simitation} | R Documentation |
Internal function for Two-sample Proportions Test
Description
Computes the test for proportions for two given binary variables.
Usage
internal.prop2.test(
x,
y,
p = NULL,
alternative = c("two.sided", "less", "greater"),
conf.level = 0.95,
correct = TRUE,
na.rm = TRUE
)
Arguments
x |
First binary variable. |
y |
Second binary variable. |
p |
Null hypothesis value for proportion. Default is NULL. |
alternative |
A character string specifying the alternative hypothesis. One of |
conf.level |
A numeric value between 0 and 1 indicating the confidence level for the interval estimate of the proportion. Default is 0.95. |
correct |
A logical indicating if Yates' continuity correction should be applied for the test. Default is TRUE. |
na.rm |
A logical indicating if NA values should be removed. Default is TRUE. |
Value
A data frame with test results.
[Package simitation version 0.0.7 Index]