normalMLE.m
Version 1.2.0.0 (2.71 KB) by
Tyler Ransom
Estimates heteroskedastic normal linear regression model via MLE
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 (2026). normalMLE.m (https://www.mathworks.com/matlabcentral/fileexchange/47927-normalmle-m), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2012b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Linear and Nonlinear Regression in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired by: Apply Restrictions
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
