BookmarkSubscribeRSS Feed
ErinYume
Calcite | Level 5

Hi all,

 

I am trying to compute a probability of a multivariate distribution up to a vector of values. For example, I want to obtain the probability of a 4-variable multivariate distribution up to point (x1,x2,x3,x4). How can I achieve this goal? I am using sas enterprise guide. 

 

Thanks!

4 REPLIES 4
Rick_SAS
SAS Super FREQ

For the bivariate normal CDF, you can use the PROBBNRM function to compute the cumulative probabilities

 

In higher dimensions, there is no built-in support for the high-dimensional semi-infinite integrals that are needed for a general multivariate normal (MVN) with correlated variables. 

 

What is the covariance matrix for your MVN? For some structured matrices, we might be able to suggest a solution.

mgx
Obsidian | Level 7 mgx
Obsidian | Level 7

Dear Rick,

 

I have the same question. Is there a built-in function developed for multivariate normal distributions in the meantime?

 

Rick_SAS
SAS Super FREQ

You can evaluate the multivariate normal density (PDF) and generate random variates for any dimension. But SAS provides a d-dimensional normal CDF only for d=1 (CDF("Normal") and d=2 (PROBBNRM). For more about the 2-D case, see the article, "Bivariate normal probability in SAS."

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 4 replies
  • 1378 views
  • 3 likes
  • 4 in conversation