Newey-West Standard Errors
Computes Newey-West adjusted heteroscedastic-serial consistent standard errors.
Allows for a selection of lag lenght or (by default) selects an optimal lag length based on the Newey-West(1994) plug-in procedure.
Cite As
Guillaume Nolin (2024). Newey-West Standard Errors (https://www.mathworks.com/matlabcentral/fileexchange/41275-newey-west-standard-errors), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- AI, Data Science, and Statistics > Statistics and Machine Learning Toolbox > Classification > Classification Trees >
Tags
Acknowledgements
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.2.0.0 | Adds the possibility to add or remove a constant term (a column of ones) as an independent variable in the 'X' matrix. Also provides the ability to compute Newey-West standard errors without inputing 'X', with a constant term by default. |
||
1.1.0.0 | Updated to handle a single time series. |
||
1.0.0.0 |