Estimates heteroskedastic normal linear regression model via MLE
Updated 30 Sep 2014

View License

This function estimates a linear regression model with errors assumed to be normal. The user can specify heteroskedasticity in the error term, weights for the estimation, and restrictions on parameter values. The analytical gradient is provided for increased speed and numerical precision.
Note that the error distribution is parameterized with standard deviations and not variances.

Cite As

Tyler Ransom (2024). normalMLE.m (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Linear and Nonlinear Regression in Help Center and MATLAB Answers

Inspired by: Apply Restrictions

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

Added optional estimation weights to the function.

Added code to check conformability between input data and parameter vector.