Simulation Model
sim1.RdThree sets of variables are calculated: explanatory, intermediate and response variables.
Details
Explanatory, intermediate and response variables are bivariate variables.
Let one explanatory variable be denoted by x and one intermediate variable
be denoted by w respectively.
10 explanatory and 10 intermediate variables are simulated, which define one
response variable z. The probability tau describes the connection between
one explanatory and one intermediate variable:
tau := P(w=0|x=1) = P(w=1|x=0).
Value
A list of three sets of variables
- X
N*10 matrix of 10 explanatory variables.
- Y
N*10 matrix of 10 intermediate variables.
- zr
response vector.