5
$\begingroup$

How do I determine whether a statement or variable is discrete or continuous?

I am quite aware that discrete variables are those values that you can count while continuous are variables that you can measure such as weight or height.

However, some people consider "the number of students in Harvard University" as continuous rather than discrete, because the number of students in Harvard changes per year or per term. Are they correct?

New contributor
theunknownZ is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
$\endgroup$
3
  • 2
    $\begingroup$ My interpretation: you can't have half a student. It may be a misprint or your reference is just not great. $\endgroup$ Commented 16 hours ago
  • 4
    $\begingroup$ ‘However, some of the people i know consider "number of students in Harvard University" as a continuous rather than discrete.’ Yeah, no. $\endgroup$ Commented 16 hours ago
  • $\begingroup$ Often, discrete variables are treated as continuous, as long as they vary by much smaller amounts than their total, if this makes the math easier. A good example is the number of gas molecules in a container, which is discrete but is treated as continuous in statistical physics. This may be a sense in which you would treat the number of Harvard students as continuous, either day to day within a given year, or from year to year (but not day to day for more than a school year, since the value changes significantly at matriculation and commencement). That's the only sense I can make of it. $\endgroup$ Commented 1 hour ago

2 Answers 2

9
$\begingroup$

However, some people consider "the number of students in Harvard University" as continuous rather than discrete, because the number of students in Harvard changes per year or per term. Are they correct?

The fact that "the number of students in Harvard University" has a changing (i.e., varying) value means that it's a variable—not that it is continuous. Both discrete and continuous variables generally do have changing values—and a discrete variable can vary continuously with time.

I am quite aware that discrete variables are those values that you can count while continuous variables are those that you can measure such as weight or height.

Especially in mathematics, it is important that you develop a habit of referring to the definitions presented in your text, which generally are not supplementary, side notes, because important results are derived from their details and because definitions are allowed to conflict across different texts. Notice that your two simplified definitions already answers your own question. Trust them.

How do I determine whether a statement or variable is discrete or continuous?

Sense-making is another critical habit in mathematics: what does it even mean for a statement to be discrete/continuous?


Orthogonal note on data types in descriptive statistics:

  • nominal & ordinal - the data labels are categorical (and possibly numeric), and so assume values from a discrete set of categories
  • interval & ratio - the data labels are quantitative (and always numeric), measured on a scale that is either discrete or continuous

(An example of ordinal data is Airbnb accommodation ratings;
an example of discrete interval data is Celsius temperature values recorded to the nearest integer;
an example of discrete ratio data is the number of mosquitoes in a box.)

$\endgroup$
3
  • $\begingroup$ Thank you for this, I am just confused because my professor refers to "number of students in Harvard University" as a statement and continuous, but in discrete mathematics we were taught that a statement can either be true or false. $\endgroup$ Commented 12 hours ago
  • 1
    $\begingroup$ You're welcome. The expression "number of students in Harvard University" is a variable or value, depending on the context. Just for interest, I've just added an addendum. $\endgroup$ Commented 12 hours ago
  • $\begingroup$ nice answer ... +1 $\endgroup$ Commented 6 hours ago
3
$\begingroup$

A variable is discrete if its set of possible values is countable (typically integers: 0, 1, 2, …). However, a variable is continuous if it can take any real value in an interval (e.g., 16.2, 16.2001, …). Of course, a more rigorous statement can be made but it is just to understand the logic behind the difference between discrete and continuous.

Regarding the Harvard example, let $N(t)$ = “the number of students enrolled at Harvard at time $t$. For any fixed $t$, $N(t)$ can only be $0,1,2,\dots$. That makes it a discrete variable (more specifically, integer-valued).

It changes over time, but that doesn’t make it continuous. It just means it’s a discrete-valued time series.

$\endgroup$
1
  • $\begingroup$ nice answer ... +1 $\endgroup$ Commented 6 hours ago

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.