[R] solving for a transition point in a piecewise nonlinear model

From: Robert Musk <rmusk_at_postoffice.utas.edu.au>
Date: Wed 14 Jul 2004 - 14:43:34 EST


I want to fit a piecewise nonlinear model in which the transition point is an estimated parameter.

Something like:

F(x)=F1(x) when x>alpha,
F(x)=F2(x) when x<=alpha.

How can I solve for alpha within the nls call?

Thanks,
Rob



R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Wed Jul 14 14:49:30 2004

This archive was generated by hypermail 2.1.8 : Fri 18 Mar 2005 - 02:35:56 EST