Marc Fischer
2008-Jul-27 18:29 UTC
[R] equivalent R functions for Numerical Recipes fitxy and fitexy ?
Dear Folks, We need to fit the model y~x assuming there are random errors in both x and y. Numerical Recipes (Press et al.) have two useful functions, fitxy and fitexy, which handle cases of unspecified and specified errors respectively. Are there equivalent functions in base R or a installable package? Alternatively, has anyone written a wrapper to provide an interface to a library of Numerical Recipes routines constructed for Linux? Kind regards, Marc
Marc Fischer
2008-Jul-27 23:49 UTC
[R] equivalent R functions for Numerical Recipes fitxy and fitexy ?
Dear Folks, We need to fit the model y~x assuming there are random errors in both x and y. Numerical Recipes (Press et al.) have two useful functions, fitxy and fitexy, which handle cases of unspecified and specified errors respectively. Are there equivalent functions in base R or a installable package? Alternatively, has anyone written a wrapper to provide an interface to a library of Numerical Recipes routines constructed for Linux? Kind regards, Marc
Liaw, Andy
2008-Jul-31 13:23 UTC
[R] equivalent R functions for Numerical Recipes fitxy and fitexy ?
Not a direct answer to your questions, but for error-in-variables problems, there are newer technologies than what is in NR. For example: install.packages("simex") library(simex) example(simex) Andy From: Marc Fischer> > Dear Folks, > > We need to fit the model y~x assuming there are random > errors in both > x and y. Numerical Recipes (Press et al.) have two useful > functions, > fitxy and fitexy, which handle cases of unspecified and specified > errors respectively. > > Are there equivalent functions in base R or a installable package? > Alternatively, has anyone written a wrapper to provide an > interface to > a library of Numerical Recipes routines constructed for Linux? > > Kind regards, > > Marc > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >Notice: This e-mail message, together with any attachme...{{dropped:12}}