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

Change language to:
English - Français - Português - Русский

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

Scilabヘルプ >> Statistics > Descriptive Statistics > covar

covar

2つの変数の共分散

呼び出し手順

s=covar(x,y,fre)

パラメータ

x

実数または複素数のベクトル

y

実数または複素数のベクトル

fre

length(x) x length(y)の行列

説明

covar(x,y,fre) は2つの変数xおよびyの 共分散を計算します. freは次元length(x) x length(y)の行列です. freの中で,インデックス(i,j)の要素はx_i&y_jの 値または数値または周波数に対応します.

参考文献

Wonacott, T.H. & Wonacott, R.J.; Introductory Statistics, J.Wiley & Sons, 1990.

x=[10 20 30 40]
y=[10 20 30 40]
fre=[.20 .04 .01  0;
     .10 .36 .09  0;
       0 .05 .10  0;
       0   0   0 .05]
s=covar(x,y,fre)
Report an issue
<< cov Descriptive Statistics histc >>

Copyright (c) 2022-2024 (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 Apr 01 10:25:03 CEST 2015