normalMLE.m

Estimates heteroskedastic normal linear regression model via MLE
268 Downloads
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 (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 Linux
Categories
Find more on Linear and Nonlinear Regression in Help Center and MATLAB Answers
Acknowledgements

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
1.2.0.0

Added optional estimation weights to the function.

1.1.0.0

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

1.0.0.0