Course Content
Learning Statistics with Python
Learning Statistics with Python
Types of Data
We've developed some skills; now, let's delve deeper into the data types in statistics. Take a look at the image:
Let's now consider a sample of people with two variables:
- number of teeth;
- height.
The number of teeth is considered a discrete variable because teeth are counted in whole numbers, and you cannot have a fractional or decimal part of a tooth. Each individual has a specific, countable number of teeth, and the count is a distinct and separate value.
In contrast, height is considered a continuous variable because it can take on any value within a certain range, and there is an infinite number of values in the interval between any two values of heights.
Everything was clear?