sim_scenario2: Setting for Scenario 2 of the Simulation Study

Description Usage Format Details Examples

Description

Setting for Scenario 2 of the Simulation Study

Usage

1

Format

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

Details

This is a simulated scenario considered in De Vito et al. (2020). The scenario considers seven different studies, with three common factors and sixty genes (variables). The sample size of each study is respectively (10, 15, 12, 14, 11, 11, 13).

Examples

 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(10, 15, 12, 14, 11, 11, 13)
theta <- rep(0, length = p)
Phi_sc2 <- data_scenario2$Phi
Phi_sd_sc2 <- data_scenario2$Phi_sd
Phi_op_sc2 <- data_scenario2$Phi_op
RV_sd_sc2 <- data_scenario2$RV_sd
RV_op_sc2 <- data_scenario2$RV_op
## End(Not run)

rdevito/MSFA documentation built on March 18, 2020, 2:57 p.m.