Applied ARIMA(x) Analysis Model in R

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024
  • НаукаНаука

Комментарии • 9

  • @yohani1573
    @yohani1573 3 года назад

    Great video - you make some of the best videos on ML for R that I've seen. Would be very keen to see the SARIMA video!

    • @SpencerPaoHere
      @SpencerPaoHere  3 года назад

      Thanks for your support! I was thinking about doing SARIMA models in the future. I'll put that on the list :)

    • @yohani1573
      @yohani1573 3 года назад

      @@SpencerPaoHere Awesome! Quick question - what do you think are the best models for time series forecasting with a leading indicator?

    • @SpencerPaoHere
      @SpencerPaoHere  3 года назад

      @@yohani1573 It honestly really depends. You would typically have to experiment with a variety of models and evaluate your metrics. If you receive consistent metrics across all of your models, then the simplest model would be the best.
      Some tidbits:
      If you don't have a lot of observations, then ARIMA / SARIMA or some version of Fourier transforms might suffice.
      If you want to go through the brute force approach where you have lots of observations, then maybe some version of RNN/LSTM/GRU might do you some good.

    • @yohani1573
      @yohani1573 3 года назад

      @@SpencerPaoHere Super helpful - thanks! Would love to see some RNN and BSTS videos as well :)

    • @SpencerPaoHere
      @SpencerPaoHere  3 года назад

      @@yohani1573 RNN video: ruclips.net/video/FBlPZJrJt9g/видео.html
      Interesting ! BSTS is pretty nifty. I'll add that to my list.

  • @Jesus_is_Lord_Ever
    @Jesus_is_Lord_Ever 3 года назад

    Hi thx for the video, may i know where can i get the data set and code you used?

    • @SpencerPaoHere
      @SpencerPaoHere  3 года назад +1

      Hi! No problem :)
      I obtained adjusted closing data from Yahoo Finance and the Treasury rates at treasury.gov. I manually downloaded the separate datasets and joined them based on daily dates.
      You can check out my Financial scraping video for additional details if you'd want to skip the manual process of downloading data sets :)
      The code & data can be seen here: github.com/SpencerPao/ARIMA

    • @Jesus_is_Lord_Ever
      @Jesus_is_Lord_Ever 3 года назад

      @@SpencerPaoHere Thank you very much.