Worked Example of Positive Correlation: A Transparent Numerical Scenario

Learn positive correlation worked example assumptions limitations.

Direct answer: what a worked example of positive correlation shows

Positive correlation means that when one variable tends to increase, the other variable also tends to increase (and when one tends to decrease, the other tends to decrease). A worked example makes this concrete by using paired data values and showing how the correlation calculation reflects the “same-direction movement” pattern.

In practice, the key idea is descriptive: correlation summarizes how strongly two time-aligned series move together. It does not prove causation, and it does not guarantee future similarity.

Mechanism or definition: set up variables and a correlation measure

To illustrate, consider two generic, time-aligned variables measured over the same 5 time points:

  • X: the value of variable X at times t1–t5
  • Y: the value of variable Y at times t1–t5

A common numerical measure is the Pearson correlation coefficient, r, which ranges from -1 to +1:

  • r > 0 suggests positive correlation (same-direction movement)
  • r = 0 suggests no linear relationship
  • r < 0 suggests negative correlation (opposite-direction movement)

Assumptions for a “worked example” calculation:

  1. X and Y are paired by time (t1 with t1, etc.).
  2. The relationship being summarized is roughly linear.
  3. The numbers are treated consistently (same units or comparable transformations, if any).

Evidence or example: a fully numeric positive-correlation scenario

Assume the following 5 paired observations (units are arbitrary):

  • X = [1, 2, 3, 4, 5]
  • Y = [2, 4, 6, 8, 10]

These series increase together at a constant proportional rate. Now compute r (Pearson correlation).

Step 1: find the means.

  • mean(X) = (1+2+3+4+5)/5 = 3
  • mean(Y) = (2+4+6+8+10)/5 = 6

Step 2: compute deviations from the mean and their products.

  • For X: X-mean(X) = [-2, -1, 0, 1, 2]
  • For Y: Y-mean(Y) = [-4, -2, 0, 2, 4]

Products of deviations:

  • (X-mean(X))*(Y-mean(Y)) = [8, 2, 0, 2, 8]
  • Sum = 20

Step 3: compute standardization terms.

  • Sum of squares for X deviations = (-2)^2+(-1)^2+0^2+1^2+2^2 = 10
  • Sum of squares for Y deviations = (-4)^2+(-2)^2+0^2+2^2+4^2 = 40

Step 4: compute r.

  • r = sum[(X-mean(X))(Y-mean(Y))] / sqrt[(sum(X-dev^2))*(sum(Y-dev^2))]
  • r = 20 / sqrt(10*40) = 20 / sqrt(400) = 20/20 = 1

Result: r = 1, indicating perfect positive linear correlation under these assumed, perfectly proportional data.

Material limitation shown by this example: the relationship is “built in.” If real-world data are noisy (rather than perfectly proportional), r will usually be less than 1 even when the variables often move in the same direction.

Limitations and risks: why positive correlation can still mislead

  1. Correlation does not imply causation. Two variables can move together due to a shared third factor, coincidental co-movement, or time alignment artifacts.

  2. Stability can fail across market regimes. A relationship measured in one period may not hold later if volatility, liquidity, or behavior changes. The same pair of variables can show high positive correlation in one regime and weaker correlation in another.

  3. Linear-correlation limitation. Pearson correlation captures linear co-movement. If the relationship is nonlinear or changes shape, r may understate a meaningful dependency.

  4. Data and measurement issues. Correlation is computed from specific sampling times. Changing sampling frequency or using misaligned time stamps can change r.

  5. Costs and execution effects (general point). Even if two series are positively correlated, translating that pattern into real outcomes can be affected by transaction costs, timing, and practical execution constraints. Correlation describes co-movement; it does not model these extra frictions.

Verification or next question: how to independently check positive correlation

To verify positive correlation for your own pair of variables, you can:

  • Collect paired values X(t) and Y(t) for the same time points.
  • Plot X vs. Y (scatter plot) to see whether points trend upward.
  • Compute Pearson r using the steps above (or a calculator/tool) under consistent assumptions.
  • Test sensitivity by recomputing r for different time windows and checking whether the sign stays positive.

A useful next question is: “Does the correlation remain positive when the time window changes?

Trading foreign exchange and CFDs involves substantial risk. Information on FoxiForex is educational and is not personal financial advice. Sponsored placements are labelled clearly.