NOAA-PMEL / PyFerret

The PyFerret program and Python module from NOAA/PMEL
https://ferret.pmel.noaa.gov/Ferret/
The Unlicense
58 stars 22 forks source link

[Pyferret] How to do Multivariate Linear Regression in pyferret? #117

Open ruhuihuang opened 2 years ago

ruhuihuang commented 2 years ago

We all know it is easy to do Linear Regression with one variable. Here I was wonder how can we do Multivariate Linear Regression in pyferret? For example, if we have three variables called X1,X2,X3,how can we realize multivariate Linear fit as the following formula to get all the slopes: y=Slope1X1+Slope2X2+Slope3*X3+error Looking forward to anyone's useful help, Thank you so much.