<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Double-integral using Monte Carlo Methods in IML in SAS/IML Software and Matrix Computations</title>
    <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Double-integral-using-Monte-Carlo-Methods-in-IML/m-p/728894#M5437</link>
    <description>&lt;P&gt;I have to do a double integral of the function sin(x) + cos(y) dxdy in IML , using a Monte Carlo simulation, with vectorized code. Truly, I do not know how to do it.&lt;/P&gt;</description>
    <pubDate>Wed, 24 Mar 2021 21:22:30 GMT</pubDate>
    <dc:creator>arcadeplus</dc:creator>
    <dc:date>2021-03-24T21:22:30Z</dc:date>
    <item>
      <title>Double-integral using Monte Carlo Methods in IML</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Double-integral-using-Monte-Carlo-Methods-in-IML/m-p/728894#M5437</link>
      <description>&lt;P&gt;I have to do a double integral of the function sin(x) + cos(y) dxdy in IML , using a Monte Carlo simulation, with vectorized code. Truly, I do not know how to do it.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Mar 2021 21:22:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Double-integral-using-Monte-Carlo-Methods-in-IML/m-p/728894#M5437</guid>
      <dc:creator>arcadeplus</dc:creator>
      <dc:date>2021-03-24T21:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: Double-integral using Monte Carlo Methods in IML</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Double-integral-using-Monte-Carlo-Methods-in-IML/m-p/728999#M5438</link>
      <description>&lt;P&gt;Please specify the domain of integration.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are two common ways to use Monte Carlo to estimate integrals, so you'll have to look at your notes/textbook to decide which you should use. In one (the average-value method), you generate points uniformly on a 2-D domain and evaluate the function at each random location. In the other method (the volume method), you generate 3-D points and estimate the probability that a random point is under the graph of the function.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here are some articles that use the average-value method.&amp;nbsp;Study and understand the 1-D example before you attempt 2-D.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://blogs.sas.com/content/iml/2021/03/31/estimate-integral-monte-carlo.html" target="_self"&gt;Estimate an integral by using Monte Carlo simulation&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://blogs.sas.com/content/iml/2021/04/05/sample-size-monte-carlo-integral.html" target="_self"&gt;Sample size for the Monte Carlo estimate of an integral&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://blogs.sas.com/content/iml/2021/04/07/double-integral-monte-carlo.html" target="_self"&gt;Double integrals by using Monte Carlo methods&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Tue, 13 Apr 2021 10:28:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/Double-integral-using-Monte-Carlo-Methods-in-IML/m-p/728999#M5438</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2021-04-13T10:28:42Z</dc:date>
    </item>
  </channel>
</rss>

