Description Usage Arguments Value Author(s) References See Also Examples
Computes the maximum likelihood estimates for the parameters of a Wrapped Normal distribution: mean and concentration parameter.
1 2 3 4 5 |
x |
a vector. The object is coerced to class
|
mu |
if |
rho |
if |
sd |
standard deviation of the (unwrapped) normal. Used as an alternative parametrization. |
K |
number of terms to be used in approximating the density. |
tol |
precision of the estimation. |
min.sd |
minimum value should be reached by the search procedure for the standard deviation parameter. |
min.k |
minimum number of terms used in approximating the density. |
max.iter |
maximum number of iterations. |
verbose |
logical, if |
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 |
sd |
the estimate of the standard deviation or the value supplied. |
est.mu |
TRUE if the estimator is reported. |
est.rho |
TRUE if the estimator is reported. |
convergence |
TRUE if the convergence is achieved. |
Claudio Agostinelli with a bug fix by Ana Nodehi
Jammalamadaka, S. Rao and SenGupta, A. (2001). Topics in Circular Statistics, Section 4.2.1, World Scientific Press, Singapore.
1 2 3 | x <- rwrappednormal(n=50, mu=circular(0), rho=0.5)
mle.wrappednormal(x) # estimation of mu and rho (and sd)
mle.wrappednormal(x, mu=circular(0)) # estimation of rho (and sd) only
|
Attaching package: 'circular'
The following objects are masked from 'package:stats':
sd, var
Call:
mle.wrappednormal(x = x)
mu: 0.2186
rho: 0.6995
sd: 0.8454
Call:
mle.wrappednormal(x = x, mu = circular(0))
mu: 0
rho: 0.683
sd: 0.8732
mu is known
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.