Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: English - Français - Português - Русский

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

Scilabヘルプ >> Statistics > Descriptive Statistics > correl

# correl

2つの変数の相関

### 呼び出し手順

`rho=correl(x,y,fre)`

### Parameters

x

y

fre

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

### 説明

`correl(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=[2.5 7.5 12.5 17.5]
h=[0 1 2]
fre=[.03 .12 .07;.02 .13 .11;.01 .13 .14;.01 .09 .14]
rho=correl(x,h,fre)```

### 参照

• covar — 2つの変数の共分散

### Comments

Add a comment:
Please login to comment this page.

 Report an issue << center Descriptive Statistics cov >>

 Scilab EnterprisesCopyright (c) 2011-2017 (Scilab Enterprises)Copyright (c) 1989-2012 (INRIA)Copyright (c) 1989-2007 (ENPC)with contributors Last updated:Mon Feb 12 23:12:40 CET 2018