Re: [R] best way to fit a model

From: Ronaldo Reis-Jr. <chrysopa_at_insecta.ufv.br>
Date: Wed 14 Sep 2005 - 02:24:02 EST

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                 ]
|  /(: :'  :)\ [chrysopa@insecta.ufv.br            ]
|>/ (`. `'` ) \[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
Received on Wed Sep 21 02:33:33 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:40:15 EST