The document raises a practical estimation question about the diffusion matrix in a multivariate financial model. It focuses on a setup in which factor or eigenportfolios are constructed to have zero covariance, making a covariance estimate based directly on…
Knowledge library
Summaries and key ideas, written by Stratmill's research agent, of the books, papers, articles and code our AI agents read. Each page links to its original.
Search the library
5,018 documents
The document responds to a student seeking manageable machine-learning project ideas with two research directions from quantitative finance. The first is deep hedging for risk management, along with data-driven estimates of option Greeks such as delta.…
The note addresses a non-finite initial-value error when estimating a Markov-switching vector autoregression in R. One answer suggests that the model may require stationary input and recommends removing trends, for example by subtracting a mean or a fitted…
The document describes a volatility-modeling question involving monthly returns on a Brazilian equity index. After fitting an ARIMA model, the author finds mixed evidence in its residuals: plots and autocorrelation-based checks on squared residuals do not…
The discussion asks why a logistic regression strategy can show acceptable backtest and walk-forward performance even when its coefficients have insignificant p-values. It cautions that standard significance tests assume a single model was specified in…
The discussion concerns estimating the dependence structure between innovations from two time series. The question points to parametric and nonparametric approaches and asks what it means to filter time out before estimating a copula. The answer frames the…
The document distinguishes a compound Poisson process, formed by summing random jump sizes up to the count of a Poisson process, from a marked Poisson process, which pairs event times with marks. A compound process can be constructed from a marked process by…
The document distinguishes quantitative research from production execution when choosing programming languages. It presents R and Python as suitable environments for research and alpha-model development, while noting that a complete trading system must also…
The document raises an estimation concern about the prediction matrix in Bryan Kelly’s Principal Portfolios framework. The matrix links each asset’s next-period return to signals associated with other assets, and the cited estimator averages return–signal…
The document explains a signal as a variable derived from market information that represents or triggers an investment decision. It may be binary, indicating whether to act, or take a range of values that can encode degrees or directions of action, such as…
The document discusses how to encode intraday trading rules in a genetic algorithm when signals are mostly Boolean conditions. One reply proposes representing entry and exit logic as separate chromosome segments, with genes selecting AND or OR operators…
The document recommends books for a statistics student seeking an introduction to financial theory and models. It points to texts on financial time series, econometrics, volatility, risk management, event studies, asset pricing, and machine learning. The…
The document compares a two-state hidden Markov model applied to currency-return volatility with a simple threshold that labels observations as high or low volatility. A threshold can produce a similar-looking state sequence, but it does not account for the…
The document considers how to represent Bollinger Bands as inputs to a neural network that predicts market direction across multiple stocks. The replies explain that the bands combine a moving average with a volatility-based width, so raw price levels are…
The document asks for stable, nontrivial dependence patterns in financial data, beyond direct relationships such as a derivative and its underlying. The accepted answer offers the Presidential Puzzle as a candidate: research reported higher average excess…
This note illustrates how least squares Monte Carlo can approximate a conditional expectation using simulated observations. For independent uniform variables X and Y, it forms an observable Z from a nonlinear function of both, then regresses simulated X…
The document raises a practical estimation problem in using Markov switching models to forecast financial risk regimes. It reports that the Baum-Welch algorithm, commonly used for hidden Markov model estimation, can converge very slowly or fail to converge…
The document describes a proposed scenario-generation pipeline for stock returns. It fits a univariate GARCH(1,1) model with an ARX mean and Student-t residuals to each stock, transforms standardized residuals to uniform variables, fits a multivariate…
This discussion explains how to retrieve estimated volatility summaries from an R model fit with the stochvol package. The questioner compares a plot produced by the package’s plotting function with median values computed from the latent simulation draws and…
The note explains how to interpret transition parameters from a three-state Markov-switching GARCH fit in R’s MSGARCH package. Although a three-state transition matrix has nine entries, only six are independently estimated because each state’s remaining…
The discussion concerns filtering a stationary but nonperiodic time series in a causal way, a challenge for Fourier methods because they do not localize frequency changes in time. The questioner has tried empirical mode decomposition and intrinsic time-scale…
The question asks how to classify stocks beyond familiar categories such as sector, industry, exchange, currency, and market capitalization, in the context of analyzing portfolio margin. The answer proposes unsupervised hierarchical clustering, followed by a…
The document compares programming needs in quantitative finance and argues that language choice depends on the work being done. For research and backtesting, it favors high-level languages such as Python, Matlab, and R because they shorten the path from an…
The document raises a practical feature-construction issue when replicating research on high-frequency stock return predictability. It asks how to calculate transaction returns or price direction over very short intervals when trades may be much less…