Statistics and Machine Learning Toolbox

MAJOR UPDATE

 

Statistics and Machine Learning Toolbox

Analyze and model data using statistics and machine learning

Statistics and Machine Learning Toolbox provides functions and apps for statistical analysis and machine learning in MATLAB.

For statistical analysis, you can use descriptive statistics to explore data, fit probability distributions, test hypotheses, perform analysis of variance (ANOVA), plan experiments, validate measurement systems, and monitor processes. You can use functions for programmatic analysis and interactive apps for guided workflows such as distribution fitting, design of experiments (DOE), and Gage R&R.

For machine learning, you can train regression, classification, clustering, and other models interactively or programmatically. The toolbox supports feature engineering, dimensionality reduction, model interpretation, Simulink integration, and C/C++ code generation for deployment. For an interactive experience, you can use the Classification Learner or Regression Learner apps to explore data, select features, choose validation schemes, tune hyperparameters, and evaluate multiple algorithms side-by-side.

Video length is 1:52

Statistical Analysis

Multidimensional scatter plot shows relationships between variables.

Explore and Visualize Data

Explore data with statistical plots, interactive graphics, and descriptive statistics. Summarize central tendency, dispersion, shape, correlation, and covariance.

DOE Explorer app showing a linear regression fit summary with estimated coefficients, standardized effects, and ANOVA results.

Design of Experiments (DOE)

Design systematic experiments and analyze response data in the DOE Explorer app. Generate common experiment designs, fit linear models, review ANOVA and residual diagnostics, and export results for further analysis in MATLAB.

 X-bar and R control charts with center lines and control limits.

Statistical Process Control

Monitor process stability and capability with control charts, capability analysis, and Pareto analysis. Assess measurement system variation with the Gage R&R app.

Failure data is shown with censored lifetime values.

Reliability Analysis

Model failure times, hazard rates, and survival curves from censored lifetime data, then compute mean time between failures (MTBF) from those estimates.

Probability distribution fit evaluated against sample data.

Probability Distributions

Fit continuous and discrete distributions, evaluate goodness-of-fit with statistical plots, and compute probability density and cumulative distribution functions. 

ANOVA comparisons plot showing group means with confidence intervals.

Hypothesis Tests and ANOVA

Compare groups and evaluate factor effects with t-tests, nonparametric tests, distribution tests, and ANOVA. Use one-way, multiway, and repeated measures ANOVA with post hoc comparisons to interpret statistical differences.

Documentation (Hypothesis Tests, ANOVA) | Examples (Hypothesis Tests, ANOVA)

Machine Learning

Regression Learner app comparing trained regression models.

Classification and Regression

Interactively train, validate, and compare classification and regression models without writing code. Explore data, select features, choose validation schemes, tune hyperparameters, and export trained models or MATLAB code.

MATLAB code example for fitting Gaussian process regression models and comparing prediction intervals.

Machine Learning Workflows

Build end-to-end machine learning workflows in MATLAB, from data preparation and feature engineering to model training, evaluation, and deployment. Create reusable pipelines, automate workflows, and scale experiments. 

Diagram showing MATLAB machine learning workflows that generate code for embedded hardware or compile models for enterprise systems.

Code Generation and Deployment

Deploy machine learning models to production systems and embedded targets. Generate optimized C/C++ code from trained models or integrate trained models into Simulink workflows.

Partial least-squares regression coefficient plot showing predictor importance across features.

Feature Engineering

Extract, transform, and select features to improve predictive performance. Apply dimensionality reduction techniques, such as PCA, and feature selection to identify the most informative inputs for modeling.

Machine learning pipeline for classification workflow components.

Machine Learning Pipelines

Define workflows that combine preprocessing, feature selection, and model training into reusable pipelines. Standardize experiments, reduce manual steps, and deploy consistent workflows across teams and applications.

“I’m much more efficient when I use MATLAB rather than an open-source alternative. In just three weeks I developed and deployed analysis software in MATLAB that has already saved MedImmune researchers thousands of hours of effort.”

Try Statistics and Machine Learning Toolbox for Free

Discover the possibilities today.


Ready to Buy?

Get pricing information and explore related products.

Are You a Student?

Your school may already provide access to MATLAB, Simulink, and add-on products through a campus-wide license.