Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Matlab function for joint probability for more than 3 random variables. Maybe up to 10 rvs?
Replies: 1   Last Post: Oct 17, 2013 9:32 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
tsan toso

Posts: 3
Registered: 10/17/13
Matlab function for joint probability for more than 3 random variables. Maybe up to 10 rvs?
Posted: Oct 17, 2013 8:49 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi matlab users,

I have a question on trying to calculate the probability density with 3 or more random variables.

A function that does something like what "histc" does for 2 random variables, but except it can be done for as many as the user want? and returns the number of count (occurence) for the various combinations of the random variable (i.e. rv1, rv2, rv3.....).

where for example for illustrative purposes each rv has 2 states. and if we use 3 random variables that gives us a total of 2*2*2=8 states; where the function would return the count for each 8 states. Except that there are more than 2 states for each random variable and there are 3 or more random variables.

Is already a built in function to do it? or an easier way to do it?

Thanks a bunch.:)



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.