Input: |
Odds ratio OR for a Δ unit increase in the reference biomarker. |
Outcome prevalence π̄ at reference biomarker value b̄. |
Sample size N at which odds ratios are to be estimated. |
Output: S simulated odds ratios ORm and geometric standard errors SEm for quantification methods m = 1, … ,M. |
1: |
β1 ← log(OR) |
▻ Reference logistic slope |
2: |
|
▻ and intercept. |
3: |
for
s=1 to S
do
|
|
4: |
|
|
5: |
for
i=1 to N
do
|
|
6: |
|
|
7: |
for
m=1 to M
do
|
|
8: |
|
|
9: |
|
|
10: |
|
|
11: |
|
|
12: |
end for
|
|
13: |
b̃i ← ι̃1i
|
▻ Reference biomarker value, |
14: |
|
▻ outcome probability, |
15: |
Draw ỹi ~ Bernoulli(π̃i) |
▻ and simulated outcome. |
16: |
end for
|
|
17: |
for
m=1 to M
do
|
|
18: |
|
|
19: |
|
|
20: |
|
|
21: |
end for
|
|
22: |
end for |
|