Library: | distribs |
See also: | cdfcauch |
Quantlet: | pdfcauch | |
Description: | computes probability density function of the Cauchy distribution |
Usage: | y = pdfcauch(X,sigma,mu) | |
Input: | ||
X | array, input values | |
sigma | scalar or array of the same dimension as X, the scale parameter | |
mu | scalar or array of the same dimension as X, the location parameter | |
Output: | ||
y | array, the values of Cauchy probability density function |
library("distribs") x = #(0,1,2) pdfcauch(x,1,1)
Contents of y [1,] 0.15915 [2,] 0.31831 [3,] 0.15915