Efficient Univariate Regression Updates

You are given two datasets, dfx and dfy, with the same number of rows. Each row contains asset returns observed at the same time:

  • dfx has N predictor columns: x0, x1, ..., x(N-1).
  • dfy...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: