Probability Distributions and Hypothesis Tests
A probability distribution is a theoretical distribution based on assumptions about a source population. The distribution describes the probabilities of possible outcomes for a random event. A hypothesis test helps you determine if your sample data comes from a population with particular characteristics, such as a particular distribution. Statistics and Machine Learning Toolbox™ provides features and tools for working with probability distributions and performing hypothesis tests, including functions that allow you to:
Fit probability distributions to sample data.
Evaluate probability functions, such as pdf and cdf.
Calculate summary statistics, such as mean and median.
Visualize sample data.
Generate random numbers.
Perform hypothesis testing with distribution tests, location tests, and dispersion tests.
For more information, see Working with Probability Distributions and Available Hypothesis Tests.
Basics of Probability Distributions and Hypothesis Tests
Categories
- Univariate Discrete Distributions
Compute, fit, and generate samples from integer-valued distributions
- Univariate Continuous Distributions
Compute, fit, and generate samples from real-valued distributions
- Multivariate Distributions
Compute, fit, and generate samples from vector-valued distributions
- Exploration and Visualization
Plot distribution functions, fit distributions interactively, create plots, and generate random numbers
- Pseudorandom and Quasirandom Number Generation
Generate pseudorandom and quasirandom sample data
- Resampling Techniques
Resample data using bootstrap, jackknife, and cross-validation
- Hypothesis Tests
t-test, F-test, chi-square goodness-of-fit test, and more
Featured Examples
Teaching Resources
Descriptive Statistics and Probability Distributions
Learn the concepts of descriptive statistics, and discrete and continuous distributions.






