data {spinBayes}R Documentation

simulated data for demonstrating the features of BVCfit

Description

Simulated gene expression data for demonstrating the features of BVCfit.

Usage

data("gExp")
data("gExp.new")
data("gExp.L")

Format

gExp consists of five components: X, Y, Z, E and clin. gExp.new contains the data of new observations (X.new, Y.new, Z.new, E.new and clin.new) which can be used for evaluating the prediction performance.

gExp.L contains larger datasets: X2, Y2, Z2, E2 and clin2

Details

the same true model is used for generating Y, Y.new and Y2

Y=β0(Z)+β1(Z)X1+β2(Z)X2+1.5X3X5+1.3E1.2EX2+1.3EX4clin1+1.5clin2+ϵY = \beta_{0}(Z)+\beta_{1}(Z)X_{1} + \beta_{2}(Z)X_{2} + 1.5X_{3} - X_{5} + 1.3E - 1.2 EX_{2}+1.3 EX_{4} - clin_{1} + 1.5 clin_{2} + \epsilon

where ϵN(0,1)\epsilon\sim N(0,1), β0=2sin(0.2πZ)\beta_{0}=2\sin(0.2\pi*Z), β1=2exp(0.2Z1)\beta_{1}=2\exp(0.2Z-1) and β2=0.6Z(10.1Z)\beta_{2}=-0.6Z(1-0.1Z)

See Also

BVCfit

Examples

data(gExp)
dim(X)

data(gExp.L)
dim(X)


[Package spinBayes version 0.2.1 Index]