V_S.over.nk | R Documentation |
This is the function to compute the value of V over n_{..k}
, which is requited for the score test, where n_{..k}
denotes the total sample size at the kth analysis.
V_S.over.nk(p1, p2, lambda = 1)
p1 |
A vector containing the probabilities of the outcome falling into each level of the control arm. |
p2 |
A vector containging the probabilities of the outcome falling into each level of the control arm. |
lambda |
The ratio of sample sizes between the experimental and control groups, defined as sample size (experimental): sample size (control) = lambda:1. The default value is 1. |
The value of V over n_{..k}
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.