Description Usage Arguments Details Value Author(s) See Also Examples
Generates simple bootstrap confidence intervals for the parameters of a von Mises distribtution: the mean direction mu, and the concentration parameter kappa.
1 2 3 4 |
x |
vector of angular measurements as a |
mu |
If |
bias |
logical, if |
alpha |
parameter determining level of confidence intervals. 1-alpha confidence intervals for |
reps |
number of resampled data sets to use. Default is 1000. |
control.circular |
the attribute of the resulting objects ( |
... |
arguments passed to |
Percentile confidence intervals are computed by resampling from the original data set reps
times. For each resampled data set, the MLE's of mu and kappa are computed. The bootstrap confidence intervals are the alpha/2 and 1-alpha/2 percentiles of the reps
MLE's computed for each resampled data set.
A list is returned with the following components:
mu.ci |
limits of the confidence interval for mu as a |
kappa.ci |
limits of the confidence interval for kappa. |
mu |
estimate of mu as a |
kappa |
estimate of kappa. |
Claudio Agostinelli and Ulric Lund
1 2 3 4 5 | x <- rvonmises(n=25, mu=circular(0), kappa=3)
x.bs <- mle.vonmises.bootstrap.ci(x, alpha=.10)
par(mfcol=c(1,2))
rose.diag(x.bs$mu, bins=30, main=expression(mu))
hist(x.bs$kappa, main=expression(kappa))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.