Dopt.y.t.init: Given an initial design and assuming logistic regression,...

Description Usage Arguments Value

View source: R/logistic.R

Description

Given an initial design and assuming logistic regression, compute the D-optimal objective function (to be used in conjunction with optim)

Usage

1
Dopt.y.t.init(t, z, int, beta, epsilon = 1e-05)

Arguments

t

vector of treatments

z

vector of covariate values

int

set to TRUE if treatment-covariate interactions are included in the model

beta

current estimate of regression parameters

epsilon

a small real number used for regularization. If set to zero, no regularization takes place

Value

value of the D-optimal objective function


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