Finite sample sign-based procedures in linear and non-linear statistical models: with applications to Granger causality analysis