توضیح 1
Covariance gives direction but depends on units.
Loading
درس 10 از 15
Measure linear association while checking nonlinear patterns, restricted range, and influential observations.
Theory
Measure linear association while checking units, nonlinear patterns, restricted range, and influential observations. The examples in this lesson use fictional STATLAB Academy business data and independently written explanations.
توضیح 1
Covariance gives direction but depends on units.
توضیح 2
Pearson correlation standardizes linear association to -1 through 1.
توضیح 3
Outliers and restricted range can change the coefficient.
نمادگذاری و فرمولها
r = covariance(x, y) / (s_x * s_y)
Measure linear association while checking units, nonlinear patterns, restricted range, and influential observations.
فعالیت تعاملی
Pearson correlation
0.99
Sensitive to influential points and restricted range.
Association does not by itself establish causation.
ارتباط با R
Run and edit the code, inspect printed output, and use the movable R Code Guide for line-by-line help.
Live R Lab
Calculate covariance, Pearson correlation, a correlation matrix, and an outlier sensitivity comparison.
Ready to run
مثال حلشده
سناریو
A fictional training organization needs to use covariance and correlation to support an operational decision.
The best summary is the one that fits the question, data structure, units, and distribution.
Interpretation safeguard
Association does not by itself establish causation.
Dataset provenance
Original synthetic data generated for STATLAB Academy. No textbook data used.
بازاندیشی
Name the question, data structure, units, chosen method, and one limitation.
دستیار
Coach me through Covariance and Correlation without giving direct quiz answers or writing my final report. Ask me to justify assumptions, units, and interpretation.