Description Usage Arguments Value Author(s) References See Also Examples
Computes the maximum likelihood estimates for the parameters of a Wrapped Cauchy distribution: mean and concentration parameter.
1 2 3 4 |
x |
a vector. The object is coerced to class
|
mu |
if |
rho |
if |
tol |
precision of the estimation. |
max.iter |
maximum number of iterations. |
control.circular |
the attribute of the resulting objects ( |
digits |
integer indicating the precision to be used. |
... |
further arguments passed to or from other methods. |
Returns a list with the following components:
call |
the |
mu |
the estimate of the mean direction or the value supplied as an object of class |
rho |
the estimate of the concentration parameter or the value supplied |
convergence |
TRUE if convergence is achieved. |
Claudio Agostinelli and Ulric Lund
Jammalamadaka, S. Rao and SenGupta, A. (2001). Topics in Circular Statistics, Section 4.2.1, World Scientific Press, Singapore.
1 2 3 | x <- rwrappedcauchy(n=50, mu=circular(0), rho=0.5)
mle.wrappedcauchy(x) # estimation of mu and rho
mle.wrappedcauchy(x, mu=circular(0)) # estimation of rho only
|
Attaching package: 'circular'
The following objects are masked from 'package:stats':
sd, var
Call:
mle.wrappedcauchy(x = x)
mu: 6.219
rho: 0.4555
Call:
mle.wrappedcauchy(x = x, mu = circular(0))
mu: 0
rho: 0.4537
mu is known
There were 50 or more warnings (use warnings() to see the first 50)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.