How to calculate joint probability

9 views (last 30 days)
Hi, I want to calculate the value of JPD for the probability values of five independent variables like A,B,C,D,E in MATLAB. Please help me: P(A,B,C,D,E)
  1 Comment
Robert
Robert on 7 Nov 2017
You will have a much better chance of getting a good answer if you add detail to your question. What are A, B, C, D, and E? Arrays? Function handles? Probability distribution objects?

Sign in to comment.

Accepted Answer

Mohammad Heydari
Mohammad Heydari on 7 Nov 2017
Dear Robert
A,B,C,D, and E are probability values [between 0 to 1] for 5 independent events. The aim of this question is to find the probability of an event which is based on these 5 events. I was wondering if you could tell me how I can calculate the probability of required evet that is based on those five probabilities. (E.g. Uising joint probability Distribution or conditional probability...). Thanks
  7 Comments
Mohammad Heydari
Mohammad Heydari on 7 Nov 2017
Dear Robert F depends on A,B,C,D,E. A,B,C,D,E are independent. I want to use matlab to calculate P(F|A,B,C,D,E).
Ali Koushki
Ali Koushki on 28 Feb 2022
Dear Robert,
How about dependent variables?
For example, if one has two financial time series such as two stocks' prices, what one should do in order to calculate the joint probability? (We dont know whether they are dependent or not).
Thank you

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!