Description Usage Arguments Details Value
This function performs the 2nd step of the LPPL estimation procedure by Geraskin and Fantazzini (2013) and Fantazzini (2016)
1 | lppl_estimate_rob_2s(x, par, max.win.tc = 0.1)
|
x |
is a T x 1 data vector |
par |
is a 6 x 1 vector containing the parameters estimated in the 1st step [beta, omega, A, B, C1, C2] and which are kept fixed in the 2nd step |
max.win.tc |
is a scalar (in percentage terms) used to set the starting value for the critical time tc |
This function performs the 2nd step of the LPPL estimation procedure by Geraskin and Fantazzini (2013) and Fantazzini (2016) using the LPPL formula by Filimonov and Sornette (2013): Keeping fixed the LPPL parameters [beta, omega, A, B, C1, C2] computed in the first stage, the critical time tc is estimated in a second step by using a quasi-Newton method algorithm.
par_est2 is a 1 x 1 scalar containing the estimated parameter tc
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.