Journal of Mathematics and Statistics

Stock Trading Using PE Ratio Based on Bayesian Inference

Haizhen Wang, Ratthachat Chatpatanasiri and Pairote Sattayatham

DOI : 10.3844/jmssp.2017.209.219

Journal of Mathematics and Statistics

Volume 13, Issue 3

Pages 209-219


The Price Earnings (PE) ratio is one of the most widely applied tool for the firm valuation in a security market. Unfortunately, recent academic developments in financial econometrics and machine learning have rarely looked at this tool. In the paper, we propose to formalize a process of fundamental PE ratio estimation by employing Dynamic Bayesian Network (DBN) methodology. Forward-backward inference and Expectation Maximization (EM) parameter estimation algorithms are derived with respect to our proposed DBN structure. A simple but practical trading strategy is invented based on the result of Bayesian inference. We make stock trading experiments using Thai stocks and American stocks, respectively. Extensive experiments show that our trading strategy statistically outperforms the buy-and-hold strategy.


© 2017 Haizhen Wang, Ratthachat Chatpatanasiri and Pairote Sattayatham. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.