Description Usage Arguments Value References Examples
mvr returns multivariate regressograms for multivariate longitudinal data with j outcomes.
1 |
data |
a data frame (or matrix) with n rows for subjects and T columns for the repeated measurements. |
time |
a vector with T equally or unequally spaced time points. |
j |
a positive integer for the number of outcomes. |
N |
a positive integer for the number of subjects. |
inno |
a logical indicating if elements of innovation variance matrices be used innovariogram plot. The default is FALSE. |
inverse |
a logical indicating if elements of inverse innovation variance matrices be used innovariogram plot. The default is FALSE. |
loginno |
a logical indicating if elements of log innovation variance matrices be used innovariogram plot. The default is TRUE. |
plot |
logical indicating whether multivariate regressograms are returned or not. The default is TRUE. |
pch.plot |
a integer indicating type of symbols to be used in multivariate regressograms. The default is 19 for a solid dot. |
par1.r |
a positive integer indicating number of rows in multiple regressogram plots. The default is 2. |
par2.r |
a positive integer indicating number of columns in multiple regressogram plots. The default is 2. |
par1.d |
a positive integer indicating number of rows in multiple innovariogram plots. The default is 2. |
par2.d |
a positive integer indicating number of columns in multiple innovariogram plots. The default is 2. |
Multivariate regressograms are returned and following elements of modified Cholesky block decomposition:
Phit are the correlation coefficient matrices obtained from sample covariance matrix.
Phi.plot the elements from jXj Phit matrices obtained from sample covariance matrix. This is in a list format where each element of the list represents elements for each regressogram plot.
D.elements are the innovation variance matrices obtained from sample covariance matrix. This is in matrix format where each row represents the elements for each innovariogram plot. These elements are not plotted by default.
Dinv.elements are the inverse innovation variance matrices obtained from sample covariance matrix. This is in matrix format where each row represents the elements for each innovariogram plot. These elements are not plotted by default.
logD.elements are the log innovation variance matrices obtained from sample covariance matrix. This is in matrix format where each row represents the elements for each innovariogram plot. These elements are plotted by default.
Kohli, P. Garcia, T. and Pourahmadi, M. 2016 Modeling the Cholesky Factors of Covariance Matrices of Multivariate Longitudinal Data, Journal of Multivariate Analysis, 145, 87-100.
Kohli, P. Du, X. and Shen, H. 2020+ Multivariate Longitudinal Graphical Models (MLGM): An R Package for Visualizing and Modeling Mean and Dependence Patterns in Multivariate Longitudinal Data, submitted.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.