A Comparative Performance of Sorting Algorithms: Statistical Investigation

  • PriyadarshiniEmail author
  • Anchala Kumari
Conference paper
Part of the Advances in Intelligent Systems and Computing book series (AISC, volume 1154)


This paper is aimed at a comparative study of several sorting algorithms with the purpose of evaluating their relative performance when the input array is randomly generated from zero-truncated binomial and poisson distributions. The sorting algorithms to be investigated are quick sort, k-sort, heap sort and merge sort, all having the same average case complexity of O(NlogN). In practical statistical cases, sometimes it is not possible to record or know about the occurrences as they are limited to values which exist above or below a given limit or within a particular range. Such situations result in truncated distributions. The relative performance of the above-mentioned sorting methods was compared on the basis of ‘execution time’ and the ‘number of swapping’ for both the average and worst cases of different algorithms.


Sorting algorithms Zero-truncated binomial distribution Zero-truncated Poisson distribution Statistical bound 


  1. 1.
    Priyadarshini, Kumari, A.: Parameterized complexity analysis of heap sort, K-sort and quick sort for binomial input with varying probability of success. Int. J. Emerg. Technol. Innov. Res. 5(7), 491–495. UGC and ISSN Approved, ISSN:2349-5162, July 2018, Available at
  2. 2.
    Priyadarshini, Chakarborty, S., Kumari, A.: Parameterised complexity of quick sort, heap sort and k-sort algorithms with quasi binomial input. Int. J. Future Revolution Comput. Sci. Commun. Eng. IJFRSCE 4(1), 117–123Google Scholar
  3. 3.
    Sabharwal, M.: The use of soft computing technique of decision tree in selection of appropriate statistical test for hypothesis testing. In: Pant, M., Ray, K., Sharma, T., Rawat, S., Bandyopadhyay, A. (eds.) Soft computing: theories and applications. Advances in intelligent systems and computing, vol. 583. Springer, Singapore (2018)Google Scholar
  4. 4.
    Geyer, C.J.: Lower-truncated poisson and negative binomial distributions, 5 July 2018Google Scholar
  5. 5.
    Kamnthania, D., Kumar, J., Taterh, S.: Study and comparative analysis of various image spamming techniques. Soft Comput. Theor. Appl. 583(1), 351–365 (2017)Google Scholar
  6. 6.
    Grover, P.S., Kakkar, M., Jain, S., Bansal, A.: Is open-source software valuable for software defect prediction of proprietary software and vice versa? Soft Comput. Theor. Appl. 583(1), 227–236 (2017)Google Scholar
  7. 7.
    Kumari, A., Singh, N.K., Chakraborty, S.: A statistical comparative study of some sorting algorithms. Int. J. Found. Comput. Sci. Technol. 5, 21–29 (2015). Scholar
  8. 8.
    Singh, N.K., Chakarborty, S., Malick, D.K.: A statistical peek into average case complexity. IJEDPO 4(2); Int. J. Recent Trends Eng. Technol. 8(1), 64–67Google Scholar
  9. 9.
    Kumari, A., Chakraborty, S.: Parameterized complexity, a statistical approach combining factorial experiments with principal component analysis. Int. J. Comput. Sci. Eng. (2013)Google Scholar
  10. 10.
    Kumari, A., Chakraborty, S.: The middle pivot element algorithm. Int. Sch. Res. Netw. ISRN Comput. Math. 5 (2012)Google Scholar
  11. 11.
    Prashant, Anchala and Soubhik (2009) parameterised complexity on a new sorting algorithm, a study in simulation. Annals. Comput. Sci. Ser. VIIGoogle Scholar
  12. 12.
    Kumari, A., Chakraborty, S.: A simulation study on quick sort parameterized complexity using response surface design. Int. J. Math. Model. Simul. Appl. 1(4) (2009)Google Scholar
  13. 13.
    Kumari, A., Chakraborty, S.: Software complexity: a statistical case study through insertion sort. Appl. Math. Comput. 190(1) (2007)Google Scholar
  14. 14.
    Geyer, C.J.: The K-truncated poisson distribution, 18 June 2006Google Scholar
  15. 15.
    Mahmoud, H.: Sorting: a distribution theory. Wiley (2000)Google Scholar
  16. 16.
    Clifford, C.A.: Truncated and censored samples: theory and applications. CRC PressGoogle Scholar
  17. 17.
    Sacks, J., Welch, W.J., Mitchell, T.J., Wynn, H.P.: Design and analysis of computer experiments. Stat. Sci. 4 (1989)Google Scholar
  18. 18.
    Rider, P.R.: Truncated binomial and negative binomial distributions. J. Am. Stat. Assoc. 50(271), 877–883 (1955)MathSciNetCrossRefGoogle Scholar

Copyright information

© Springer Nature Singapore Pte Ltd. 2020

Authors and Affiliations

  1. 1.Department of StatisticsPatna UniversityPatnaIndia

Personalised recommendations