Skip to main content
. 2019 Mar 18;21(3):289. doi: 10.3390/e21030289
Algorithm 3 Numerical Integration Algorithm, NIA
Step 1. Initialize the number of sample points K. Set H=0 and s=1.
Step 2. Set α=(2s−1)/2K. For each 1≤i≤h, let xi=Φi−1(α), and for each h+1≤i≤n, let xi=Φi−1(1−α).
Step 3. Reset H=H+f(x1,x2,⋯,xn)lnα1−α/K and s=s+1.
Step 4. If s≤K, go to Step 2. Otherwise, return H as the estimated value of H[f(ξ1,ξ2,⋯,ξn)].