Linear regression

Occasional Visitor

I've been trying for a while now to perform a simple linear regression with two columns of data, but I can't get the X and Y variables to accurately depict the data. the scatterplot looks like a checkers board and nothing I can do seems to fix it. 

2 Replies

@Jmadsen01 Would be helpful if you could show some data and explain what you have tried so far.

There is likely nothing wrong with your scatterplot. But, you sound like you are trying to create a linear regression where at least one of your variables is ordinal (not interval or ratio). For example, if one of your variables is a frequency variable (eg. number of visits) and its value ranges from 0 to 8, then you will likely see a checker scatterplot if you plot it against, for example, another variable like $ average amount which is an interval or ratio variable.