505,377 views
38 votes
38 votes
What is the difference between a categorical and continuous variable?

User Tommos
by
3.1k points

2 Answers

17 votes
17 votes

Final answer:

Categorical variables categorize individuals or objects, while continuous variables measure data that can assume any value within a range. Discrete variables, a subset of quantitative data, represent countable quantities and their probabilities sum to one.

Step-by-step explanation:

The difference between a categorical variable and a continuous variable lies in the type of data they represent and how they are used in statistics.

A categorical variable is one that places an individual or an object into a category. Examples of categorical variables include political affiliation, type of car, and type of calculator. Categorical variables are used for data that can be divided into groups that are qualitatively different from each other.

In contrast, a continuous variable is associated with numerical data that can take on any value within a given range. The values of continuous variables are obtained through measurements, not by counting, and can be any number within the possible range, including fractions and decimals.

User Lony
by
3.0k points
8 votes
8 votes

Answer:

In a categorical variable, the value is limited and usually based on a particular finite group. For example, a categorical variable can be countries, year, gender, occupation. A continuous variable, however, can take any values, from integer to decimal.

Step-by-step explanation:

HOPE IT HELPS :)

User Dimitar K
by
2.7k points