Find estimator for bivariate distribution
3 次查看(过去 30 天)
显示 更早的评论
Hi I have a set of Joint Probability Density Functions obtain from some sets of data. I would like to find the "best fitting line" that describes the distribution. In other words, I would like the dashed line in the figure.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/160351/image.jpeg)
One important point is that the two variables are both affected by error, therefore the estimator should be "simmetric", that is return the same line if applied f(x,y) or f(y,x) (mirrored of course).
I tried several estimators, but couldn't find what I'm looking for. Both the Ordinary Least Square (polyfit) and the Generalised Least Square (mvregress) returns a results that depends by the order of the inputs. This is also very clear in the help of mvregress. I found this equation
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/160352/image.png)
from the wikipedia page Multivariate normal distribution. This is indeed simmetric in x and y, but it returns the dark-red line in the figure, not bad, but nor what I would expect. I think it is due to the face that the distribution is far from being normal.
Do you have any suggestion to find a good estimator for this problem?
Thank you very much
0 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!