m2_vary | R Documentation |
Calculates overall point estimates and its variance using a vector of margins
m2_vary(lambda, m1, pc, pt, pd_var, nc, nt, method = c("wald", "fm"))
lambda |
numeric, fraction of control treatment effect preservation |
m1 |
numeric, statistical margin |
pc |
numeric, estimated proportion of events in group 'c' |
pt |
numeric, estimated proportion of events in group 't' |
pd_var |
numeric, estimated variance for difference in propotions between groups 'c' and 't' |
nc |
numeric, number of observations in group 'c' |
nt |
numeric, number of observations in group 't' |
method |
chararcter with the followin two options: "wald", "fm" |
DETAILS
list
cor
map
,set_names
p_rmle
lambda <- c(0.60, 0.63, 0.65)
m2_vary(lambda, m1 = 0.23, pc = 0.8, pt = 0.7, pd_var = 0.004, nc = 100, nt = 100, method = 'wald')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.