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.

Chapter 25: Statistics 215binomial rnd (n, p, r, c)Function Filebinomial rnd (n, p, sz)Function FileReturn an r by c or a size (sz) matrix of random samples from the binomial distributionwith parameters n and p. Both n and p must be scalar or of size r byc.If r and c are omitted, the size of the result matrix is the common size of n and p.cauchy cdf (x, lambda, sigma)Function FileFor each element of x, compute the cumulative distribution function (CDF) at x ofthe Cauchy distribution with location parameter lambda and scale parameter sigma.Default values are lambda = 0, sigma = 1.cauchy inv (x, lambda, sigma)Function FileFor each element of x, compute the quantile (the inverse of the CDF) at x of theCauchy distribution with location parameter lambda and scale parameter sigma. Defaultvalues are lambda = 0, sigma = 1.cauchy pdf (x, lambda, sigma)Function FileFor each element of x, compute the probability density function (PDF) at x of theCauchy distribution with location parameter lambda and scale parameter sigma > 0.Default values are lambda = 0, sigma = 1.cauchy rnd (lambda, sigma, r, c)Function Filecauchy rnd (lambda, sigma, sz)Function FileReturn an r by c or a size (sz) matrix of random samples from the Cauchy distributionwith parameters lambda and sigma which must both be scalar or of size r byc.If r and c are omitted, the size of the result matrix is the common size of lambda andsigma.chisquare cdf (x, n)Function FileFor each element of x, compute the cumulative distribution function (CDF) at x ofthe chisquare distribution with n degrees of freedom.chisquare inv (x, n)Function FileFor each element of x, compute the quantile (the inverse of the CDF) at x of thechisquare distribution with n degrees of freedom.chisquare pdf (x, n)Function FileFor each element of x, compute the probability density function (PDF) at x of thechisquare distribution with k degrees of freedom.

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

Saved successfully!

Ooh no, something went wrong!