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

Understanding Linear Regression for the FRM Exam

Linear regression is one of the most frequently tested statistical tools in the FRM curriculum, appearing across quantitative methods, risk management, and financial statement analysis topics. At its core, regression models the relationship between a dependent variable (Y) and one or more independent variables (X) by fitting a line that minimizes the sum of squared residuals — the least squares method.

For FRM candidates, the ability to run a simple linear regression quickly on a calculator during the exam can save precious minutes and eliminate arithmetic errors. The TI BA II Plus calculator has a dedicated LIN (linear regression) mode designed exactly for this purpose, and mastering it is a small investment that pays major dividends on exam day.

Key Concepts: Regression, Least Squares, and the LIN Mode

The Regression Framework

In simple linear regression, we estimate:

Y = a + bX

Where:
- a = y-intercept (value of Y when X = 0)
- b = slope (change in Y for each unit change in X)
- r = correlation coefficient between X and Y
- r² = coefficient of determination (proportion of variance explained)

The Least Squares Principle

The least squares method finds the line that minimizes the total squared distance between observed data points and the fitted line. This is the standard estimation approach taught in FRM Part I and used in portfolio regression analysis, CAPM beta estimation, and factor models.

The BA II Plus LIN Mode

The BA II Plus stores paired data points in its statistical registers, then computes regression coefficients, correlation, and predicted values instantly. The LIN mode is the simplest of its three regression options (LIN, QUAD, CUBIC) and handles the bulk of FRM regression questions.

Worked Example: Estimating Portfolio Beta

The Problem

An analyst collects 8 months of weekly returns for a portfolio and the market index:

Week Market Return (X) Portfolio Return (Y)
1 1.0% 1.5%
2 -0.5% -0.8%
3 2.0% 3.2%
4 -1.0% -1.4%
5 1.5% 2.1%
6 0.5% 0.9%
7 -0.3% -0.5%
8 1.2% 1.8%

Task: Calculate the regression intercept and slope (beta), then predict the portfolio return if the market returns 2.5%.

BA II Plus Keystroke Steps

Step 1: Enter LIN mode

Press 2nd then STAT (shown as LIN in the upper display). You should see LIN displayed.

Step 2: Enter data pairs

For each observation, enter X then Y:

Each STO 1 stores the pair into the statistical memory.

Step 3: Retrieve the slope (beta)

Press 2nd SUM+ (displayed as r). The calculator shows:

r = 0.9973

Now press 2nd 7 (this retrieves the slope b):

b = 1.4756

This is the portfolio's beta — for every 1% market return, the portfolio is expected to move 1.48%.

Step 4: Retrieve the intercept

Press 2nd 8 (retrieves the intercept a):

a = 0.0243

The regression equation is: Portfolio Return = 0.0243 + 1.4756 × Market Return

Step 5: Predict for a 2.5% market return

Manually substitute:

Ŷ = 0.0243 + 1.4756 × 2.5 = 0.0243 + 3.689 = 3.71%

Alternatively, the BA II Plus can compute this directly by entering the prediction value and recalling the fitted Y.

Verifying with the Correlation

Press 2nd SUM+ to get r = 0.9973. Squaring this gives r² = 0.9946, meaning 99.5% of the portfolio's return variance is explained by the market — a very tight fit typical of well-diversified portfolios.

Common Mistakes to Avoid

1. Forgetting to Clear Old Data

If you run multiple regressions without clearing the statistical registers, old observations contaminate your results. Always press 2nd CLR DATA before entering new data.

2. Confusing X and Y Assignment

The independent variable (market return, risk factor) goes in X; the dependent variable (portfolio return, asset price) goes in Y. Reversing these flips the slope and intercept, leading to incorrect answers.

3. Not Clearing Between Regression Types

Switching from LIN to QUAD mode without clearing data causes the calculator to attempt higher-order fits on data meant for simple regression, producing nonsensical coefficients.

4. Rounding Too Early

Students sometimes round intermediate calculations to 3 decimal places and then substitute into the prediction formula. Keep full calculator precision until the final answer.

5. Misidentifying the Slope Key

The slope is retrieved with 2nd 7 in LIN mode, not 2nd 8. The intercept uses 2nd 8. Mixing these up is the single most common calculator error in FRM regression questions.

Tips for Exam Efficiency

If you study with a physical BA II Plus but want to practice on your phone during commute or meal breaks, the RBA Calculator app replicates the full TI BA II Plus functionality including statistical regression modes: download RBA Calculator on the App Store. It's particularly useful for drilling regression problems until the keystroke sequences become muscle memory before exam day.

FAQ

How many data points does the BA II Plus support in LIN mode?

The BA II Plus statistical memory holds up to 999 data pairs. FRM regression problems rarely exceed 20 observations, so you will never hit this limit.

Can I use the BA II Plus for multiple regression?

No. The calculator only supports simple linear regression (one X variable) or polynomial regression (one X with multiple terms). For multiple regression with several independent variables, you must rely on formulas provided in the question or compute manually — though such questions are rare in the FRM exam.

What's the difference between LIN and QUAD regression modes?

LIN fits a straight line (Y = a + bX). QUAD fits a parabola (Y = a + bX + cX²). Use LIN for standard CAPM beta estimation, factor models, and any question stating a linear relationship. Reserve QUAD for questions that explicitly mention curvature or quadratic terms.

Do I need to calculate standard error of the regression on the BA II Plus?

The calculator does not output standard error directly in LIN mode. If a question requires it, you will need to compute residuals manually or use the formula: SE = √[Σ(Y − Ŷ)² / (n − 2)]. This is uncommon in FRM questions but possible in quantitative methods.

Summary

Mastering the LIN mode on your BA II Plus transforms regression from a time-consuming manual calculation into a five-second retrieval. Practice entering paired data, recalling slope and intercept, and making predictions until the keystroke sequence is automatic. Combined with a solid understanding of the least squares methodology and what each coefficient means economically, you will handle any regression question in the FRM exam with confidence and speed.

📱 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 →