ARBIMETRA LAB
Fama-French Three-Factor Model
Estimates exposure to market, size and value factors using factor data that you provide.
What it does
Estimates exposure to market, size and value factors using factor data that you provide.
Use it to explain returns with more than market beta.
Data you need
- Asset returns
- Mkt-RF, SMB and HML columns that you supply
Supported data: Numeric. Level: Advanced.
Formula and method
Rᵢ − Rf = α + βM(Rm − Rf) + βS SMB + βH HML + ε
Asset excess returns are regressed on your Mkt-RF, SMB and HML columns by OLS, with conventional or Newey-West standard errors. Each loading is conditional on the other two factors.
Assumptions
- Factor data are aligned and in matching units
Input checks
- At least 24 aligned observations
- Each role needs a different column
How to read the result
Loadings show style exposure.
Worked example
Illustrative run on simulated factor data created for this illustration, not market data. These figures are the actual output of this model on that example, and they say nothing about your own data.
- Alpha = 0.0022 (p = 0.0163), R² = 0.7474.
- Alpha is statistically significant at the 5% level.
Limitations
- Educational use, not investment advice
- ARBIMETRA does not supply factor data
Numerical validation
Validated 19 of 19 automated checks passed, including numerical results, invalid input, missing values, small samples, constant variables, charts and the interpretation text.
| Check | Reference | Result | Abs. error | Tolerance | Source |
|---|---|---|---|---|---|
| Alpha by matrix formula | 0.00040973 | 0.00040973 | 2.3e-18 | 1e-9 | Independent NumPy calculation |
| Market (Mkt-RF) by matrix formula | 1.11163464 | 1.11163464 | 4.4e-16 | 1e-9 | Independent NumPy calculation |
| Size (SMB) by matrix formula | 0.40139371 | 0.40139371 | 4.4e-16 | 1e-9 | Independent NumPy calculation |
| Value (HML) by matrix formula | -0.3165107 | -0.3165107 | 5.0e-16 | 1e-9 | Independent NumPy calculation |
| Recovers a known loading | 0.4 | 0.40139371 | 1.4e-3 | 5e-2 | Known data-generating value |
Computed with python 3.13.2, numpy 2.2.5, scipy 1.14.1, pandas 2.3.3, statsmodels 0.14.4, scikit-learn 1.7.0, in your browser. A passing check confirms the listed comparison only. It does not make any result suitable for your data, and it is not a claim of equivalence with other statistical software.
Questions
Where can I get factor data?
The Kenneth R. French Data Library publishes these factors. Download them and align the dates with your returns.
ARBIMETRA LAB is an educational and research tool. Results should be checked by the researcher and are not professional advice.
