2016-09-21 4 views

답변

1

메이플 (16)를 사용하고 있습니다. 추세선을 부드럽게 만들기 위해 exponential smoothing model과 같은 것을 데이터에 적용 할 수 있습니다.

당신이 단풍의 최근 사본이있는 경우, 다음과 같이 사용하여이 뭔가를 실험 할 수 있습니다

with(Statistics): 
Z := Sample(Normal(0, 1), 50): #Generate some data 
Y := CumulativeSum(Z): 
ESmodel := Constant -> ExponentialSmoothing(Y, 0.1*Constant): 

Explore 명령은 평활 상수에 대해 다른 값을 시도 할 수있는 인터페이스를 만듭니다

Explore(plots[display](LineChart(Y, color=blue), 
         LineChart(ESmodel(Constant), thickness=3, color=red), 
      gridlines=true), 
parameters=[Constant=1..10]); 

Explore_Smoothing_Example

관련 문제