| env.historical {cfma} | R Documentation |
Simulated data from the historical influence mediation model
Description
"env.historical" is an R environment containing the data generated from a historical influence mediation model.
Usage
data("env.historical")
Format
An R environment
Za
n\times Tdata matrix, treatment trajectory ofnsubjects forTtime points.Ma
n\times Tdata matrix, mediator trajectory ofnsubjects forTtime points.Ya
n\times Tdata matrix, outcome trajectory ofnsubjects forTtime points.alphaa
T\times Tmatrix model coefficient.betaa
T\times Tmatrix model coefficient.gammaa
T\times Tmatrix model coefficient.
Details
The data was generated from the historical influence mediation model
M(t)=\int_{\Omega_{t}^{1}}Z(s)\alpha(s,t)ds+\epsilon_{1}(t),
Y(t)=\int_{\Omega_{t}^{2}}Z(s)\gamma(s,t)ds+\int_{\Omega_{t}^{3}}M(s)\beta(s,t)ds+\epsilon_{2}(t),
where \alpha(s,t), \beta(s,t), \gamma(s,t) are coefficient curves; \Omega_{t}^{j}=[(t-\delta_{j})\vee 0,t] for j=1,2,3. Z(t) is the convolution of hemodynamic response function (HRF) and event onsets.
Examples
data(env.historical)
Z<-get("Z",env.historical)
M<-get("M",env.historical)
Y<-get("Y",env.historical)