Cauchy {estimators}R Documentation

Cauchy Distribution

Description

Cauchy Distribution

Usage

Cauchy(location = 1, scale = 1)

## S4 method for signature 'Cauchy'
d(x)

## S4 method for signature 'Cauchy'
p(x)

## S4 method for signature 'Cauchy'
qn(x)

## S4 method for signature 'Cauchy'
r(x)

## S4 method for signature 'Cauchy'
median(x)

## S4 method for signature 'Cauchy'
mode(x)

## S4 method for signature 'Cauchy'
entro(x)

## S4 method for signature 'Cauchy'
finf(x)

## S4 method for signature 'numeric,numeric,Cauchy'
ll(x, prm, distr)

Arguments

location, scale

numeric. The distribution parameters.

x

an object of class Cauchy. If the function also has a distr argument, x is a numeric vector, a sample of observations.

prm

numeric. A vector including the distribution parameters.

distr

an object of class Cauchy.

Value

The dpqr family of functions return the evaluated density, cumulative probability, quantile, and random sample, respectively. The moments family of functions return the appropriate theoretical moment, as calculated by the distribution true parameters. The ll function returns the evaluated log-likelihood, given a sample and the theoretical parameters. The estim family of functions return the estimated parameters of the distribution, given a sample. The avar family of functions return the asymptotic variance or variance - covariance matrix (if there are two or more parameters) of the corresponding estimation method. Calculus performed on Distribution objects returns a Distribution object of the appropriate class and with the appropriate parameters.


[Package estimators version 0.8.5 Index]