Caculates the t-values for X_i in :
Y \sim N(X_i \beta_i + X \gamma, \sigma_Y^2 I_n \times n)
\gamma \sim N(u, \tau^2 I_p \times p)
u = [u_1,...,u_n_c]
u_i \sim N(\mu_0, \sigma^2_u 1
gettvaluesCond2(
index,
Y,
X,
model = c("simple", "constant"),
betas = NULL,
nc = NULL,
theta = NULL,
X_rem = NULL,
SVDX = NULL
)
\itemindex- (p_1 x 1) vector of position where to calc t-values
\itemY- (n x 1) observations
\itemX- (n x p) covariates
\itemmodel- (string)
simple - simpliefed model (sigma^2_u = 0)
constant - the full model
\itemnc- (int) number of chromosones
\itemtheta- (k x 1) parameters of the model if NULL estimated from data
\itemXSVD- (list) singular value decomposition of X
t - (p x 1) vector of the t-values
Caculates the t-values for X_i in :
Y \sim N(X_i \beta_i + X \gamma, \sigma_Y^2 I_n \times n)
\gamma \sim N(u, \tau^2 I_p \times p)
u = [u_1,...,u_n_c]
u_i \sim N(\mu_0, \sigma^2_u 1