liveBook · Manning

Discrete variable

As explained in Statistics Every Programmer Needs

Discrete data are observations whose possible values are separate, countable outcomes rather than values throughout a continuous interval.

A discrete variable represents observations with separate, countable outcomes rather than every value across a continuous interval. In simulation, these outcomes can be sampled from discrete probability distributions to represent uncertainty. section 9.3 section 9.6

Discrete variables support practical uncertainty modeling by:

  • Representing quantities such as the number of absent employees, where outcomes are distinct counts. section 9.3
  • Providing random inputs for manually verified Monte Carlo trials before larger-scale automation. section 9.2 section 9.3
  • Supporting risk analysis when staffing levels must balance service violations against idle payroll costs. section 9.3

Call-center absenteeism

Model the daily number of absent employees as a discrete variable. Sample possible absence counts across many trials, then evaluate staffing outcomes to estimate overstaffing needs while preserving service standards. section 9.3 section 9.6

How Statistics Every Programmer Needs covers it

How deep it goes
Defines countable outcomes and applies them in simulation, but stops short of formal probability derivations.
Examples
Uses employee absenteeism and call-center staffing as concrete examples of countable outcomes.
What you can do after
Apply it via Monte Carlo simulations to model absenteeism and compare staffing scenarios under uncertainty.
How it connects
Connects to Monte Carlo simulation, random sampling, probability distributions, and continuous data.

Also explained in

Compare how 5 books explain discrete variable →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Statistics Every Programmer Needs. The section links point to the parts of the book it draws on.