Generates simple bootstrap confidence intervals for the parameters of a von Mises distribtution: the mean direction mu, and the concentration parameter kappa.
Usage
mle.vonmises.bootstrap.ci(x, mu, bias = FALSE, alpha = 0.05, reps = 1000)
## S3 method for class 'mle.vonmises.bootstrap.ci':
print(x, \dots)
Arguments
x
vector of angular measurements in radians.
mu
bias
logical, if TRUE, the replication estimates for kappa are computed with a bias corrected method. See mle.vonmises. Default is FALSE, i.e. no bias correction.
alpha
parameter determining level of confidence intervals. 1-alpha confidence intervals for mu and kappa are computed. By default, 95% confidence intervals are generated.
reps
number of resampled data sets to use. Default is 1000.
kappa.cilimits of the confidence interval for kappa
muestimate of mu
kappaestimate of kappa
Details
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.