Skip to main content

Questions tagged [piecewise-linear]

2 votes
2 answers
97 views

I’m analyzing longitudinal data with three timepoints: Time 0 = baseline Time 12 = post-treatment Time 24 = follow-up Because the treatment occurs at Time 12, I’m modeling a potential change in ...
AndroidPandroid's user avatar
2 votes
0 answers
87 views

I’m fitting a piecewise SEM where the response is observed at the plot × year level, but several endogenous predictors are measured once per site × year. I fit each submodel at the level of its ...
camila's user avatar
  • 209
2 votes
1 answer
102 views

I’m fitting a piecewise SEM to understand drivers of a grass species' productivity. My data span ~20 years at a single location. Two variables are plot-level (3 plots) that were repeatedly sampled: • ...
camila's user avatar
  • 209
0 votes
0 answers
63 views

I am currently using the "segmented.lm" function to detect a change point in my data. At this stage I am trying to figure out how to derive the SE of the y value of the corresponding change ...
a.henrietty's user avatar
5 votes
2 answers
178 views

I would like to know if there is a statistical analysis to determine differences between regions of a curve/regression across two treatments. I know there are several statistical analyses for ...
Zard22's user avatar
  • 83
0 votes
1 answer
168 views

I am learning how to specify and plot piecewise regressions and have encountered a confusing situation. Namely, I have specified the knot for a piecewise regression using 2 methods: (1) manual and (2) ...
Yat-Hon's user avatar
  • 13
7 votes
3 answers
2k views

I do not understand properly what a spline does even in a simple situation of a piecewise regression, and I need some help. Consider the following basic example: ...
denis's user avatar
  • 253
1 vote
0 answers
265 views

I try to explain my question with a simple example. Let's say we have two variables $x_1$ and $x_2$. At the first two stages of the forward pass, effects of $x_1$ with a knot at $a_1$ and $x_2$ with a ...
Shahin Roshani's user avatar
1 vote
0 answers
77 views

I have longitudinal data from a two-group RCT in which the primary outcome was assessed at baseline, each week during the intervention, post-test and 5-month follow-up (6 times total). I am modeling ...
yeshe's user avatar
  • 11
6 votes
2 answers
356 views

I am trying to predict housing prices using as few variables as possible. One way that yielded the best results so far is splitting the data into two data-sets ($houses < 100m^2$ and $houses >= ...
Anton's user avatar
  • 61
1 vote
0 answers
60 views

My data consist ~130 observations. Each observation has several thousand features (including many collinear or otherwise useless features) and a position along a single spatial dimension. Some sets of ...
Neuromancer's user avatar
0 votes
0 answers
596 views

I am trying to fit a multiple piecewise linear regression model, where I coerce the model to have the exact terms I want. For example, let's say I want to fit the exact model below, with predictors $...
Florent H's user avatar
  • 153
0 votes
1 answer
165 views

I am having trouble with this segmented regression as it requires two constraints and so far I have only treated single constraints. Here is an example of some data I am trying to fit: ...
leonardo's user avatar
10 votes
1 answer
4k views

I was looking for the difference between spline regression and piecewise regression. Can someone please explain it to me? Also, if someone can provide me good reference on these 2 topics, with ...
ragas's user avatar
  • 277
1 vote
0 answers
99 views

I am hoping to get some help in understanding whether the intercept terms are required in the objective function for piecewise linear programming (using the below code). ...
Marley's user avatar
  • 11

15 30 50 per page
1
2 3 4 5 6