From help-octave-request at bevo dot che dot wisc dot edu Wed Feb 25 08:02:15 2004 Subject: bivariate linear Regression with correlated errors From: Andreas Gaab To: Octave list Date: Wed, 25 Feb 2004 14:55:28 +0100 Due to lack in statistics, I could need some help... -my data set is bivariate with highly correlated errors. -I need to calculate a weighted linear regression with a standard error on the slope -wpolyfit.m takes only dy ... and my knowlege is too small to use basic statistics. Is there a possibility to enhance wpolyfit.m or can it be done with gls or ols ? The reference in literature, I would like to apply is: York, 1969, Least squares fitting of a straight line with correlated errors, Earth and Planetary Science Letters 5 alternatively, Williamson 1968, Least-squares fitting of a straight line, Can. J. Phys. 46 Thanks a lot in advance! *********************************************** Andreas S. Gaab PhD-student Max-Plank-Institut f"ur Chemie mailto:gaab at mpch-mainz dot mpg dot de surfto:www.mpch-mainz.mpg.de phoneto:06131/305-394 mobileto:0177/7386928 writeto:karmeliterplatz4.55116.mainz ************************************************ ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------