drawBetaLambdaIndicesSF: Draw Indices for beta and lambda coefficients

Description Usage Arguments Details

View source: R/draw_indic_beta_lambda.R

Description

Internal. draw_indic_beta_lambda draws beta coefficients for the outcome models (y) and lambda parameters for shared factor modelling.

Usage

1
2
drawBetaLambdaIndicesSF(y, X, sgma2, delta, deltafix, omega1, omega2, dy,
  invB0, isel, fix.beta = FALSE)

Arguments

y

outcome vector

X

data matrix

sgma2

variance

delta

vector of indices which model parameters are exposed to the spike and slab variable selection process

deltafix

vector indicating which variables are fixed

omega1

omega parameter of beta

omega2

omega parameter of lambda

dy

dimension of outcome

invB0

startvalue matrix of beta coefficients

isel

indicator whether selection is performed

Details

y....Tn x1 ...response from fixed effects model x .... nx 1 ... treatments X ....Tn x df regressor matrix


PatrickPfeifferDSc/bite documentation built on Aug. 22, 2019, 9:57 a.m.