- #1
fog37
- 1,569
- 108
- TL;DR Summary
- Count and Categorical Variables...
Hello,
In the context of categorical variables, a frequency table which gives us the count (aka frequency) for each level of the categorical variable. Count is a number telling us how many times a specific level occurs. A bar-chart handles a single categorical variable (nominal or ordinal) with its levels indicated on the x-axis and count (frequency), or relative frequency, on the y-axis.
My question: is count a discrete non-negative numerical variable? If not, what is it? I don't think it is a numerical variable...
Can count ever be represented as one of the axes of a scatterplot? A scatterplot is designed to accommodate two numerical variables (both discrete, both continuous, one discrete and one continuous) on its two axes.
Here another example that confuses me: a dataset where each row represents a different country and there is a variable that reports the percentage of the country population who is religious (which is the count of people who responded YES to being religious divided by the total country population). That column contains % values and seems to represent a numeric variable even if it represents the relative count of a categorical variable. Is that correct? See attached table:
Also, cost and profit are generally considered continuous variables but I believe they are discrete numeric variables since money is a multiple of the cent, the smallest increment. When we build a histogram, we bin the continuous variable values into intervals. Does that turn the continuous variable into an ordinal categorical variable since the data now belongs in a finite number of groups?
Thank you!
In the context of categorical variables, a frequency table which gives us the count (aka frequency) for each level of the categorical variable. Count is a number telling us how many times a specific level occurs. A bar-chart handles a single categorical variable (nominal or ordinal) with its levels indicated on the x-axis and count (frequency), or relative frequency, on the y-axis.
My question: is count a discrete non-negative numerical variable? If not, what is it? I don't think it is a numerical variable...
Can count ever be represented as one of the axes of a scatterplot? A scatterplot is designed to accommodate two numerical variables (both discrete, both continuous, one discrete and one continuous) on its two axes.
Here another example that confuses me: a dataset where each row represents a different country and there is a variable that reports the percentage of the country population who is religious (which is the count of people who responded YES to being religious divided by the total country population). That column contains % values and seems to represent a numeric variable even if it represents the relative count of a categorical variable. Is that correct? See attached table:
Also, cost and profit are generally considered continuous variables but I believe they are discrete numeric variables since money is a multiple of the cent, the smallest increment. When we build a histogram, we bin the continuous variable values into intervals. Does that turn the continuous variable into an ordinal categorical variable since the data now belongs in a finite number of groups?
Thank you!