[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Polyfit with three variable

From: Andreas Stahel
Subject: Re: Polyfit with three variable
Date: Sun, 20 Dec 2020 11:04:53 -0600 (CST)

mmuetzel wrote
> Am 20. Dezember 2020 um 15:57 Uhr schrieb "swagata Mukherjee":
>> Hi,
>> My question is whether we have any method by which I can use regression
>> with 3 variables like polyfit(x,y,z,N)?
>> Regards 
> This answer on the discourse forum might be helpful:
> In principle, that approach also works for multi-dimensional polynomials
> of higher degree.
> HTH,
> Markus

The linl given by Markus is a good one.

You might have a look at the command LinearRegression() in the optimization
package or the command regress().
To deal with multiple variable have a look at Section 2.2 in
Example 2 (p. 162) and Example 4 (p. 168) use multiple variables.

I hope this helps


Sent from:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]