Description Usage Arguments Value Author(s) Examples
This function reports the posterior probability that theta is positive, i.e. that there is an increase in log odds of an adverse event being associated with treatment.
1 |
raw |
The output from a call to c212.BB. |
A data frame containing the columns: interval if analysing interim data, B: body system, AE: adverse event and ptheta, the posterior probability that theta is positive.
R. Carragher
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | data(c212.trial.data)
raw = c212.BB(c212.trial.data, burnin = 100, iter = 200)
p = c212.ptheta(raw)
head(p)
## Not run:
data(c212.trial.data)
raw = c212.BB(c212.trial.data)
## End(Not run)
## Not run:
p = c212.ptheta(raw)
head(p)
B AE ptheta
1 Bdy-sys_1 Adv-Ev_1 0.2560500
2 Bdy-sys_2 Adv-Ev_2 0.9426417
3 Bdy-sys_2 Adv-Ev_3 0.8751500
4 Bdy-sys_2 Adv-Ev_4 0.1154917
5 Bdy-sys_2 Adv-Ev_5 0.2317417
6 Bdy-sys_3 Adv-Ev_6 1.0000000
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.