Fit BMSFA all-at-once If post_fit0 is NULL, fit an initial BMSFA with given k and j_s, then automatically select the number of factors and refit. Otherwise, use the post_fit0 then select the number of factors and refit.
Source: R/bmsfa.R
fit_bmsfa_2step.RdFit BMSFA all-at-once
If post_fit0 is NULL, fit an initial BMSFA with given k and j_s, then automatically select
the number of factors and refit.
Otherwise, use the post_fit0 then select the number of factors and refit.
Arguments
- Y_list
Data list.
- post_fit0
Post-processed initial fit (or NULL).
- k
Initial number of common factors (if
post_fit0is NULL).- j_s
Initial study-specific factors (if
post_fit0is NULL).- cutoff
Eigen proportion cutoff.
- ...
Passed to
fit_bmsfa().