Em Sex 09 Set 2005 15:25, Achim Zeileis escreveu: > On Fri, 9 Sep 2005 14:55:04 -0300 Ronaldo Reis-Jr. wrote: > > Hi, > > > > I have some data that have this behaviour: > > |******* > > | * > > | * > > | * > > | * > > |---------------- > > > > What is the best and simpler way to fit this in R? > > If the changepoint is known, then this is straightforward using lm: >
I try this. But my doubt now is: How to justify this kind of analysis? Why dont use any linearized or non linear regression to fit this? Something like a log function (I try but is not a good function). Thanks Ronaldo -- Your reasoning is excellent -- it's only your basic assumptions that are wrong. -- |> // | \\ [***********************************] | ( õ õ ) [Ronaldo Reis Júnior ] |> V [UFV/DBA-Entomologia ] | / \ [36570-000 Viçosa - MG ] |> /(.''`.)\ [Fone: 31-3899-4007 ] | /(: :' :)\ [EMAIL PROTECTED] ] |>/ (`. `'` ) \[ICQ#: 5692561 | LinuxUser#: 205366 ] | ( `- ) [***********************************] |>> _/ \_Powered by GNU/Debian Woody/Sarge ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html