Skip to content
Prev 76981 / 398502 Next

best way to fit a model

You might want to look at the "segmented" package on
http://cran.r-project.org and the accompanying paper. Some important
questions are: is the point at which the data changes from flat to
decreasing known? (I presume not...) Does it correspond to some change in
the process being measured? Do you want to estimate it? 

Reid Huntsinger

-----Original Message-----
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Ronaldo Reis-Jr.
Sent: Friday, September 09, 2005 1:55 PM
To: R-Help
Subject: [R] best way to fit a model


Hi,

I have some data that have this behaviour:

|
|*******
|        *
|          * 
|            *
|              *
|----------------

What is the best and simpler way to fit this in R?

Thanks
Ronaldo