[R] Segmented Error Message

From: Alexander Sherman <arsherma_at_eco.umass.edu>
Date: Tue, 26 Apr 2011 15:47:50 -0400

Hi All,

I am trying to use the segmented package to determine the break point in a simple quadratic regression. I am receiving the error "(Some) estimated psi out of range"

I searched the message board and found others that have had the same issue, but no clear solutions have been provided. Does anyone know of a solution to this error?

Here is my model and segmented code.

aclmfit<-lm(caliper~TreeAge + TreeAge2, data=ac2)

ac.seg<-segmented.lm(aclmfit,seg.Z=~TreeAge + TreeAge2, psi=list(TreeAge=c(3,4,5), TreeAge2=c(0,16,25)))

Thanks for the help,


Alexander R. Sherman
ISA Certified Arborist NE-6472A
Research Assistant
Department of Environmental Conservation
University of Massachusetts
Room 225
160 Holdsworth Way
Amherst, MA 01003

R-help_at_r-project.org mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Tue 26 Apr 2011 - 20:23:35 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 26 Apr 2011 - 20:30:33 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive