|
Algorithm 1 Virtual individual generation. Takes as input posterior draws of in Equation (2) |
-
1:
procedure VirtualIndividual()
-
2:
Sample a from a kernel density approximation of empirical distribution using inverse transform sampling
-
3:
Uniformly sample a set of random values from posterior draw set
-
4:
Use Equation (2) to draw a value of (and hence b)
-
5:
Use to calculate () and () for that individual
-
6:
If is less than half the minimum in estimates from [22], reject and call VirtualIndividual
-
7:
If is greater than 1.5 times the maximum in estimates from [22], reject and call VirtualIndividual
-
8:
return which characterise a dose-response curve
-
9:
end procedure
|