Function to simulate data with treatment assignments from Covariate Adaptive Randomization Scheme
1 2 | simulatedata.car(mean.x, mean.y, sigma0, sigma, rho, tau1, tau2, beta0,
beta1, treat, covValues)
|
sigma0 |
sigma0 in the bivariate normal distribution |
sigma |
sigma in bivariate normal distribution |
rho |
rho in bivariate normal distribution |
tau1 |
Tau1 is the weight on the first covariate |
tau2 |
Tau2 is the weight on the second covariate |
treat |
List containing the treatment assignments and the base matrix |
covValues |
covValues is the dummy variable matrix from the covariate values |
mean.s |
Mean of the short term response |
mean.t |
Mean long-term response |
data |
Is the data from the previous analysis if applicable. The default is NULL |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.