Curve fitting with more than 3 variables
Ältere Kommentare anzeigen
Hi! I am doing curve fitting with matlab at the moment and would like to do it with more than 3 variables.Is that possible and how can i do it? please see the screenshot, I can not add any further variables there. Thank you!
1 Kommentar
Mahdi
am 4 Jun. 2014
Do you mean you want to do it in a higher dimension than 3D? Or more polynomial coefficients?
Akzeptierte Antwort
Weitere Antworten (3)
Don't know about web sites; the Matlab doc starts under
doc
Open the Statistics Toolbox section, select "Regression and Classification" and then "Parametric Regression". Start at the bottom with the Concepts section and work your way thru to the Linear Models which is probably all you need.
ADDENDUM:
There's a little more to it than the following, but the general idea for indicator variables is easily seen in the following
For setting up contrasts between more locations, there are some restrictions on the dummy encoding. Any good text on regression will address it.
3 Kommentare
Tania
am 13 Jun. 2014
dpb
am 13 Jun. 2014
"More", I don't know would be a good way to put it; it's an alternative choice, yes. I really have no direct experience in the specific area of regression trees, sorry.
Don't know you've anything to lose by trying both and seeing which does a better job for your purposes on the data you have. You'll want to avoid making any generic conclusions from just a sample dataset results, obviously...
Tania
am 13 Jun. 2014
Tania
am 7 Jun. 2014
0 Stimmen
3 Kommentare
Image Analyst
am 14 Jun. 2014
Go ahead and "Thank" him by officially "Accepting" and voting for his answers.
essa mohammed
am 12 Dez. 2017
????
John D'Errico
am 2 Dez. 2018
I unaccepted this self answer, and accepted the Answer from dpb instead.
ehsan brtn
am 2 Dez. 2018
0 Stimmen
still i didn't find the answer
Kategorien
Mehr zu Exploration and Visualization finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!