Scilab-Branch-6.1-GIT
Please note that the recommended version of Scilab is 2026.0.0. This page might be outdated.
See the recommended documentation of this function
nanstdev
標準偏差 (NaNを無視).
呼び出し手順
s=nanstdev(x) s=nanstdev(x,'r') or m=nanstdev(x,1) s=nanstdev(x,'c') or m=nanstdev(x,2)
パラメータ
- x
実数または複素数のベクトルまたは行列
説明
この関数はベクトルまたは行列の値の(NaNを無視した)標準偏差を計算します.
あるベクトルまたは行列 xについて,
s=nanstdev(x)は
全てのsに
xの(NaNを無視した)全エントリの標準偏差を返します.
s=nanstdev(x,'r') (もしくは等価な,
s=nanstdev(x,1)) は,行方向の標準偏差です.
この場合,行ベクトルsの
各エントリに
xの各列の(NaNを無視した)標準偏差が返されます.
s=nanstdev(x,'c') (もしくは等価な,
s=nanstdev(x,2)) は,列方向の標準偏差です.
この場合,列ベクトルsの各エントリに
xの各行の(NaNを無視した)標準偏差が返されます.
Labostatでは, NAN 値は表における欠損値を意味します.
例
x=[0.2113249 0.0002211 0.6653811; 0.7560439 %nan 0.6283918; 0.3 0.2 0.5 ]; s=nanstdev(x) s=nanstdev(x,'r') s=nanstdev(x,'c')
参考文献
Wonacott, T.H. & Wonacott, R.J.; Introductory Statistics, fifth edition, J.Wiley & Sons, 1990.
| Report an issue | ||
| << nanreglin | Data with Missing Values | nansum >> |