rExamples2D {pdSpecEst} | R Documentation |
Several example surfaces of HPD matrices
Description
rExamples2D()
generates several example (locally) smooth target surfaces of HPD matrices corrupted by
noise in a manifold of HPD matrices for testing and simulation purposes. For more details, see also Chapter 2 and 5 in
(Chau 2018).
Usage
rExamples2D(n, d = 2, example = c("smiley", "tvar", "facets", "peak"),
replicates = 1, noise = "riem-gaussian", noise.level = 1,
df.wishart = NULL)
Arguments
n |
integer vector |
d |
row- (resp. column-)dimension of the generated matrices. Defaults to |
example |
the example target HPD matrix surface, one of |
replicates |
a positive integer specifying the number of replications of noisy HPD matrix surfaces to be generated based on the
target surface of HPD matrices. Defaults to |
noise |
noise distribution for the generated noisy surfaces of HPD matrices, one of |
noise.level |
parameter to tune the signal-to-noise ratio for the generated noisy HPD matrix observations.
If |
df.wishart |
optional parameter to specify the degrees of freedom in the case of a Wishart noise distribution ( |
Details
The examples include: (i) a (d,d)
-dimensional 'smiley'
HPD matrix surface consisting of constant surfaces of random HPD matrices in
the shape of a smiley face; (ii) a (d,d)
-dimensional 'tvar'
HPD matrix surface generated from a time-varying vector-auto-
regressive process of order 1 with random time-varying coefficient matrix (\Phi
); (iii) a (d,d)
-dimensional 'facets'
HPD matrix
surface consisting of several facets generated from random geodesic surfaces; and (iv) a (d,d)
-dimensional 'peak'
HPD matrix surface
containing a pronounced peak in the center of its 2-d (e.g., time-frequency) domain.
In addition to the (locally) smooth target surface of HPD matrices, the function also returns a noisy version of the target surface of HPD matrices, corrupted
by a user-specified noise distribution. By default, the noisy HPD matrix observations follow an intrinsic signal plus i.i.d. noise model with
respect to the affine-invariant Riemannian metric, with a matrix log-Gaussian noise distribution (noise = 'riem-gaussian'
), such that the
Riemannian Karcher means of the observations coincide with the target surface of HPD matrices. Additional details can be found in Chapters 2, 3,
and 5 of (Chau 2018). Other available signal-noise models include: (ii) a Log-Euclidean signal plus i.i.d. noise model, with
a matrix log-Gaussian noise distribution (noise = 'log-gaussian'
); (iii) a Riemannian signal plus i.i.d. noise model, with a complex
Wishart noise distribution (noise = 'wishart'
); (iv) a Log-Euclidean signal plus i.i.d. noise model, with a complex Wishart noise
distribution (noise = 'log-wishart'
).
Value
Returns a list with two components:
f |
a ( |
P |
a ( |
References
Chau J (2018). Advances in Spectral Analysis for Multivariate, Nonstationary and Replicated Time Series. phdthesis, Universite catholique de Louvain.
See Also
Examples
example <- rExamples2D(n = c(32, 32), example = "smiley")