I have participants who were measured two times. First, without any intervention. And second, with an intervention. Thus, I should use paired t-test as both measurements are normally distributed (controlled with Kolmogorov-Smirnov test and eyeballing(plotting)).
But how to replace this test with a linear regression? The following approach isn't correct as both groups include the same participants? Any other modelling options (multilevel etc)?
y ~ group