How can I get higher rsqured of Multivariate Polynomial Regression?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Rita
el 24 de Feb. de 2016
Hi I used this function with my data and R-squared is 0.19 which is really low.How can I get higher R-squared. Should I use optimization ?
2 comentarios
Respuesta aceptada
John D'Errico
el 24 de Feb. de 2016
Congratulations! You win the award for being the 10 million'th person to WANT a better fit than they got. Sadly, just wanting something is not sufficient. If it was, then the Cubs would have won a World Series long ago. If it was, then every person who ever bought a lottery ticket would have won the first prize. If it was, then we would have achieved peace in the mid-east long ago.
There is no magic to be found. Anyway, you can think of the regression estimate as the result of an optimization ALREADY. A further optimization won't help, because what you got is already the best you can get.
To get better results, you must get better data, with lower variability. You choose a better, more intelligent model, that better represents the data you do have.
2 comentarios
John D'Errico
el 24 de Feb. de 2016
That you got a higher R^2 probably means you chose a different model. It may not have been a good choice of model. You may be overfitting the data.
I don't know what error you got. polyvaln does no estimation, so I can't guess what you mean.
If you want, feel free to attach your data so I can take a look at it.
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!