logit.coord: Assuming a logistic model for the response, allocate...

Description Usage Arguments Value

View source: R/logistic.R

Description

Assuming a logistic model for the response, allocate treatments using a coordinate exchange algorithm according to an information matrix-based optimality criterion. Responses are simulated assuming the true parameter values.

Usage

1
2
logit.coord(covar, beta, k, int = NULL, code = NULL, lossfunc = calc.y.D,
  ...)

Arguments

covar

a dataframe for the covariates

beta

an estimate for the true values of beta

k

an integer for the number of "outer loops"

int

set to T if you allow for treatment-covariate interactions in the model, NULL otherwise

code

set to NULL if (-1,1) coding is used for the treatments. Set to 0 if (0, 1) is used.

lossfunc

the objective function to minimize

...

further arguments to be passed to <lossfunc>

Value

design matrix D


mst1g15/biasedcoin documentation built on Nov. 26, 2019, 4:01 a.m.