notes/education/statistics/Correlation and Regression.md

19 lines
1.0 KiB
Markdown
Raw Normal View History

2023-12-12 21:38:14 +00:00
(Chapter 8, STAT 1040)
# Correlation
## Scatter Diagrams
A scatter diagram or scatter plot shows the relationship between two variables. One variable is on the X axis, the other on the Y axis.
2023-12-12 21:43:22 +00:00
### Association
2023-12-13 21:03:19 +00:00
- Positive association is demonstrated when the dots are trend upward as $x$ increases.
- Negative association is demonstrated when the the dots trend downward as $x$ increases.
2023-12-12 21:43:22 +00:00
- Strong association is demonstrated when dots are clustered tightly together along a line.
- Weak association is demonstrated when dots are not clustered tightly.
## Correlation
2023-12-13 21:03:19 +00:00
Correlation is between `-1` and `1`. Correlation near 1 means tight clustering, and correlation near 0 means loose clustering. $r$ is -1 if the points are on a line with negative slope, $r$ is positive 1 if the points are on a line with a positive slope. As $|r|$ gets closer to 1, the line points cluster more tightly around a line.
2023-12-12 21:38:14 +00:00
# Terminology
| Term | Definition |
2023-12-13 21:03:19 +00:00
| -- | -- |
| $r$ | Correlation Coefficient |
| Linear Correlation | Measures the strength of a line |