How to regress a three-variables function from two two-variables functions?
3 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Tom Lane
2013-7-24
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 个评论
Tom Lane
2013-7-24
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.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!