Taiwan Fama-French Three Factor Model

Author

Solongo

Published

November 23, 2026

library(dplyr)

Attaching package: 'dplyr'
The following objects are masked from 'package:stats':

    filter, lag
The following objects are masked from 'package:base':

    intersect, setdiff, setequal, union
library(tidyr)
library(ggplot2)
library(knitr)

load("HW7_workspace.RData")

1. Introduction

This project examines the performance of selected Taiwan stock portfolios using the Fama-French Three-Factor Model. The analysis covers January 2018 to December 2020.

2. Data Description

The data are collected from the Taiwan Economic Journal (TEJ). The analysis uses monthly stock returns and three factors: market risk premium (MKT_RF), size factor (SMB), and value factor (HML). RF represents the risk-free rate.

3. Stock Selection

3.1 Alpha Top 10

kable(alpha_top10, caption = "Top 10 Stocks Selected by Alpha", digits = 4)
Top 10 Stocks Selected by Alpha
CO_ID Alpha
2379 RT 0.0218
3034 Novatek 0.0196
6415 Silergy 0.0195
2345 Accton 0.0180
2303 UMC 0.0170
2454 MediaTek 0.0110
2330 TSMC 0.0063
2603 EMC 0.0058
2327 Yageo 0.0016
9910 FT 0.0012

3.2 Fama-French Top 10

kable(ff3_top10, caption = "Top 10 Stocks Selected by FF3 Expected Return", digits = 4)
Top 10 Stocks Selected by FF3 Expected Return
CO_ID Alpha FF3_exp
6415 Silergy 0.0195 0.0461
2303 UMC 0.0170 0.0452
2327 Yageo 0.0016 0.0433
2379 RT 0.0218 0.0428
3034 Novatek 0.0196 0.0424
2345 Accton 0.0180 0.0423
2603 EMC 0.0058 0.0395
2454 MediaTek 0.0110 0.0338
6488 GWC -0.0017 0.0332
2330 TSMC 0.0063 0.0301

4. Portfolio Construction

Four portfolios are constructed: Alpha Equal-Weighted, Alpha Value-Weighted, FF3 Equal-Weighted, and FF3 Value-Weighted.

kable(alpha_portfolio, caption = "Alpha Portfolio Weights", digits = 4)
Alpha Portfolio Weights
CO_ID Alpha Market_Cap Equal_Weight Value_Weight
2379 RT 0.0218 109887.47 0.1 0.0119
3034 Novatek 0.0196 115118.50 0.1 0.0125
6415 Silergy 0.0195 87482.58 0.1 0.0095
2345 Accton 0.0180 84792.00 0.1 0.0092
2303 UMC 0.0170 211625.47 0.1 0.0230
2454 MediaTek 0.0110 613869.67 0.1 0.0666
2330 TSMC 0.0063 7618129.53 0.1 0.8267
2603 EMC 0.0058 64449.33 0.1 0.0070
2327 Yageo 0.0016 178194.97 0.1 0.0193
9910 FT 0.0012 131835.56 0.1 0.0143
kable(ff3_portfolio, caption = "FF3 Portfolio Weights", digits = 4)
FF3 Portfolio Weights
CO_ID Alpha FF3_exp Market_Cap Equal_Weight Value_Weight
6415 Silergy 0.0195 0.0461 87482.58 0.1 0.0095
2303 UMC 0.0170 0.0452 211625.47 0.1 0.0229
2327 Yageo 0.0016 0.0433 178194.97 0.1 0.0193
2379 RT 0.0218 0.0428 109887.47 0.1 0.0119
3034 Novatek 0.0196 0.0424 115118.50 0.1 0.0124
2345 Accton 0.0180 0.0423 84792.00 0.1 0.0092
2603 EMC 0.0058 0.0395 64449.33 0.1 0.0070
2454 MediaTek 0.0110 0.0338 613869.67 0.1 0.0663
6488 GWC -0.0017 0.0332 171614.69 0.1 0.0185
2330 TSMC 0.0063 0.0301 7618129.53 0.1 0.8231

5. Portfolio Performance

kable(performance_metrics, caption = "Tracking Error and Information Ratio", digits = 4)
Tracking Error and Information Ratio
Alpha_EW_TE Alpha_VW_TE FF3_EW_TE FF3_VW_TE Alpha_EW_IR Alpha_VW_IR FF3_EW_IR FF3_VW_IR
0.0397 0.0327 0.0479 0.033 0.5861 0.4785 0.5015 0.4773

6. Portfolio-Level FF3 Regression

kable(portfolio_ff3_alpha, caption = "Portfolio-Level FF3 Regression Results", digits = 4)
Portfolio-Level FF3 Regression Results
Portfolio FF3_Alpha p_value R_squared
Alpha EW 0.0122 0.0352 0.8478
Alpha VW 0.0073 0.0677 0.9322
FF3 EW 0.0119 0.0927 0.8033
FF3 VW 0.0072 0.0658 0.9354

7. Portfolio Growth

ggplot(growth_data, aes(x = Date, y = Growth, color = Portfolio)) +
  geom_line(linewidth = 1) +
  labs(
    title = "Portfolio Growth vs Taiwan 0050",
    x = "Date",
    y = "Growth of Initial Investment",
    color = "Portfolio"
  ) +
  theme_minimal()

8. Top 49 Value-Weighted Portfolio

The cleaned dataset contains 49 companies, rather than 50. Therefore, this portfolio is described as Top 49.

kable(top50_metrics, caption = "Top 49 Portfolio Performance Compared with Taiwan 0050", digits = 4)
Top 49 Portfolio Performance Compared with Taiwan 0050
Average_Return Benchmark_Average Tracking_Error Information_Ratio
0.0169 0.0158 0.0073 0.1414

9. Top 49 Fama-French Regression

summary(top50_ff3_model)

Call:
lm(formula = Excess_Return ~ MKT_RF + SMB + HML, data = top50_ff3_data)

Residuals:
       Min         1Q     Median         3Q        Max 
-0.0165103 -0.0029405  0.0002982  0.0046608  0.0105509 

Coefficients:
             Estimate Std. Error t value Pr(>|t|)    
(Intercept) -0.004775   0.001047  -4.559 7.12e-05 ***
MKT_RF       1.446258   0.055597  26.013  < 2e-16 ***
SMB         -0.350476   0.040269  -8.703 6.04e-10 ***
HML         -0.096537   0.062422  -1.547    0.132    
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1

Residual standard error: 0.006095 on 32 degrees of freedom
Multiple R-squared:  0.9884,    Adjusted R-squared:  0.9873 
F-statistic: 905.2 on 3 and 32 DF,  p-value: < 2.2e-16

10. Conclusion

The analysis compares four selected portfolios with the Taiwan 0050 benchmark. The results show differences between equal-weighted and value-weighted strategies. The Top 49 portfolio also provides an additional comparison with the benchmark.

Note: The Taiwan 0050 benchmark return is calculated using monthly closing prices. It does not include dividends and should not be interpreted as a total return.

sapply( c(“alpha_top10”, “ff3_top10”, “alpha_portfolio”, “ff3_portfolio”, “performance_metrics”, “portfolio_ff3_alpha”, “top50_metrics”), function(x) class(hw7[[x]])[1] —