Re: [R] Fitting with error on data

2010-10-01 Thread Ted Harding
On 27-Sep-10 08:55:13, Maayt wrote: As this forum proved to be very helpful, I got another question... I'd like to fit data points on which I have an error, dx and dy, on each x and y. What would be the common procedure to fit this data by a linear model taking into account uncertainty on each

Re: [R] Fitting with error on data

2010-10-01 Thread Michael Bedward
There is the lmodel2 package... http://cran.r-project.org/web/packages/lmodel2/vignettes/mod2user.pdf Geometric mean regression has been discussed on this list in the past, for example: https://stat.ethz.ch/pipermail/r-help/2005-June/072927.html I've used that approach with nls (rightly or

[R] Fitting with error on data

2010-09-27 Thread Maayt
As this forum proved to be very helpful, I got another question... I'd like to fit data points on which I have an error, dx and dy, on each x and y. What would be the common procedure to fit this data by a linear model taking into account uncertainty on each point? Would weighting each point by