Description Usage Arguments Details Value Author(s) References See Also Examples
View source: R/wle.wrappednormal.R
Computes the weighted likelihood estimates for the parameters of a Wrapped Normal distribution: the mean direction and the concentration parameter (and the scale parameter).
1 2 3 4 5 6 7 | wle.wrappednormal(x, mu, rho, sd, K, boot = 30, group, num.sol = 1, raf = "HD",
smooth = 0.0031, tol = 10^(-6), equal = 10^(-3), min.sd = 0.001,
min.k = 10, max.iter = 100, use.smooth = TRUE, alpha=NULL, p = 2,
verbose = FALSE, control.circular=list())
## S3 method for class 'wle.wrappednormal'
print(x, digits = max(3, getOption("digits") - 3), ...)
|
x |
a vector. The object is coerced to class
|
mu |
if a values if provided the parameter is considered known. |
rho |
if a values if provided the parameter (and |
sd |
if a values if provided the parameter (and |
K |
number of elements used to approximate the density of the wrapped normal. |
boot |
the number of starting points based on boostrap subsamples to use in the search of the roots. |
group |
the dimension of the bootstap subsamples. |
num.sol |
maximum number of roots to be searched. |
raf |
type of Residual adjustment function to be use:
|
smooth |
the value of the smoothing parameter. |
tol |
the absolute accuracy to be used to achieve convergence of the algorithm. |
equal |
the absolute value for which two roots are considered the
same. (This parameter must be greater than |
min.sd |
minimum value for the |
min.k |
minimum number of elements used to approximate the density of the wrapped normal. |
max.iter |
maximum number of iterations. |
use.smooth |
logical, if |
alpha |
if not |
p |
this parameter works only when |
verbose |
logical, if |
control.circular |
the attribute of the resulting objects ( |
digits |
integer indicating the precision to be used. |
... |
further parameters in |
Parameters p
and raf
will be change in the future. See
the reference below for the definition of all the RAF.
Returns a list with the following components:
call |
the match.call(). |
mu |
the estimate of the mean direction or the value supplied. If
|
rho |
the estimate of the concentration parameter or the
value supplied. If |
sd |
the estimate of the standard deviation parameter or the
value supplied. If |
tot.weights |
the sum of the weights divide by the number of observations, one value for each root found. |
weights |
the weights associated to each observation, one column vector for each root found. |
f.density |
the non-parametric density estimation. |
m.density |
the smoothed model. |
delta |
the Pearson residuals. |
tot.sol |
the number of solutions found. |
not.conv |
the number of starting points that does not converge after the |
Claudio Agostinelli
C. Agostinelli. Robust estimation for circular data. Computational Statistics & Data Analysis, 51(12):5867-5875, 2007.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.