2016-09-21 7 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

関連する問題