File:prob-acceptance-rejection.png
Figure file · Simulation
Size of this preview: 749 × 407 pixels. Select it to open the high-resolution file.
Summary
Description. Acceptance–rejection for the density f(x)=6x(1-x) on the unit interval, with uniform proposals under the bound c=1.5. Of 600 proposed points, those under the curve (dark) are kept and the rest (light) are rejected. About two thirds are kept, the area under f over the area of the box.
Appears in. Simulation
Made by. Drawn with Python and matplotlib from the example data. One script draws every figure in its section.
Download
- PNG, high resolution (1729 × 939 pixels, 229 KB)
- PNG, as shown on the wiki (749 × 407 pixels, 95 KB)
- PDF, vector, prints at any size (22 KB)
- Python script (
stat2003-make_figures.py)
File usage
These 2 pages show the file:
