Re: [R] multiple linear regression with quadratic function

2016-02-23 Thread Bert Gunter
Inline. -- Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Tue, Feb 23, 2016 at 2:42 AM, wrote: > Dear R community, > this is probably a well-known topi

Re: [R] multiple linear regression with quadratic function

2016-02-23 Thread peter dalgaard
That's pretty standard. Some call it "response surface analysis". Of course you need to check assumptions like homoscedasticity on the log scale, etc. It's not really an R question, specifically; so stats.stackexchange.com is a better avenue for more detailed discussions. As far as R goes, you j

[R] multiple linear regression with quadratic function

2016-02-23 Thread james.foadi
Dear R community, this is probably a well-known topic to some of you, but I am not well into it and would like some clarifications or even jus some suggestions. I have a quadratic scalar field: F(x,y)=K*exp(-(a*x^2+b*y^2+c*x*y)) I also have a random set of positive x,y values and related