Time-series slope over a range: the rate of change in a window

Many series have a phase that matters — the linear growth phase, the release between two time points, the warming after a switch — and the question is the rate in that phase. MinutePlot fits an ordinary least-squares line to the points inside a window you choose and reports the slope with its standard error, R² and p, for every series in the table.

The data

Time in the first column, one column per series (two cultures here):

t (h)Culture ACulture B
00.120.11
20.150.13
40.310.22
60.620.41
80.950.63
101.240.86
121.311.05
141.331.12

Series layout: x in the first column, each further column one series; blank cells are simply skipped.

In MinutePlot

Choose Time-series slope over a range, paste the table, set the window (here 4–10 h, the exponential-looking stretch) and run. The figure shows every series with the window shaded and the fitted line drawn through it; the table gives slope, SE, R², p and n per series. The endpoint slope and the area under the curve are available as alternatives to the fitted line.

The result

Culture A: 0.156 per hour (R² = 0.99, p < 0.001); culture B: 0.108 per hour (R² = 0.99, p < 0.001). Both rates are precisely estimated, and A grows about 45 % faster in the window.

Two growth curves with the fitted window and its lines

The figure MinutePlot produces: both series, the chosen window, and the fitted line through each series inside it.

Report it like this

“Between 4 and 10 h, optical density rose at 0.156 h⁻¹ in culture A and 0.108 h⁻¹ in culture B (linear fits, R² > 0.99, p < 0.001).”

Try it yourself — in a minute. Paste the table above into MinutePlot, press Confirm and Analyze, and you will get this exact analysis and a publication-ready figure with the letters placed for you. Open MinutePlot in your browser — free 14-day trial, no card needed.
References
  1. Montgomery, D. C. (2017). Design and Analysis of Experiments (9th ed.). John Wiley & Sons.