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

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

Please note that the recommended version of Scilab is 2024.1.0. This page might be outdated.
However, this page did not exist in the previous stable version.

Scilab help >> Statistics > Regression > regress

regress

2つの変数の回帰係数

呼び出し手順

coefs=regress(x,y)

パラメータ

x,y

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

説明

この関数は,共に同じ要素数nの数値ベクトルである 2つの変数x および yの 回帰係数を計算します. coefs=[a b] は, Y=a+bXが データの最小二乗推定近似の方程式となるような 1x2行列です.

参考文献

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

x=[0.5608486 0.6623569 0.7263507 0.1985144 0.5442573 0.2320748 0.2312237]
y=[0.3616361 0.2922267 0.5664249 0.4826472 0.3321719 0.5935095 0.5015342]
coefs=regress(x,y)

参照

  • covar — 2つの変数の共分散
Report an issue
<< Regression Regression Sampling >>

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:
Mon Oct 01 17:40:32 CEST 2012