Heteroskedasticity consistent standard errors: Sandwich estimator explained (Excel)
HTML-код
- Опубликовано: 30 июл 2024
- How to make your regression results robust in presence of heteroskedasticity? The most common technique is to compute the heteroskedasticity-consistent standard errors using the sandwich estimator of Huber and White. Today we are investigating this approach and learning to calculate the heteroskedasticity consistent covariance matrix in Excel.
Don't forget to subscribe to NEDL and give this video a thumbs up for more videos in Statistics!
Please consider supporting NEDL on Patreon: / nedleducation
You can find the spreadsheets for this video and some additional materials here: drive.google.com/drive/folders/1sP40IW0p0w5IETCgo464uhDFfdyR6rh7
Please consider supporting NEDL on Patreon: www.patreon.com/NEDLeducation
Another relevant video. Thanks for share with us your knowledge. I have a special petition: Could you make an arima model with excel? In Mexico City we usually use that kind of model.
Regards!
Hi Librado, and glad you liked the video! Might do a video on that in the future!
Great videos, thanks for sharing!
Савва, добрый день! Я все ждал, что в конце будет показан какой-то шорткат типа Linest или кнопки data analysis, только для гетероскедастичности :))
Добрый день, Антон! Спасибо за комментарии :) Да, к сожалению в Экселе не предусмотрено настолько специализированных инструментов для эконометрики. К счастью, новые версии хотя бы позволяют перемножать большие матрицы, чем и спасаемся :) Если быть максимально честным, чтобы эффективно оценить множество регрессий одновременно с робастными стандартными ошибками, я бы все же использовал Питон :)
@@NEDLeducation константа равная=1 необходима для перемножения матриц? если в моей модели изначальной она не имеет смысла
@@antonzharkov6036 Нет, если в модели не нужна константа, можно просто убрать столбец с единицами. Остальные шаги останутся теми же самыми.
Sir the way u explain the concept its too good. Sir plz make vedio on the skewed student t pdf that HANSEN 1994 used
Hi Faiza, and glad you liked the video! I might do a video on the skewed t-distribution at some point, thanks for the suggestion!
Савва, доброго времени суток. А вы не хотели бы внести новый формат на ваш канал? Недавно на SF Education видел ваши ролики по Python. Вы бы могли выпускать похожие на своем канале.
Виктор, привет! Спасибо за комментарий. На канале уже есть плейлист по Питону, если интересует: ruclips.net/video/jvZ0vuC9oJk/видео.html
My heteroskedasticity consistent Covar matrix returns #VALUE!.. I have 6035 observations.. rip
Hi Christian, and thanks for the question! I have indeed found that some versions of Excel have a tough time processing matrices in excess of 5000x5000. I have updated to the newest (I believe it is 2021) version, however, and even truly huge matrices, while taking some time, seem to work properly. For simplicity purposes, however, I would suggest using something like Python or EViews to handle quite large datasets.
@@NEDLeducation Yes, I preformed it in stata. However, I like to follow the same process in Excel. But I guess processing matrices in excess of 5000x5000 in excel is a little too optimistic.. haha