In the quantitative analysis module of FRM (Financial Risk Manager) Part 1, linear regression analysis is the cornerstone for building risk models and understanding relationships between variables. Whether it is VaR model construction for market risk or default probability prediction in credit risk, regression analysis is an indispensable tool. In this chapter, we will delve into the core logic of linear regression, focusing on the calculation principles of the Ordinary Least Squares (OLS) method and the LIN mode operations on the TI BA II Plus calculator, helping candidates score quickly in the exam.
Simple linear regression aims to describe the linear relationship between two variables, with the standard equation:
$$Y = \alpha + \beta X + \epsilon$$
where $Y$ is the dependent variable, $X$ is the independent variable, $\alpha$ is the intercept term, $\beta$ is the slope coefficient, and $\epsilon$ is the error term. In the FRM exam, understanding the economic meaning of the coefficients is crucial. $\beta$ represents the average change in $Y$ for a one-unit change in $X$. For example, in the capital asset pricing model, the $\beta$ coefficient measures the volatility of an individual stock relative to the market portfolio.
To obtain the best estimated parameters, we typically use the Ordinary Least Squares (OLS) method. The core idea of this method is to find a set of parameters $\alpha$ and $\beta$ that minimize the sum of squared vertical distances (residuals) from all observed points to the regression line. Mathematically, this is expressed as minimizing $\sum (Y_i - \hat{Y}_i)^2$. This method is unbiased and efficient in statistics, and it is a core algorithmic logic that must be mastered in the FRM quantitative section.
When calculating manually or understanding formula derivations, candidates need to remember the formulas for the slope and intercept:
$$\beta = \frac{\sum (X_i - \bar{X})(Y_i - \bar{Y})}{\sum (X_i - \bar{X})^2} = \frac{Cov(X,Y)}{Var(X)}$$
$$\alpha = \bar{Y} - \beta \bar{X}$$
In addition, the goodness of fit $R^2$ is also a frequent exam point; it represents the proportion of the variance in the dependent variable explained by the regression model. The closer $R^2$ is to 1, the better the model fit. In the actual FRM exam, manually calculating these formulas is not only time-consuming but also prone to errors, so mastering the calculator's statistical functions is key to scoring.
Example:
Suppose an analyst collects the following 5 pairs of market returns (X) and stock returns (Y) to calculate the stock's Beta coefficient.
| Observation | X (Market Return) | Y (Stock Return) |
|---|---|---|
| 1 | 1.0 | 1.5 |
| 2 | 2.0 | 2.5 |
| 3 | 3.0 | 3.5 |
| 4 | 4.0 | 4.5 |
| 5 | 5.0 | 5.5 |
Calculate the slope $\beta$ and intercept $\alpha$.
Manual Logic Analysis:
By observing the data, Y and X have a perfect linear relationship; for every 1-unit increase in X, Y increases by 1 unit. Therefore, the slope $\beta$ should be 1. When X=0, Y should be 0.5, so the intercept $\alpha$ is 0.5. However, in the exam, data is usually not this neat, so we use the calculator.
TI BA II Plus Operation Steps:
2nd key, then press 7 (STAT key).LIN (Linear Regression), then press ENTER to confirm. The screen will display LIN, indicating that you are in LIN mode.2nd key, then press the DATA key to enter the data entry screen.↓ key.→ key.↓ key.2nd key again, then press 7 (STAT key).slope displays 1.000, i.e., $\beta = 1$.intercept displays .500, i.e., $\alpha = 0.5$.r^2 displays 1.000, indicating a perfect fit.For candidates who prefer studying on mobile devices, we recommend using RBA Calculator (TI BA II Plus iOS app) for simulated practice. This app perfectly replicates the functions of the physical calculator, supports LIN mode statistical calculations, and allows regression analysis training anytime, anywhere. Download link: https://apps.apple.com/cn/app/id1545331477
In regression analysis questions, candidates often make the following errors, which require special attention:
slope or intercept. The $\beta$ coefficient corresponds to the slope, reflecting sensitivity; $\alpha$ corresponds to the intercept, reflecting the baseline return.Q1: What is a residual in linear regression?
A1: A residual is the difference between the observed value $Y_i$ and the predicted value $\hat{Y}_i$ from the regression model, i.e., $e_i = Y_i - \hat{Y}_i$. The goal of OLS is to minimize the sum of squared residuals. In model diagnostics, if residuals show a clear pattern (e.g., a fan shape), it may suggest heteroscedasticity in the model.
Q2: How do you interpret the economic meaning of $R^2$?
A2: $R^2$ (coefficient of determination) represents the proportion of the total variation in the dependent variable $Y$ that can be explained by the independent variable $X$. For example, $R^2 = 0.85$ means that 85% of the stock return volatility can be explained by changes in market returns, with the remaining 15% due to firm-specific risk or other factors.
Q3: In the FRM exam, how do you test the significance of regression coefficients?
A3: Typically, a t-test is used. The null hypothesis $H_0$ is that the coefficient $\beta = 0$ (i.e., no linear relationship between the variables). Calculate the t-statistic $t = \frac{\hat{\beta}}{SE(\hat{\beta})}$, where $SE$ is the standard error. If the absolute value of the t-statistic is greater than the critical value, reject the null hypothesis and conclude that the coefficient is significantly different from 0.
Q4: Why are log-linear models sometimes used?
A4: When variables exhibit exponential growth relationships or to eliminate heteroscedasticity, logarithmic transformations are often used. For example, $\ln(Y) = \alpha + \beta \ln(X) + \epsilon$. In this case, $\beta$ is interpreted as an elasticity coefficient, meaning that a 1% change in X leads to an average $\beta$% change in Y. This is very common in financial return analysis.
Linear regression analysis is the essence of the FRM quantitative analysis chapter. Mastering the principles of OLS, understanding the economic meaning of the regression equation, and skillfully using the LIN mode on the TI BA II Plus for quick calculations are key to tackling the exam. It is recommended that candidates combine RBA Calculator for extensive simulated practice to ensure accurate output in the exam room. At the same time, be vigilant about common pitfalls and deeply understand model assumptions and limitations to truly apply this tool in risk management practice.
RBA Calculator handles all TVM, NPV/IRR and bond calculations, matching the BA II Plus used in exams 100%.
Free Download on App StoreDon't want to download?Try the web calculators →