I have a set of simulated data (df1) I've generated. I have a second set of data (df2) that I would like to compare and see if df1 can explain the observations of df2.
Ideally I'd like to plot the residuals and calculate least squares but I am not sure how to do this when I am comparing one set of data with another.
df1
time n
0.0000000 1
0.1268725 2
1.3128176 3
3.1765056 4
3.4091914 5
4.1245285 6
8.4518769 9
9.8119399 10
df2
n time
0 0
37 1
97 2
157 3