BookmarkSubscribeRSS Feed
TomTom
Calcite | Level 5

Hello,

I was wondering whether there is a SAS/IML function for obtaining tail probabilities of a multivariate Normal RV? Rick has blogged extensively about sampling from a MVN (thanks Rick!)  but I can’t find anything about tail probabilities.In essence I am looking for what this package provides in R:

http://cran.r-project.org/web/packages/mnormt/mnormt.pdf

Many thanks

2 REPLIES 2
Rick_SAS
SAS Super FREQ

For 1D, use the CDF function. For 2D, use the PROBBNRM function. For higher dimensions, Genz's 1992 algorithm was implemented in IML by Bretz: http://www.biostat.uni-hannover.de/89.html   Somerville and Bretz also have a 2001 algorithm that is available on the same web site. 

I haven't used the high-D algorithms, so I can't speak to their efficiency.

Rick

TomTom
Calcite | Level 5

Thanks for your reply. I was aware of the Genz & Bretz modules but hoped that there was a (hidden) build-in function that I missed.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

From The DO Loop
Want more? Visit our blog for more articles like these.
Discussion stats
  • 2 replies
  • 1891 views
  • 0 likes
  • 2 in conversation