백색 잡음(WN) 모델

R로 배우는 시계열 분석

David S. Matteson

Associate Professor at Cornell University

백색 잡음

White Noise(WN)는 정상 과정의 가장 단순한 예입니다.

약한 백색 잡음 과정의 특성:

  • 고정된 상수 평균.
  • 고정된 상수 분산.
  • 시간에 따른 상관관계 없음.
R로 배우는 시계열 분석

백색 잡음

White Noise의 시계열 플롯:

R로 배우는 시계열 분석

백색 잡음

White Noise의 시계열 플롯인가요?

R로 배우는 시계열 분석
# Simulate n = 50 observations from the WN model
WN_1 <- arima.sim(model = list(order = c(0, 0, 0)), n = 50)
head(WN_1)
-0.005052984  0.042669765  3.261154066  
 2.486431235  0.283119322  1.543525773
ts.plot(WN_1)

R로 배우는 시계열 분석
# Simulate from the WN model with mean = 4, sd = 2
WN_2 <- arima.sim(model = list(order = c(0, 0, 0)), 
                  n = 50, mean = 4, sd = 2)
ts.plot(WN_2)

R로 배우는 시계열 분석

백색 잡음 추정

# Fit the WN model with 
# arima()
arima(WN_2, 
      order = c(0, 0, 0))
Coefficients:
      intercept
         4.0739
s.e.     0.2698
sigma^2 estimated as 3.639
# Calculate the sample 
# mean and sample variance
# of WN
mean(WN_2)
4.0739
var(WN_2)
3.713
R로 배우는 시계열 분석

연습해 봅시다!

R로 배우는 시계열 분석

Preparing Video For Download...