Joint Probability

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.

 채택된 답변

the cyclist
the cyclist 2012년 1월 19일

0 개 추천

The following entry in the File Exchange does 2-d kernel density esimation:
I have not used it myself, but it is highly rated.

댓글 수: 1

Michael
Michael 2012년 1월 20일
Thanks ! Looks like just what I need.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Probability Density Functions에 대해 자세히 알아보기

질문:

2012년 1월 19일

Community Treasure Hunt

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

Start Hunting!

Translated by