bash codes for  hypothesis testing and variable extraction