How to regress a three-variables function from two two-variables functions?
3 views (last 30 days)
Show older comments
Hope I can explain clearly.
Now, I have two quadratic regression models obtained from EXCEL statistics, let's say F1 = g1 (V, T) F2 = g2 (f, T)
According to one journal paper, a function F = g (V, f, T) can be obtained from above two functions in MATLAB by using Response Surface Methodology(RSM), but no details shown in the paper.
Currently, my assignment is going to use this RSM to obtain F = g (V, f, T), but I haven't found any information about how to use RSM to obtain it online
So, anyone knows how to do it, please help me, thank you so much.
BTW, I am a totally fresh man about MATLAB, so please explain in detail and clearly. Thank you.
DAIXIN
0 Comments
Answers (1)
Tom Lane
on 24 Jul 2013
Is the idea that F1 and F2 both try to predict F using just two of the three possible variables? I'm not sure how you would be expected to combine them.
If you have the data for F,V,T,f, you could ignore F1 and F2, and just fit F directly. Tools for doing that in MATLAB and the Statistics Toolbox include rstool, LinearModel.fit, regstats, and the backslash operator (\).
3 Comments
Tom Lane
on 24 Jul 2013
Can you supply a reference to the journal article? If you knew for example that the feed was constant at f=f0 in the first, and the speed was constant at V=V0 in the second, then I could imagine combining the two results in some way. But you would have no information about the effect of varying f and V at the same time. A typical RSM might have an f*V interaction.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!