Skip to content
Prev 257882 / 398502 Next

Multi-dimensional non-linear fitting - advice on best method?

On Apr 24, 2011, at 02:38 , Julian Gilbey wrote:

            
I believe the gnls function in the nlme package is your friend. It's a bit involved but the basic idea is to stack the two response variables and use a weights argument with a varIdent structure with variance depending on whether it is a y1 or a y2 observation. You can also specify a within-pair correlation.