I have created a simple scatterplot to analyse the correlation between two variables, x and y. Using the abline command, I added a trendline to this data. I now want to know the formula for this trendline. Is there a command that will give this formula as one is able to do in a simple Excel scatterplot?
closed as off topic by chl♦ Oct 11 '12 at 10:35
Questions on Cross Validated are expected to relate to statistics within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.
This should get you going.