Mean outcome in each of the 2^k treatment
combinations.
sd
Standard deviation of every potential outcome, used when
outcome_sds is not supplied.
outcome_sds
Standard deviation of the outcome in each of the 2^k
treatment combinations.
assignment_probs
Probability of assignment to each factor (length
k).
outcome_name
Name of the outcome variable.
treatment_names
Names of the k factors. NULL gives T1, ...,
Tk.
args_to_fix
Ignored. Present for compatibility with DesignLibrary 0.1.
Details
Each of k factors is assigned with its own probability, and each of the
2^k treatment combinations has its own normally distributed potential
outcome. The inquiries are the overall average, the average effect of each
factor, and every interaction, each averaged with equal weight over the
conditions of the other factors. The estimator regresses the outcome on the
full interaction of the treatments centered at 0.5, weighted by the inverse
probability of the assigned combination, so the intercept estimates the
overall average and each coefficient an average effect. Argument names
match DesignLibrary 0.1's factorial_designer.
outcome_means and outcome_sds follow the row order of
expand.grid(rep(list(c(0, 1)), k)), in which the first factor varies
fastest.