What are examples of discrete variables and continuous variables?

What are examples of discrete variables and continuous variables?

Difference between Discrete and Continuous Variable

Discrete Variable Continuous Variable
Examples: Number of planets around the Sun Number of students in a class Examples: Number of stars in the space Height or weight of the students in a particular class

Can discrete variables be counted?

Discrete variables are countable in a finite amount of time. For example, you can count the change in your pocket. You can count the money in your bank account. You could also count the amount of money in everyone’s bank accounts.

What’s the difference between discrete and continuous variables?

Discrete variables are numeric variables that have a countable number of values between any two values. A discrete variable is always numeric. For example, the number of customer complaints or the number of flaws or defects. Continuous variables are numeric variables that have an infinite number of values between any two values.

How is the value of a continuous variable obtained?

It is a variable whose value is obtained by counting. It is a variable whose value is obtained by measuring. Range of specified numbers is complete. Range of specified numbers is incomplete, i.e. infinite. It assumes a distinct or a separate value. It assumes any value between two values.

Can a continuous variable be treated as a covariate?

Under those circumstances, it may be more reasonable to assume that the counts resemble random numbers drawn from a Gaussian distribution (following the Central Limit theorem), which may fit well with the underlying statistical assumptions of popular regression algorithms.

Can a continuous variable be qualitative and quantitative?

Profit earned by the company. By and large, both discrete and continuous variable can be qualitative and quantitative.