what exactly is a correlation of zero meant to be, does that mean that changes in x does not affect y, if that is the case, from the scatter plot
That is completely false, as sometimes as x increases, y decreases or increases
Cross Validated is a question and answer site for people interested in statistics, machine learning, data analysis, data mining, and data visualization. It only takes a minute to sign up.
Sign up to join this communitywhat exactly is a correlation of zero meant to be, does that mean that changes in x does not affect y, if that is the case, from the scatter plot
That is completely false, as sometimes as x increases, y decreases or increases
From JMP: Introduction to Statistics: Correlation:
What is correlation?
Correlation is a statistical measure that expresses the extent to which two variables are linearly related (meaning they change together at a constant rate). It’s a common tool for describing simple relationships without making a statement about cause and effect.
Key points to highlight from that is that a correlation describes the relationship between two variables, assumes the relationship is linear, and it does not make any assumptions about cause and effect.
Thus, firstly addressing what you stated, we can never say whether x does or does not affect y. If we say "affect," we would be implying cause and effect, where x is a cause to effect y. A classic example of a correlation-not-causation is the negative relationship between pirates and global warming; the correlation does not mean the reduction of pirates over the years causes an increase in global temperatures.
(Figure from Wikipedia)
The correlation coefficient describes the strength and direction of the relationship between two variables that are linearly related. When the correlation is zero, it means the two variables are not related, assuming the relationship would have been linear. If you have a scatter plot with a perfect U-shape relationship, for example, where y is seen to sometimes increase and sometimes decrease as x increases, you will get a correlation coefficient equal to zero, but it clearly violates the assumption of linearity. The figure below shows a couple of examples that violate the assumption. Practically, the correlation coefficients wouldn't make sense there.
(Figure from JMP)
The further away the correlation coefficient is from zero (towards -1 or +1), the stronger the relationship between two variables is. Generally speaking, when there is a relationship, the relationship is stronger when the x and y values are closer to the line of best fit (least squares) on a scatter plot (see the figure below). In other words, the correlation coefficient can also be interpreted as the "goodness of fit" of the best fit line.
(Figure from QuestionPro)
A more thorough description about correlations can be found at JMP: Introduction to Statistics: Correlation.