[Time Series] Baseline model of Time Series

2023. 4. 23. 23:58·Statistics/Time Series

시계열 예측 모델 중 베이스라인으로 활용하는 4개의 모델이 있다. 이는 마지막 예측값을 어떤 값으로 할지에 따라 나뉜다. 

 

  • average method: 과거 데이터의 평균값으로 마지막값 예측
  • naive method: 관측값 중 마지막 값을 예측값으로 
  • seasonal method: 같은 seasonal point 중 과거의 point을 예측값으로 , 올해 값이 없으면 작년, 제작년 값 사용
  • drift method: naive method에 trend를 반영한 것. 마지막값 + 변화의 평균값(x변화량, y변화량)

 

[R code]

meaf(y, h=20)

naive(y, h=20)

snaive(y, h=20)

rwf(y, drift=TRUE, h=20) #FALSE면 naive

'Statistics > Time Series' 카테고리의 다른 글

[Time Series] Box-cox transformation/ Back transformation/ Bias adjustment  (0) 2023.04.24
[Time Series] Basic of Time Series / Lag / Autocorrelation /WN (White Noise)  (0) 2023.04.23
'Statistics/Time Series' 카테고리의 다른 글
  • [Time Series] Box-cox transformation/ Back transformation/ Bias adjustment
  • [Time Series] Basic of Time Series / Lag / Autocorrelation /WN (White Noise)
재온
재온
  • 재온
    Carpe Diem
    재온
  • 전체
    오늘
    어제
    • 분류 전체보기 (75)
      • AI (18)
        • NLP (5)
        • Toxicity Prediction (6)
        • Paper review (5)
      • Statistics (5)
        • mathematical statistics (2)
        • Time Series (3)
      • Algorithm (16)
      • Deep Learning (1)
      • Machine Learning (3)
      • TIL (11)
      • 공모전 및 프로젝트 (2)
      • 회고록 (3)
      • IT News (2)
      • 취준일기 (7)
      • 기타 (2)
  • 블로그 메뉴

    • 링크

      • Github
    • 공지사항

    • 인기 글

    • 태그

      Greedy 알고리즘
      시계열
      AI 뉴스레터
      SKT AI Fellowship
      노래가사분석
      Chatgpt api inference
      Prompt pattern
      Graph AI
      Prompting
      SKT AI Fellowship 5기 후기
      ChatGPT
      코딩테스트 파이썬
      SMILES to vector
      ssh 접속오류
      알고리즘
      이것이코딩테스트다
      음악가사분석
      time series
      NLP
      chatgpt api 실습
      코딩테스트 개념
      파이썬
      맞춤법 교정 모델
      코딩테스트
      Seqeunce to seqeunce
      tokenization repair
      Transformer기초
      chatgpt api 발급받기
      크롬드라이버크롤링
      NLP Paper
    • 최근 댓글

    • 최근 글

    • hELLO· Designed By정상우.v4.10.4
    재온
    [Time Series] Baseline model of Time Series
    상단으로

    티스토리툴바