Questions tagged [piecewise-linear]

74 questions
4
votes
3 answers

Piecewise linear with constraints with the segmented function on R

I want to make a piecewise linear regression in R. I have a large dataset with 3 segments where I want the first and third segment to be without slope, i.e. parallel to x-axis and I also want the regression to be continuous. I have a small example…
3
votes
2 answers

Piecewise regression vs multiple models

Say you have a piecewise regression model with one breakpoint. Is there any difference between that and just creating a separate simple regression model for each segment of the IV?
Ashish
  • 305
  • 2
  • 3
  • 13
2
votes
1 answer

Are the slopes of two segmented lines important in recognition of a breakpoint?

I have found one breakpoint in my linear regression but the slope of two lines have the same decreasing slope, I was wondering if the change of the slope is necessary in recognition of breakpoints.
SiSi
  • 21
0
votes
0 answers

Can I set the breakpoint of piecewise regression by medical reference?

I want to prove different regression coefficient for SBP on BMI according to BMI categories. So I want to use piecewise regression. BMI is categorized by WHO guideline which means medicaly proven breakpoint. (<18.5 , 18.5-23, 23-25, 25-30,…