Discrete vs continuous variables
Discrete variables have countable values; continuous variables can take any value in an interval.
The question library
Explore practical questions, clear explanations, and code examples across developer technologies.
Showing 3325–3336 of 3610 questions
Discrete variables have countable values; continuous variables can take any value in an interval.
Expected value is the probability-weighted average of possible values.
Variance is the expected squared distance from the mean.
Standard deviation is the square root of variance and uses the original data units.
Covariance indicates whether two variables tend to move together.
Correlation standardizes covariance and measures linear association from −1 to +1.
With many suitable independent trials, a sample average tends toward its expected value.
Under common conditions, the standardized sample mean approaches a normal distribution as sample size grows.
A PMF gives each value's probability for a discrete random variable.
A PDF describes density for a continuous variable; interval probability is area under the curve.
A CDF gives the probability a random variable is at most x.
Bernoulli models one binary trial with success probability p.