approxMleWn1D | R Documentation |
Approximate Maximum Likelihood Estimation (MLE) for the Wrapped Normal (WN) in 1D using the wrapped Ornstein–Uhlenbeck diffusion.
approxMleWn1D(data, delta, start, alpha = NA, mu = NA, sigma = NA,
lower = c(0.01, -pi, 0.01), upper = c(25, pi, 25), vmApprox = FALSE,
maxK = 2, ...)
data |
a matrix of dimension |
delta |
discretization step. |
start |
starting values, a matrix with |
alpha , mu , sigma |
if their values are provided, the likelihood function
is optimized with respect to the rest of unspecified parameters. The number
of elements in |
lower , upper |
bound for box constraints as in method |
vmApprox |
flag to indicate von Mises approximation to wrapped normal.
See |
maxK |
maximum absolute winding number used if |
... |
further parameters passed to |
See Section 3.3 in García-Portugués et al. (2019) for details.
Output from mleOptimWrapper
.
García-Portugués, E., Sørensen, M., Mardia, K. V. and Hamelryck, T. (2019) Langevin diffusions on the torus: estimation and applications. Statistics and Computing, 29(2):1–22. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1007/s11222-017-9790-2")}
alpha <- 0.5
mu <- 0
sigma <- 2
samp <- rTrajWn1D(x0 = 0, alpha = alpha, mu = mu, sigma = sigma, N = 1000,
delta = 0.1)
approxMleWn1D(data = samp, delta = 0.1, start = c(alpha, mu, sigma))
approxMleWn1D(data = samp, delta = 0.1, sigma = sigma, start = c(alpha, mu),
lower = c(0.01, -pi), upper = c(25, pi))
approxMleWn1D(data = samp, delta = 0.1, mu = mu, start = c(alpha, sigma),
lower = c(0.01, 0.01), upper = c(25, 25))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.