12.07.2015 Views

GNU Octave - Local Sector 7 web page

GNU Octave - Local Sector 7 web page

GNU Octave - Local Sector 7 web page

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

216 <strong>GNU</strong> <strong>Octave</strong>chisquare rnd (n, r, c)Function Filechisquare rnd (n, sz)Function FileReturn an r by c or a size (sz) matrix of random samples from the chisquare distributionwith n degrees of freedom. n must be a scalar or of size r by c.If r and c are omitted, the size of the result matrix is the size of n.discrete cdf (x, v, p)Function FileFor each element of x, compute the cumulative distribution function (CDF) at x of aunivariate discrete distribution which assumes the values in v with probabilities p.discrete inv (x, v, p)Function FileFor each component of x, compute the quantile (the inverse of the CDF) at x of theunivariate distribution which assumes the values in v with probabilities p.discrete pdf (x, v, p)Function FileFor each element of x, compute the probability density function (pDF) at x of aunivariate discrete distribution which assumes the values in v with probabilities p.discrete rnd (n, v, p)Function Filediscrete rnd (v, p, r, c)Function Filediscrete rnd (v, p, sz)Function FileGenerate a row vector containing a random sample of size n from the univariatedistribution which assumes the values in v with probabilities p. n must be a scalar.If r and c are given create a matrix with r rows and c columns. Or if sz is a vector,create a matrix of size sz.empirical cdf (x, data)Function FileFor each element of x, compute the cumulative distribution function (CDF) at x ofthe empirical distribution obtained from the univariate sample data.empirical inv (x, data)Function FileFor each element of x, compute the quantile (the inverse of the CDF) at x of theempirical distribution obtained from the univariate sample data.empirical pdf (x, data)Function FileFor each element of x, compute the probability density function (PDF) at x of theempirical distribution obtained from the univariate sample data.empirical rnd (n, data)Function Fileempirical rnd (data, r, c)Function Fileempirical rnd (data, sz)Function FileGenerate a bootstrap sample of size n from the empirical distribution obtained fromthe univariate sample data.If r and c are given create a matrix with r rows and c columns. Or if sz is a vector,create a matrix of size sz.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!