Dopt.y.t: Given a design matrix with an additional row, and assuming...

Description Usage Arguments Value

View source: R/logistic.R

Description

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

Usage

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

Arguments

t

new treatment

D

current deisgn matrix

z

covariate values of new unit

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.