New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Additional metric added based on the quasi-likekilhood loss function (qlike). #8715
base: main
Are you sure you want to change the base?
Conversation
something wrong here |
Do you have a reference for this definition of quasi-likelihood? |
One can refer to the following paper for the definition of quasi-likelihood:
https://doi.org/10.1093/jjfinec/nbab028
[https://oup.silverchair-cdn.com/oup/backfile/Content_public/Journal/jfec/PAP/10.1093_jjfinec_nbab028/1/m_nbab028f1.jpeg?Expires=1740164861&Signature=PlNdRdFE-UmYWlZpK6xDcX4Fi823-nIaA~yUJ5cLCYbzvLLUFuuQ5D8I~uk0nS6ekV3KYwcp0FEp~l3OoaEGr~4276sXy30LzICBlXTnCdv~z5mS29bXMkmKuI9LLQjycslG5Tf2BM0Kzna5jIMLuLI8wijWFtEOdhm52AIm-Dy2rFp6CqYDcS3j0rsXaKslXIjhBW0SOjEugMopRsoajJnlaZGR1saNo77oNBa3CoksxNYEzjoVSXcYOUoqX1WBkY6HBx7lSVWr41ci8W4~6Uu2XNXrmeMXvRPRCOHTQUH8GPPLz49knN-NiJq~QZ~jkgKTLvRgUP5bEObhRtKvCw__&Key-Pair-Id=APKAIE5G5CRDK6RD3PGA]<https://doi.org/10.1093/jjfinec/nbab028>
Increasing the information content of realized volatility forecasts*<https://doi.org/10.1093/jjfinec/nbab028>
Abstract. Assuming N available calendar days, each with M intraday returns, the realized volatility literature suggests creating N end-of-day estimators by summ
doi.org
…________________________________
From: Josef Perktold ***@***.***>
Sent: 03 March 2023 18:53
To: statsmodels/statsmodels ***@***.***>
Cc: Emmanuel Djanga ***@***.***>; Author ***@***.***>
Subject: Re: [statsmodels/statsmodels] Additional metric added based on the quasi-likekilhood loss function (qlike). (PR #8715)
Do you have a reference for this definition of quasi-likelihood?
—
Reply to this email directly, view it on GitHub<#8715 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ANZ5GCO5GCZEY2E5LJ2GD63W2I4Y7ANCNFSM6AAAAAAVO5CAS4>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
I tried to fork the latest code from GitHub.
I shall give it another try then.
…________________________________
From: Josef Perktold ***@***.***>
Sent: 03 March 2023 18:49
To: statsmodels/statsmodels ***@***.***>
Cc: Emmanuel Djanga ***@***.***>; Author ***@***.***>
Subject: Re: [statsmodels/statsmodels] Additional metric added based on the quasi-likekilhood loss function (qlike). (PR #8715)
something wrong here
Many unrelated changes, several look like they are reverting previous PRs and would reintroduce bugs or revert enhancements.
—
Reply to this email directly, view it on GitHub<#8715 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ANZ5GCJLD3WZUXJ4ONHRXJDW2I4NDANCNFSM6AAAAAAVO5CAS4>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
The article uses qlike for volatility forecast and not for mean. equ. 16b I'm not sure we can use the same definition. |
the qlike looks more like the quasi-likelihood for the gamma family, which would be the distribution of the variance if the underlying random variable is gaussian. Also it looks like the definition differs from equ 35 in Also if it's used for forecasting, then it should be an out of sample evaluation measure. I'm just skimming a few things @bashtage any comment here |
NumPy's guide.
Notes:
needed for doc changes.
then show that it is fixed with the new code.
verify you changes are well formatted by running
flake8
is installed. This command is also available on Windowsusing the Windows System for Linux once
flake8
is installed in thelocal Linux environment. While passing this test is not required, it is good practice and it help
improve code quality in
statsmodels
.