estimate_sample_moments | R Documentation |
Estimate first four moments of multivariate observations, namely, mean vector, covariance matrix, coskewness matrix, and cokurtosis matrix.
estimate_sample_moments(X, adjust_magnitude = FALSE)
X |
Data matrix. |
adjust_magnitude |
Boolean indicating whether to adjust the order of magnitude of parameters.
Note: this is specially designed for the function |
A list containing the following elements:
|
Mean vector. |
|
Covariance matrix. |
|
Co-skewness matrix. |
|
Co-kurtosis matrix. |
|
Co-skewness matrix in vector form (collecting only the unique elements). |
|
Co-kurtosis matrix in vector form (collecting only the unique elements). |
|
Partition on |
|
Partition on |
Rui Zhou and Daniel P. Palomar
R. Zhou and D. P. Palomar, "Solving High-Order Portfolios via Successive Convex Approximation Algorithms," in IEEE Transactions on Signal Processing, vol. 69, pp. 892-904, 2021. <doi:10.1109/TSP.2021.3051369>.
library(highOrderPortfolios) data(X50) X_moments <- estimate_sample_moments(X50[, 1:10])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.