dnCauchy
- Cauchy Distribution
location : | Real (pass by const reference) |
The location parameter. | |
scale : | RealPos (pass by const reference) |
The scale parameter. |
# we simulate some obversations
x <- rCauchy(n=10,location=0,scale=1)
# let's see what the mean and the variance are.
The mean will not converge with more samples, the Cauchy family has no moments.
mean(x)
var(x)
sd(x)