The piecewise-linear tag has no wiki summary.
2
votes
0answers
104 views
How to find a breakpoint for each ID in a linear regression model with R?
I have some repeated measures with 196 individuals and some of my regressions have a plateau. So I want to characterize this with an eventual breakpoint for each ID.
Example: subset of my personal ...
1
vote
2answers
295 views
Estimating two break points in a broken stick model with random effects in R
Five months ago, jbowman posted a very useful answer to estimate the break point in a broken stick model with random effects in R. I never use "computing" like ...
1
vote
2answers
350 views
How to determine if predictor in piece-wise linear regression is significant?
I saw a comment by mpiktas that "The sum of two independent t-distributed random variables is not t-distributed". Is it then of any known distribution?
Actually, I am using piece-wise linear ...
1
vote
1answer
201 views
Bootstrap distribution of a breakpoint not centered around its parameter estimate
I estimated the breakpoint for a piecewise linear model (one intercept, two slopes that meet at the breakpoint) by minimizing the deviance using an optimizer (optim ...
1
vote
1answer
1k views
How to use segmented package to fit a piecewise linear regression with one breakpoint?
Sorry to ask a stupid question, but I have problems using the package segmented.
My linear regression is very simple, between offer and demand:
linearModel <- lm(demand~offer)
And so should ...
6
votes
2answers
1k views
Estimating the break point in a broken stick / piecewise linear model with random effects in R [code and output included]
Can someone please tell me how to have R estimate the break point in a piecewise linear model (as a fixed or random parameter), when I also need to estimate other random effects?
I've included a toy ...