Closed 0todd0000 closed 2 years ago
From your data description it sounds like two separate linear regression tests might be appropriate. In the spm1d package a relevant example script is:
./spm1d/examples/stats1d/ex1d_regression.m
Note that there are two different built-in datasets you can use for this script; the Y
and x
variables in these datasets should clarify the required data format.
(This is paraphrased from an email question.)