Compute SEs for Independent Binomial Proportions
Arguments
- ns
the number of observations in the independent groups
- phats
the proportions of TRUE/1's etc.
Value
an ses.moecalc object
Examples
seBinprops(c(50, 30), c(0.3, 0.7))
#> $ses
#> [1] 0.06480741 0.08366600
#>
#> $ses.diffs
#> [,1] [,2]
#> [1,] 0.0000000 0.1058301
#> [2,] 0.1058301 0.0000000
#>
#> attr(,"class")
#> [1] "ses.moecalc"