I know that I can use PGFPlots to calculate a linear regression with the
create col/linear regression command.
I have a set of data that is curved for the first few points, but linear for the remainder of the data set. I want to find a linear regression but ignore the first n points from my data file in my regression. Is this possible with PGFPlots?
A contrived example of this data would be:
x y 0 0 1 15 2 25 3 28 4 30 5 31 6 32 7 33 8 34 9 35 10 36
where the curve is linear starting at x = 4. A plot of this looks like:
One (not great) solution I can think of is to make a new data set without the data points and run my regression on this new set.