iqr
timeseries
データの四分位数間範囲
説明
tsiqr = iqr(
は、四分位数間範囲の計算時に、1 つ以上の名前と値のペアの引数を使用して追加のオプションを指定します。たとえば、ts
,Name,Value
)tsiqr = iqr(
は、欠損サンプル特性コードとして -99 を定義し、四分位数間範囲を計算する前に欠損サンプルを削除します。ts
,'Quality',-99,'MissingData','remove')
例
サンプル データの四分位数間範囲
timeseries
オブジェクトを作成して、サンプル データの四分位数間範囲を計算します。
ts = timeseries((1:10)'); tsiqr = iqr(ts)
tsiqr = 5
入力引数
ts
— 入力 timeseries
スカラー
入力 timeseries
。スカラーとして指定します。
データ型: timeseries
名前と値の引数
引数のオプションのペアを Name1=Value1,...,NameN=ValueN
として指定します。ここで Name
は引数名で、Value
は対応する値です。名前と値の引数は他の引数の後になければなりませんが、ペアの順序は重要ではありません。
R2021a より前では、コンマを使用してそれぞれの名前と値を区切り、Name
を引用符で囲みます。
例: tsiqr = iqr(
ts
,'Quality',-99,'MissingData','remove')
Quality
— 欠損値インジケーター
スカラー | ベクトル | 行列 | 多次元配列
欠損値インジケーター。-128 ~ 127 の範囲の整数のスカラー、ベクトル、行列、または多次元配列として指定します。各要素は、欠損データとして扱う特性コードです。
既定では、iqr
は四分位数間範囲を計算する前にすべての欠損データを削除します。データを削除せずに内挿するには、名前と値のペア 'MissingData','interpolation'
を指定します。
データ型: single
| double
| int8
| int16
| int32
| int64
| uint8
| uint16
| uint32
| uint64
MissingData
— 欠損データ メソッド
'remove'
(既定値) | 'interpolate'
欠損データ メソッド。'remove'
を指定すると四分位数間範囲を計算する前に欠損値が削除され、'interpolate'
を指定するとデータの内挿により欠損値が埋められます。名前と値のペア 'Quality'
は、どのデータ サンプルを欠損データと見なすかを指定します。
バージョン履歴
R2006a より前に導入
参考
mean
| std
| timeseries
| var
MATLAB コマンド
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは MATLAB コマンドをサポートしていません。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)