RudyMorel / scattering_spectra

Scattering Spectra used for the analysis and generation of time-series
MIT License
25 stars 8 forks source link

Time series generation - returns or prices. #8

Closed andrewcz closed 8 months ago

andrewcz commented 8 months ago

Hi @RudyMorel I hope you're well. A couple of brief questions.

RudyMorel commented 8 months ago

Hi @andrewcz,

I plan to release a tutorial.ipynb to demonstrate the usage of these functions. Currently, code examples can be found in testing.ipynb

Thank you fo your questions. Rudy

andrewcz commented 8 months ago

Thank you @RudyMorel! Will give it a try.

On Wed, 7 Feb 2024 at 8:17 am, Rudy Morel @.***> wrote:

Hi @andrewcz https://github.com/andrewcz,

  • The model implemented in this repository is stationary. Thus, the log-returns (which can be assumed stationary at certain granularity) should be considered.
  • to generate multiple time-series you can use the "S" argument of the function "generate" from frontend.py.

I plan to release a tutorial.ipynb to demonstrate the usage of these functions. Currently, code examples can be found in testing.ipynb

Thank you fo your questions. Rudy

— Reply to this email directly, view it on GitHub https://github.com/RudyMorel/scattering_spectra/issues/8#issuecomment-1930765691, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARQUD3ATW3IBJHAEGGSSHTYSKMXJAVCNFSM6AAAAABCXJUDACVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZQG43DKNRZGE . You are receiving this because you were mentioned.Message ID: @.***>

RudyMorel commented 8 months ago

Hi @andrewcz,

In the last commit I added a tutorial.ipynb file.

Also, coming back to your question, I realize we may have different definitions of the word "returns". There are four quantities:

A Scattering Spectra model accepts both log-prices or log-returns. More generally, it accepts stationary time-series (e.g. log-returns) or time-series which are not necessarily stationary but whose increments are (e.g. log-prices).

Rudy