Essays on time series and causality analysis in financial markets