[Thread Prev][Thread Next][Index]

[ferret_users] Confidence intervals in a linear regression



Hi:
I want to plot a regression line associated to two variables: temperature and pressure, e.g.:

I know that the scatter plot is well done with regressionxy, similar to regressionx,
obtained from a previous post (http://ferret.pmel.noaa.gov/Ferret/Mail_Archives/fu_2006/msg00403.html)

let p=temp
let q=slp
plot/vs p,q

Which also give me some statistics (correl, slope, intercep).
I can even plot over the scatter data the linear regression adjustment with

plot/vs/line/over p,qhat

My question is the following: could it be possible also to plot the confience
intervals over the linear line and the points?, let's say 95% confidence ones.
Or even the error bars? I don't care if it is only a stright line band, instead
the more precise curve from a t-test, but I don't know how to do it,
my statistical background is not very high, so I don't know it parameters
from regression script allows me to plot confidence intervals lines.

Thanks a lot in advance,

Enrique Sanchez
Depto. Geofisica Meteorologia
Universidad Complutense Madrid
Madrid (Spain)

[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement