<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2604" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN
class=281140704-15032005>Hello,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=281140704-15032005>I have plotted an XY
scatter plot for an x series and y series with n number of time points.I have
been able to calculate a regression line for this data using the <EM><FONT
color=#ff0000>tregr</FONT> </EM>function. However, this line passes through the
origin and thus does not give a real 'line of best fit' for my data set. Does
anyone have a script or know of a inbuilt function that will calculate a line of
best fit for a plotted X-Y data set? Thanks in advance.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=281140704-15032005>lyn</SPAN></FONT></DIV></BODY></HTML>