Joint Probability
21 views (last 30 days)
Show older comments
I have a bunch of paired data (x,y) for which I would like to determine the joint probability density. I can easily find the marginal densities fx(x) and fy(y)and plan to do so using kernels (ksdensity). Any suggestions on finding the joint density fxy(x,y)or one of the conditional densities, fx(x|y) or fy(y|x), using the marginal densities?
My assumption is not the trivial solution when x and y are independent.
I understand the concepts but am struggling with the code.
0 Comments
Accepted Answer
the cyclist
on 19 Jan 2012
The following entry in the File Exchange does 2-d kernel density esimation:
I have not used it myself, but it is highly rated.
More Answers (0)
See Also
Categories
Find more on Probability Density Functions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!