Analysis HRA data script