In this research subject, I have used New JLS factor model in order to study Bitcoin Bubble and Crash and did prediction as given in above scripts. In order to implement this equation, we have referred to few R functions as given in github repo: https://github.com/kupad95/LPPL-Bitcoin-in-R
In data analysis, we have used two data files in order to cover both the time periods.