<?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 Re: Cumulative density of multivariate normal distribution in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Re-Cumulative-density-of-multivariate-normal-distribution/m-p/638558#M30551</link>
    <description>&lt;P&gt;Thank you so much for the reply. I assume the cdf() is a function available in SAS/IML, right? Unfortunately, it doesn't seem like I have the proc IML available in the SAS enterprise guide I am using. But still, I really appreciate the hint you give.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 09 Apr 2020 02:03:25 GMT</pubDate>
    <dc:creator>ErinYume</dc:creator>
    <dc:date>2020-04-09T02:03:25Z</dc:date>
    <item>
      <title>Re: Cumulative density of multivariate normal distribution</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Re-Cumulative-density-of-multivariate-normal-distribution/m-p/638338#M30547</link>
      <description>&lt;P&gt;Thank you Rick. I am trying to calculate a probability of the largest value from a 4 variable standardized MVN greater than a threshold. The correlation matrix is computed from a set of variance of&amp;nbsp; fleming test statistics(proc lifetest). I don't recognize the correlation matrix to have a special pattern.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2020 01:59:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Re-Cumulative-density-of-multivariate-normal-distribution/m-p/638338#M30547</guid>
      <dc:creator>ErinYume</dc:creator>
      <dc:date>2020-04-09T01:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative density of multivariate normal distribution</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Re-Cumulative-density-of-multivariate-normal-distribution/m-p/638396#M30548</link>
      <description>&lt;P&gt;It sounds like you centered and scaled so that the MVN has mean 0 and a correlation matrix as its covariance. You want to determine how probable an observation is, assuming it came from that MVN.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A way to do that is to &lt;A href="https://blogs.sas.com/content/iml/2012/02/15/what-is-mahalanobis-distance.html" target="_self"&gt;compute the Mahalanobis distance&lt;/A&gt; from the point to the origin. The simplest way to &lt;A href="https://blogs.sas.com/content/iml/2012/02/22/how-to-compute-mahalanobis-distance-in-sas.html" target="_self"&gt;compute the Mahalanobis distance in SAS&lt;/A&gt; is to use the MAHALANOBIS function in SAS/IML. The &lt;A href="https://blogs.sas.com/content/iml/2012/02/02/detecting-outliers-in-sas-part-3-multivariate-location-and-scatter.html" target="_self"&gt;squared MD&amp;nbsp;of MVN data obeys a chi-square distribution&lt;/A&gt; with k degrees of freedom, where k is the number of variables. Therefore one measure of the probability of an observation is&amp;nbsp;&lt;BR /&gt;prob = 1 - cdf("chisquare", squredMD, k);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think you can also use an F distribution for this. I don't have access to my office books because of the coronavirus pandemic, but I think you can find a formula for the prediction ellipse of MVD data in most multivariate stat texts, such as&amp;nbsp;&lt;SPAN&gt;R.A. Johnson and D.W.&amp;nbsp;&lt;/SPAN&gt;Wichern&lt;SPAN&gt;, &lt;EM&gt;Applied Multivariate Statistical Analysis&lt;/EM&gt; (3rd Ed), 1992. It relates the MD to the F distribution.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2020 17:07:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Re-Cumulative-density-of-multivariate-normal-distribution/m-p/638396#M30548</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2020-04-08T17:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative density of multivariate normal distribution</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Re-Cumulative-density-of-multivariate-normal-distribution/m-p/638558#M30551</link>
      <description>&lt;P&gt;Thank you so much for the reply. I assume the cdf() is a function available in SAS/IML, right? Unfortunately, it doesn't seem like I have the proc IML available in the SAS enterprise guide I am using. But still, I really appreciate the hint you give.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2020 02:03:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Re-Cumulative-density-of-multivariate-normal-distribution/m-p/638558#M30551</guid>
      <dc:creator>ErinYume</dc:creator>
      <dc:date>2020-04-09T02:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative density of multivariate normal distribution</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Re-Cumulative-density-of-multivariate-normal-distribution/m-p/638560#M30552</link>
      <description>&lt;P&gt;Mahalanobis distance can also be computed using PROC PRINCOMP in SAS/STAT. See &lt;A href="http://support.sas.com/kb/30662.html" target="_self"&gt;this note&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2020 03:08:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Re-Cumulative-density-of-multivariate-normal-distribution/m-p/638560#M30552</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2020-04-09T03:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: Cumulative density of multivariate normal distribution</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Re-Cumulative-density-of-multivariate-normal-distribution/m-p/638753#M30560</link>
      <description>&lt;P&gt;No, you do not need IML. The CDF function is available in base SAS.&lt;A href="https://go.documentation.sas.com/?docsetId=lefunctionsref&amp;amp;docsetTarget=n0n7cce4a3gfqkn1vr0p1x0of99s.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_self"&gt; See the documentation.&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Apr 2020 17:48:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Re-Cumulative-density-of-multivariate-normal-distribution/m-p/638753#M30560</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2020-04-09T17:48:36Z</dc:date>
    </item>
  </channel>
</rss>

