code for the statistical analysis of dose respose bottle assay