Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.4.0 - Português

Change language to:
English - Français - 日本語 - Русский

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

Ajuda Scilab >> Estatística > Descriptive Statistics > st_deviation

st_deviation

standard deviation (row or column-wise) of vector/matrix entries

stdev

standard deviation (row or column-wise) of vector/matrix entries

Calling Sequence

y=st_deviation(x)
y=st_deviation(x,'r')
y=st_deviation(x,'c')
y=stdev(x)
y=stdev(x,'r')
y=stdev(x,'c')

Arguments

x

real vector or matrix

y

scalar or vector

Description

st_deviation computes the "sample" standard deviation, that is, it is normalized by N-1, where N is the sequence length.

For a vector or a matrix x, y=st_deviation(x) returns in the scalar y the standard deviation of all the entries of x.

y=st_deviation(x,'r') (or, equivalently, y=st_deviation(x,1)) is the rowwise standard deviation. It returns in each entry of the column vector y the standard deviation of each row of x.

y=st_deviation(x,'c') (or, equivalently, y=st_deviation(x,2)) is the columnwise st_deviation. It returns in each entry of the row vector y the standard deviation of each column of x.

Examples

A=[1,2,10;7,7.1,7.01];
st_deviation(A)
st_deviation(A,'r')
st_deviation(A,'c')

See Also

  • sum — soma (soma linha, soma coluna) de entradas de um vetor ou matriz
  • median — median (row median, column median,...) of vector/matrix/array entries
  • mean — mean (row mean, column mean) of vector/matrix entries
  • nanstdev — standard deviation (ignoring the NANs).
  • stdevf — standard deviation
Report an issue
<< mvvacov Descriptive Statistics stdevf >>

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:39:48 CEST 2012