sp_msfa_control: Auxiliary function for 'sp_msfa'.

Description Usage Arguments References

View source: R/Bayesian.R

Description

Set parameters for posterior sampling and prior hyperparameters for the Bayesian MSFA model for sparse setting. The notation follows closely the paper by De Vito et al. (2020).

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
sp_msfa_control(
  nrun = 30000,
  burn = 20000,
  thin = 1,
  nu = 3,
  nus = 3,
  a1 = 1.1,
  b1 = 1,
  a2 = 1.1,
  b2 = 1,
  a1s = 1.1,
  b1s = 1,
  a2s = 2.1,
  b2s = 1,
  apsi = 1,
  bpsi = 0.3
)

Arguments

nrun

Number of posterior simulations. Default is 30000.

burn

Burn-in trials. Default is 20000.

thin

Thinning of posterior samples. Default is 1 (no thinning).

nu

Parameter entering the gamma distribution assumed for omega. Default is 3.

nus

Parameter entering the gamma distribution assumed for omegas. Default is 3.

a1

Shape parameter for the gamma distribution assumed for delta1. Default is 1.1.

b1

Scale parameter for the gamma distribution assumed for delta1. Default is 1.

a2

Shape parameter for the gamma distribution assumed for deltal. Default is 1.1.

b2

Scale parameter for the gamma distribution assumed for deltal. Default is 1.

a1s

Shape parameter for the gamma distribution assumed for delta1_s. Default is 1.1.

b1s

Scale parameter for the gamma distribution assumed for delta1_s. Default is 1.

a2s

Shape parameter for the gamma distribution assumed for deltal_s. Default is 2.1.

b2s

Scale parameter for the gamma distribution assumed for deltal_s. Default is 1.

apsi

Shape parameter for the gamma distribution assumed for 1/psi. Default is 1.

bpsi

Scale parameter for the gamma distribution assumed for 1/psi. Default is 0.3.

References

De Vito, R., Bellio, R., Trippa, L. and Parmigiani, G. (2020). Bayesian Multi-study Factor Analysis for High-throughput Biological Data. Submitted manuscript.


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