# Re: [ferret_users] regression issue: one variable VS another variables

• To: David Wang <climater@xxxxxxxxx>
• Subject: Re: [ferret_users] regression issue: one variable VS another variables
• From: yangxing zheng <yangxingz@xxxxxxxxx>
• Date: Wed, 18 Mar 2009 10:19:14 -0700 (PDT)
• Cc: ferret_users@xxxxxxxx
• Sender: owner-ferret_users@xxxxxxxx

```Hi,

Thanks for help. But I am still not clear.

My question is: sst, a function of time, is an independent variable. and u is a dependent variable, which is also a function of time. How can we make a line plot when u is regressed onto sst? Apparently sst as an independent variable is not originally monotonic, it has be reshaped, right?

The FAQ indicates that regresst only describes how to regress a variable (a function of time) into the independent variable T, Am I right? For example, we can do regression sst vs T using regresst.jnl

The attached figure is a scatter plot of u (in Y-coordinate) VS sst ( in X-coordinate). Can you explain more details for my case?

yx

--- On Wed, 3/18/09, David Wang <climater@xxxxxxxxx> wrote:

> From: David Wang <climater@xxxxxxxxx>
> Subject: Re: [ferret_users] regression issue: one variable VS another variables
> To: "yangxing zheng" <yangxingz@xxxxxxxxx>
> Cc: ferret_users@xxxxxxxx
> Date: Wednesday, March 18, 2009, 8:29 AM
> Hi Yangxing,
>
>
> http://ferret.pmel.noaa.gov/FERRET_17sep07/FAQ/analysis/regressions.html
>
> It's the least square fit.
>
> HTH,
> D.
>
> On Tue, Mar 17, 2009 at 7:56 PM, yangxing zheng
> <yangxingz@xxxxxxxxx> wrote:
>
> > Hi,
> >
> >  I do have two variables like area averaged sst, and u
> (zonal winds) from l
> > = 1:100 (for simple case, sst and u only has one
> dimension of time)
> >
> >  we can make scatter plot
> >  plot/vs sst,u
> >
> >  Now I want to see how sensitive of u to sst, we
> usually plot a line that
> > describe the relationship between u and sst. How can
> we make it in ferret?
> >
> >  Attached is one example of scatter plot.
> >
> >   Thanks.
> >
> >   yx
> >
> >
> >
>
>
> --
> life grows, death doesn't. there is no dress rehearsal.

```