I am trying to fit an isotonic step function to my data. Every isotonic
step regression function (I've tried isoreg, pava, etc) 'finds' multiple
points of increase (steps) across my dataset. However, I would like to
limit the steps to 7, because given my understanding of the data, I expect
exactly 7 sudden points of increase.

(I will then see if the steps predicted by the regression occur at the regions
I expect them to.)

Could anyone please help me restrict the number of points to 7 or any
other defined
number? I would really appreciate it.

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to