Is there any solution to fit plane onto sampling data?

For example I have the variables x, y (or higher dimensional data in general) and a probability distribution p(x,y). I want to approximate p(x,y) as a linear function, a plane in this case, at least somewhere in the domain. However I only have samples from the distribution. In case of big amount of data the easy way is to collect them into bins, and fit a plane onto the estimated density function. But I dont want to compress data, I would like to extract the maximum information and use the points itself. Are there any method to do this?

Respuestas (1)

Peter Borda
Peter Borda el 9 de En. de 2015
I'm not sure if I understand the problem correctly, but if you have a high number of sample point on which you have to fit a plane of any dimensions, you can use this method:

2 comentarios

Mr M.
Mr M. el 9 de En. de 2015
NOT, not, and NOT! I don't want to fit to points which belongs to the plane. I do not have (x,y,z) triples, I only have (x,y) samples from the p(x,y) density.
having (x,y,p(x,y)) is equivalent to having (x,y,z) triplets

Iniciar sesión para comentar.

Categorías

Más información sobre Linear and Nonlinear Regression en Centro de ayuda y File Exchange.

Preguntada:

el 9 de En. de 2015

Comentada:

el 1 de Sept. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by