← Back to Blog
📅 2026-11-18 📂 Tags: FRM / Linear Regression Analysis / Statistics / LIN 👁 0 views

I. Basic Concepts of Linear Regression

In the Financial Risk Management (FRM) exam, linear regression analysis is one of the core tools for quantitative modeling. It establishes a linear relationship between a dependent variable (Y) and one or more independent variables (X), helping analysts forecast market volatility, assess asset correlations, or build risk models. The central idea is to find a straight line that minimizes the sum of the squared vertical distances from all observed points to the line. This process is called ordinary least squares (OLS).

The general form of a linear regression model is:
$$ Y = \beta_0 + \beta_1X + \varepsilon $$
where:
- $\beta_0$ is the intercept (constant term)
- $\beta_1$ is the slope coefficient (reflecting the degree to which X affects Y)
- $\varepsilon$ is the random error term

For the model to be valid, the classical assumptions must be satisfied: a linear relationship, independent and identically distributed error terms, no multicollinearity, and so on. In the FRM exam, candidates should focus on distinguishing between the correlation coefficient ($r$) and the coefficient of determination (R²):
- $r$ measures the direction and strength of the linear relationship between two variables (-1 ≤ r ≤ 1)
- R² represents the proportion of variation in the dependent variable explained by the independent variable (0 ≤ R² ≤ 1)


II. Core Formulas and Calculation Steps

Key Formula Quick Reference

  1. Slope coefficient:
    $$ \beta_1 = \frac{\sum{(X_i - \bar{X})(Y_i - \bar{Y})}}{\sum{(X_i - \bar{X})^2}} $$
  2. Intercept:
    $$ \beta_0 = \bar{Y} - \beta_1\bar{X} $$
  3. Correlation coefficient:
    $$ r = \frac{\sum{(X_i - \bar{X})(Y_i - \bar{Y})}}{\sqrt{\sum{(X_i - \bar{X})^2}\sum{(Y_i - \bar{Y})^2}}} $$

Worked Example: Stock Returns and a Market Index

Suppose an analyst collects data on market index returns (X) and stock returns (Y) over five trading days:
| Date | X (Market Index) | Y (Stock Return) |
|------|---------------|---------------|
| 1 | 0.5% | 0.8% |
| 2 | 1.2% | 1.5% |
| 3 | -0.3% | -0.4% |
| 4 | 2.0% | 2.7% |
| 5 | -1.0% | -1.3% |

Objective: Calculate the regression equation $Y = \beta_0 + \beta_1X$ and the R² value.

BA II Plus Steps:

  1. Clear data: Press 2nd → DATA → 2nd → CLR WORK
  2. Enter data:
  3. Press 2nd → DATA to enter data input mode
  4. Enter X values: 0.5 → ↓ → 1.2 → ↓ → -0.3 → ↓ → 2.0 → ↓ → -1.0
  5. Enter Y values: 0.8 → ↓ → 1.5 → ↓ → -0.4 → ↓ → 2.7 → ↓ → -1.3
  6. Calculate statistics:
  7. Press 2nd → STAT → ▼ and select LinReg(ax+b)
  8. The screen displays:
    • $a$ (intercept $\beta_0$) = -0.08
    • $b$ (slope $\beta_1$) = 1.35
    • $r$ (correlation coefficient) = 0.998
    • $r²$ (R²) = 0.996

Interpretation:
The regression equation is $Y = -0.08\% + 1.35X$, indicating that for every 1% increase in the market index, the stock rises by an average of 1.35%. An R² of 99.6% means the model explains 99.6% of the variation in stock returns.

💡 Tip: The RBA Calculator (download link) can perform the same calculation. Its iOS interface is more intuitive and is useful for quickly verifying results.


III. Common Mistakes to Avoid

  1. Confusing the correlation coefficient with R²
  2. Incorrect example: Assuming that $r = 0.8$ means the model explains 80% of the variation.
  3. Correct interpretation: $r² = 0.64$ is the explained proportion; $r$ only reflects the strength of the linear relationship.

  4. Ignoring residual analysis

  5. If the residual plot shows a nonlinear pattern (such as a parabola), the linearity assumption is violated, and polynomial regression may need to be considered.

  6. Misusing extrapolation

  7. For example, using a model fitted on historical data to predict extreme market conditions (such as the 2008 financial crisis) may produce serious errors if the underlying variable relationship breaks down.

  8. Overlooking multicollinearity

  9. When independent variables are highly correlated (such as GDP growth rate and industrial output), the variance of OLS estimators can increase sharply. The variance inflation factor (VIF) should be used to test for this issue.

IV. Frequently Asked Questions

Q1: How can you determine whether a regression model is valid?

Answer: The following conditions should be satisfied simultaneously:
- Significance testing: the t-statistic exceeds the critical value (typically |t| > 2)
- Goodness of fit: R² is relatively high, but overfitting should be avoided
- Residuals satisfy normality and homoscedasticity (checked using a Q-Q plot or the Breusch-Pagan test)

Q2: Which model is more reliable, R² = 0.9 or R² = 0.99?

Answer: A higher R² does not necessarily mean a more reliable model. For example:
- R² = 0.99 may result from overfitting due to a small sample size or inclusion of irrelevant variables;
- A model with R² = 0.9 that passes residual diagnostics may have better generalization ability.

Q3: How should outliers be handled in regression analysis?

Answer:
1. Identify outliers using box plots or Z-scores;
2. Try robust regression, or refit the model after removing outliers;
3. In the FRM exam, if the question does not specify otherwise, retain the outliers but note their potential impact.

Q4: Why must residuals satisfy homoscedasticity?

Answer: Heteroscedasticity means that OLS estimators remain unbiased but are no longer efficient. It also leads to incorrect standard errors, which affects the reliability of t-tests and confidence intervals. This issue can be addressed using the White test or weighted least squares (WLS).


V. Exam Preparation Strategies

  1. Formula memorization technique: Connect the OLS formulas to their intuitive meaning—minimizing the sum of squared errors—rather than memorizing them mechanically.
  2. Calculator proficiency: Practice the BA II Plus regression functions daily, with particular attention to data entry and result interpretation in STAT mode.
  3. Case simulation: Use historical financial data (such as stock returns and sector index returns) to calculate regression parameters independently and strengthen practical skills.
  4. Error review: Organize common mistake types (such as confusing $r$ and $r²$) and create a personal list of frequently misunderstood concepts.

By systematically mastering the mathematical principles and calculation logic of linear regression, candidates can score efficiently in the quantitative analysis module of FRM Part I. It is recommended to combine the official GARP curriculum with practice question banks and train repeatedly until problem-solving becomes fast and automatic.

📱 Need to practice?

RBA Calculator handles all TVM, NPV/IRR and bond calculations, matching the BA II Plus used in exams 100%.

Free Download on App Store

Don't want to download?Try the web calculators →