HOME > テクニカルサポート > 製品 一覧 > SigmaPlot > ユーザーガイド > トランスフォーム関数一覧
ヒューリンクステクニカルサポート
皆様からのご質問のうち、よくある質問を掲載しました。
更新日: 14/05/08

runavg

関数 runavg は、平均する範囲の個数をウィンドウのサイズで指定して、移動平均を範囲として生成します。結果として得られる範囲は、引数 range の大きさと同じになります。

 

構文

runavg(range, window)

引数 range には 1つの範囲 ({} で指定) 、もしくは、ワークシートの1列を指定します。範囲内に欠損値や文字列が含まれている場合は 0 に置き換えられます。

もし引数 window が偶数であれば、それより1つ大きい奇数が使われます。移動平均の両端に対しては、次式で求められる値を最初と最後の範囲にそれぞれ付加して計算します。

 

関連情報

 

runavg

The runavg function produces a range of running averages, using a window of a specified size as the size of the range to be averaged. The resulting range is the same length as the argument range.

Syntax

runavg(range,window)

The range argument must be a single range (indicated with the {} brackets) or a worksheet column. Any missing value or text string contained within a range is replaced with 0.

If the window argument is even, the next highest odd number is used. The tails of the running average are computed by appending

additional initial and final values to their respective ends of range.

Example

The operation runavg({1,2,3,4,5},3) returns {1.33,2,3,4,4.67}. The value of the window argument is 3, so the first result value is calculated as:

The second value is calculated as:

関連情報

 

前のページにもどる