A colleague and I had a conversation about whether the following variables are categorical or quantitative.

You are watching: Is zip code categorical or quantitative

1) Social security numbers

2) Phone numbers

3) Postal zip codes

We agreed that all three are in fact categorical, but couldn"t agree on a good reason.

The definition of a categorical variable (at least hereIn statistics, a categorical variable is a variable that can take on one of a limited, and usually fixed, number of possible values, thus assigning each individual to a particular group or "category."

However, it seems a somewhat weak case can also be made that the variables are discrete valued random variables. I need one good reason to convince students of why these variables are not quantitative. Any ideas?

categorical-data random-variable teaching qualitative
Improve this question
asked Mar 22 "16 at 18:09

13.8k33 gold badges3535 silver badges7979 bronze badges
Add a comment |

1 Answer 1

Active Oldest Votes
Here"s a simple test. If you "add" two of the variables is that another "value" of the variable. If we have income, the sum of any two incomes is another possible income. However what sense does (zipcode1) + (zipcode2) have. Ditto for ssn"s and phone numbers. The bottom line is that one can make algebraic sense of numerical variables and that one can"t make algebraic sense of categorical variables.

Improve this answer
answered Mar 22 "16 at 18:47

1,7621212 silver badges1616 bronze badges
| Show 1 more comment

Your Answer

Thanks for contributing an answer to Cross Validated!

Please be sure to answer the question. Provide details and share your research!

But avoid

Asking for help, clarification, or responding to other answers.Making statements based on opinion; back them up with references or personal experience.

Use MathJax to format equations. MathJax reference.

To learn more, see our tips on writing great answers.

See more: Never Say “Mon Ami” In Fren C Est La Vie Mon Ami Meaning, C'Est La Vie Mon Amie Translation Into English

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Facebook
Sign up using Email and Password

Post as a guest

Email Required, but never shown

Post as a guest


Required, but never shown

Post Your Answer Discard

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged categorical-data random-variable teaching qualitative or ask your own question.

Featured on Meta
Calculate mean of ordinal variable
Correlation between quantitative and qualitative variables
Qualitative or quantitative?
Regression with Quantitative and Qualitative independent variables
Is rank a categorical variable or quantitative?
Is age categorical or quantitative or both?
Categorical vs Quantitative Variables
Hot Network Questions more hot questions

Question feed
Subscribe to RSS
Question feed To subscribe to this RSS feed, copy and paste this URL into your RSS reader.


Cross Validated
Stack Exchange Network
site design / logo © 2021 Stack Exchange Inc; user contributions licensed under cc by-sa. rev2021.9.17.40238

Cross Validated works best with JavaScript enabled

Your privacy

By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.