Description Usage Format Details Examples
Setting for Scenario 3 of the Simulation Study
1 |
Phi: the true common factor loading matrix
Phi_sd: the estimated common factor loading matrix using the SD method, as defined in De Vito et al. (2020)
Phi_op: the estimated common factor loading matrix using the OP method, as defined in De Vito et al. (2020)
RV_op: the RV coefficient between the estimated OP common factor loadings and the true common factor loadings over 50 datasets
RV_sd: the RV coefficient between the estimated SD common factor loadings and the true common factor loadings over 50 datasets
This is a simulated scenario considered in De Vito et al. (2020). The scenario considers seven different studies, with five common factors and sixty genes (variables). The sample size of each study is respectively (25, 30, 50, 90, 20, 96, 43).
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## Not run:
The commands below illustrate the settings of Scenario 2 and how to access the
common factor loading matrix (true and estimated ones), and how to access the
RV coefficients.
S <- 7
p <- 60
k <- 3
j_s <- rep(1, 7)
n_s <- c(25, 30, 50, 90, 20, 96, 43)
theta <- rep(0, length = p)
Phi_sc3 <- data_scenario3$Phi
Phi_sd_sc3 <- data_scenario3$Phi_sd
Phi_op_sc3 <- data_scenario3$Phi_op
RV_sd_sc3 <- data_scenario3$RV_sd
RV_op_sc3 <- data_scenario3$RV_op
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.