Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.3 - 日本語

Change language to:
English - Français - Português

Please note that the recommended version of Scilab is 2024.0.0. This page might be outdated.
See the recommended documentation of this function

Scilab help >> Statistics > wcenter

wcenter

中心化と重み付け

呼び出し手順

s=wcenter(x)
s=wcenter(x,'r') or s=wcenter(x,1)
s=wcenter(x,'c') or s=wcenter(x,2)

パラメータ

x: 実数または複素数のベクトルまたは行列

説明

この関数は,数値行列xを重み付けし,中心化したsを 計算します.

あるベクトルまたは行列xについて,s=wcenter(x) は,行列sの係数(i,j)に 値(x(i,j)-xbar)/sigmaを返します. ただし,xbarxの係数の値の平均, sigmaはその標準偏差です.

s=wcenter(x,'r') (もしくは等価な s=wcenter(x,1)) は, xの値の行方向の中心化です. この関数は,xbarv(j)j列の値の平均, sigmav(j)xj列目の 標準偏差として, 値(x(i,j)-xbarv(j))/sigmav(j)をエントリs(i,j) に返します.

s=wcenter(x,'c') (もしくは等価な s=wcenter(x,2)) は,xの値の行方向の中心化です. この関数は,xbarvh(i)i行の値の平均, sigmah(i)xi行目の 標準偏差として, 値(x(i,j)-xbarh(i))/sigmah(i)をエントリs(i,j) に返します.

x=[0.2113249 0.0002211 0.6653811;
   0.7560439 0.3303271 0.6283918]
s=wcenter(x)
s=wcenter(x,'r')
s=wcenter(x,'c')

参照

作者

Carlos Klimann

<< center Statistics cmoment >>

Copyright (c) 2022-2023 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Oct 05 12:12:53 CEST 2011