I have some data: x = 1 0 2 0 3 1 0 1 2 0;
y = 16 9 17 12 22 13 8 15 19 11; I'd like to generate an estimated regression function and plot the line on top of the data scatter plot. I tried searching for a tutorial or some kind of example, but couldn't find any (that I understood and that worked when i tried plugging them in).
... View more