EXAMPLE: Using SAS data step to do Monte Carlo Integration

Strategy: Equation of a circle with radius=1: x2 + y2 = 1. which can be written y = sqrt(1-x2) Area of this circle = Area of this circle in the first quadrant = /4. Generate Ux ~ Uniform(0,1) and Uy ~ Uniform(0,1) Check to see if Uy ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download