Program data and common statistics

What Does Discrete Variable Mean?

A discrete variable takes separate possible values. A count of admissions can be 0, 1, or 2, but not 1.5 admissions. Categories such as specialty choice are also discrete, although categories and numerical counts need different summaries and analyses.

In practice

How Discrete Variable works in context

  1. Why it matters

    Why does Discrete Variable matter?

    The values a variable can take affect how researchers summarize and model it. Treating specialty labels as numbers gives meaningless averages. Counts can have valid means, but a method for continuous measurements may fit them poorly when the distribution is skewed or has many zeros.

  2. Worked example

    What does Discrete Variable look like in practice?

    A residency survey records each applicant’s number of interviews, chosen specialty, and height. Interview count is a discrete numerical variable; specialty is a categorical variable; height is measured on a continuous scale, even if the form rounds it to whole centimeters. The analyst summarizes each according to its meaning rather than treating all three as interchangeable numbers.

  3. Commonly confused terms

    What is Discrete Variable commonly confused with?

    A continuous variable can, in principle, take values anywhere in an interval, such as a measured height. A discrete count advances in steps; a categorical variable consists of distinct labels. Recording a continuous measure in rounded whole numbers does not change the underlying measure into a count.

Interpretation guide

Use Discrete Variable accurately

What the term tells you

Ask what each value represents before choosing a summary or test. Counts may be summarized with a mean, median, range, or frequency distribution, depending on the question and shape of the data. Categorical values are usually summarized by category counts or proportions. Select a statistical model that matches the outcome and study design; variable type alone does not prescribe one test.

Check whether values are counts or unordered labels. A count model can use the spacing between admissions, while an unordered categorical variable generally needs counts or indicators by category.

Common mistakes

Treating category codes as quantities

A numerical code for a specialty is still a label.

Assuming counts cannot have means

A mean count is valid, though it may not describe a skewed distribution well.

Choosing a test from type alone

Study design and the research question also matter.

Reader checklist

Questions to ask about Discrete Variable

  1. Does each value represent a count, a category, or a measurement?
  2. Can the underlying quantity take values between the recorded numbers?
  3. Do the summary and statistical model fit the variable and the study question?

Resources

Use these tools and guides for your next step. References below identify the evidence supporting this definition.

Check the source2 resources

Editorial

References
  1. 01NIST/SEMATECH e-Handbook: Discrete ModelsSupports: Describes analysis of discrete response data and counts in classification tables.National Institute of Standards and TechnologyVerified
  2. 02STAT 414 Discrete Random VariablesSupports: The probability lesson defines discrete variables and assigns probabilities to separated outcomes.Penn StateVerified
  3. 03STAT 504 Poisson RegressionSupports: The Poisson lesson illustrates analysis of count values and their exposure denominators.Penn StateVerified