Description Usage Arguments Value
Calculate expected optimality for a given trajectory using sequential approach. We assume a linear model for the response.
1 |
D.fix |
Design matrix constructed using the true covariates in the experiment so far |
n.r |
length of trajectory to be simulated |
sim |
number of trajectories to simulate |
int |
set to T if you allow for treatment-covariate interactions in the model, NULL otherwise |
z.probs |
vector of probabilities for each level of covariate z |
lossfunc |
the objective function to minimize |
... |
further arguments to be passed to <lossfunc> |
loss of the design matrix which includes trajectory
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.