In this article I would like to concentrate on 4 main measures of statistical dispersion: range (and the biggest and the smallest number as well), average deviation, variance and standard deviation. In Python, we can easily compute them with a…

In this article I would like to concentrate on 4 main measures of statistical dispersion: range (and the biggest and the smallest number as well), average deviation, variance and standard deviation. In Python, we can easily compute them with a…

Tagged with: average deviation, functions, python, range, standard deviation, statistics, variance

Posted in data analysis, python

Posted in data analysis, python

In the central tendency there are 3 most common measures: mean (arithmetic average), median and mode. Their manual calculation in Python is presented below. Mean Arithmetic mean is a sum of a collection of numbers divided by the total number…

Previous articles concentrated on managing and visualizing data with numpy and mathplotlib.pyplot libraries. Now, it is time to count more statistics, but manually, without built-in functions. For the beginning, let’s write some code to show a frequency distribution of the…

Below exercises come from the book ‘Python for Informatics. Exploring Information.’ Version 2.7.0 by Charles Severance. Exercise 2.3 Write a program to prompt the user for hours and rate per hour to compute gross pay. Enter Hours: 35 Enter Rate:…