Rolling Pearson Correlation of a Signal Against a Pattern
Summary
The document describes a mathematical library function for calculating Pearson correlation values between an input signal series and a supplied pattern. It presents the function as producing an array of coefficients, with each value reflecting a comparison between the original series and the pattern. This can help quantify how closely signal observations resemble a reference pattern, a potentially useful building block for quantitative analysis.
The page gives a function signature and identifies a benchmark script that compares its performance with alternative implementations. It does not explain the alignment or windowing details, define behavior for invalid or constant inputs, provide example results, or discuss trading applications. The listed R correspondence is empty, so the document does not establish compatibility with an R function. Readers would need to consult the implementation and benchmark for operational details before relying on it in a research pipeline.
Key ideas
- The function calculates Pearson correlation values between a signal series and a supplied pattern.
- It returns the calculated coefficients in an output array.
- The page points to a benchmark comparison but gives no benchmark findings or trading evaluation.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.