Fits a Bayesian factor model with interactions
fin_wrapper(y, x, args = list(nrun = 2000))
A list of vectors whose values are between 0 and 1
The smallest posterior probability of the coefficients being to one side of zero for either main effect or interaction: min(Pr(beta >0), Pr(beta<0)).
The smaller of posterior probability of the main effects being to one side of zero.
Same as linear_beta but for pair-wise interactions.
elapsed time to fit the model.
A vector of outcome
A matrix of predictors
A list of arguments see R function `infinitefactor::interactionDL()` in 'infinitefactor' package.
Ferrari F, Dunson DB (2020). “Bayesian factor analysis for inference on interactions.”Journal of the American Statistical Association, 0(0), 1–12.