Skip to content

Instantly share code, notes, and snippets.

View FinancialEngineerLab's full-sized avatar

FineFinance FinancialEngineerLab

  • Non-Linear Financial Products
View GitHub Profile
@FinancialEngineerLab
FinancialEngineerLab / levmarq - Levenberg-Marquardt in plain C
Created October 16, 2022 23:49 — forked from rbabich/ levmarq - Levenberg-Marquardt in plain C
A simple implementation of the Levenberg-Marquardt algorithm in plain C
This file (with a leading space) exists so that the gist has a sensible name, rather than "LICENSE."
@rshowcase
rshowcase / fm
Last active November 20, 2023 13:35
Fama-MacBeth Entire Procedure
# In my portfolio, I show how the popular Fama-MacBeth (1973) procedure is constructed in R.
# The procedure is used to estimate risk premia and determine the validity of asset pricing models.
# Google shows that the original paper has currently over 9000 citations (Mar 2015), making the methodology one of the most
# influential papers in asset pricing studies. It's used by thousands of finance students each year, but I'm unable to find a
# complete description of it from the web.
#
# While the methodology is not statistically too complex (although the different standard errors can get complex),
# it can pose some serious data management challenges to students and researchers.
#
# The goal of the methodology is to estimate risk premia in the financial markets. While newer, more sophisticated methods for
@rbabich
rbabich / levmarq - Levenberg-Marquardt in plain C
Last active November 6, 2024 10:59
A simple implementation of the Levenberg-Marquardt algorithm in plain C
This file (with a leading space) exists so that the gist has a sensible name, rather than "LICENSE."