q.Quantitative TradingEnglish course · Lesson 10 of 24Course home

Lesson 10 / Correlation, Regression, and Causation

If two assets move together, can one predict the other?

Correlation summarizes how two series move together. Use paired returns to study slope, volatility, and residual exposure after hedging. Then consider timing and causal explanations.

What you will learn

  1. Explain the difference between correlation and slope
  2. Identify the exposure left by an equal-notional hedge
  3. Check whether the data align in time and whether common causes could explain the relationship

Allow about 30–45 minutes. The exercises use fictional data. The page checks structured answers in your browser. Export your work before refreshing.

Start with the concepts ↓
Concept 01

Start with paired observations

Each observation must pair returns measured over the same interval. Plot a scatterplot before checking Pearson correlation. It measures linear association from −1 to 1 and is undefined if either series has zero variance.

Price levels that trend upward together can create an apparent relationship. Returns, spreads, and price levels answer different questions. Choose the variable that fits your question before examining correlation.

Concept 02

Correlation of 1 can coexist with twice the volatility

A returns −2%, −1%, 1%, 2%, and B returns exactly twice as much in each period. Correlation is 1, but B's movements are twice as large. In the regression B = intercept + slope × A + residual, the slope is 2 and the intercept is 0.

Real relationships usually have residuals and can change over time. A fitted line describes the observed sample.

Concept 03

Check hedge results in yuan

Take 1,000 yuan notional on each side, long A and short B. In the first period, A loses 20, the short B earns 40, and net P&L is +20. In the final period the combined result is −20. Equal notionals leave some price exposure.

In this example with a fixed ratio, reducing B's notional offsets the linear movement. Currency, margin, borrowing shares, and differences in fill timing matter in practice. Those risks remain even if the numbers balance in the model.

Concept 04

Common causes and timing

The same raw-material price can affect both companies' stocks. That common exposure can explain why their prices move together. If A moves first, trading hours, publication timing, or delayed market data can explain the order.

Check when each observation was available before discussing prediction. Reporting only the strongest correlation after scanning thousands of pairs hides the selection process. Pearson correlation can also miss nonlinear relationships.

Experiment · Predict the outcome, then change one input

Correlation, Regression, and Causation experiment

Compare each period's P&L from going long 1,000 in A and short 1,000 in B. Switch among a multiple, an inverse, and a constant return for B. Predict when correlation can be calculated.

Use four fictional pairs of period returns. Reset both notionals to 1,000 yuan every period and ignore costs. Compare the period P&L figures as separate examples.

Practice with fixed inputs

Try the calculations

Use the values in each question. Enter amounts and percentages in the requested units, including a minus sign where needed.

Knowledge check

Explain your reasoning

1. Does a correlation of 1 mean the two series have the same volatility?
2. What is the Pearson correlation if B stays constant?
3. If A rises before B, does that establish causation?
4. Do zero residuals in sample imply zero future error?

Record your work

Lesson work

Document the checks you would make on a relationship.

Review the relationship between two returns

Asset A returns −1% and +1% in two periods. Asset B returns −3% and +3%. Describe these two pairs only. At the start of each period, reset to 1,000 yuan notional long A and 1,000 yuan notional short B. Ignore fees.

Complete the questions below before trying the optional writing exercise. Use the fixed inputs here, even if you changed the experiment above. Enter numbers in the units shown and keep at least two decimal places where needed. Follow the specified precision for tables. You can check one answer at a time or all answers together.

1. Slope from regressing B's returns on A's returns
Reference answer (try the question first)
2. Pearson correlation for these two return pairs
Reference answer (try the question first)
3. Combined gross profit or loss from both legs in the first period
yuan
Reference answer (try the question first)
4. Does this sample show that changes in A cause changes in B?
Reference answer (try the question first)

Save your homework to export these results. Check again after changing an answer. Optional writing and self-assessment are ungraded. Save your work before refreshing.

Optional writing (ungraded)

Writing guidance and self-review

Record the inputs, rules, results and open questions in each field. You can cite the earlier calculations and experiments as fictional examples. Tie each conclusion to specific data or events.

Use the checklist to review your own writing. Use evidence from the study to evaluate the strategy.

Save the experiment, the run log, your first and current checks, written work and self-review. Export before refreshing or closing the page.